[LU-9100] lctl network down shouldn't error with "LNET unconfigure error 19" Created: 09/Feb/17  Updated: 18/Mar/17  Resolved: 23/Feb/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: Giuseppe Di Natale (Inactive) Assignee: Sonia Sharma (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When lnet modules haven't been loaded, lctl network down returns with "LNET unconfigure error 19" and a non-zero return code. In this case, lctl should simply return an error code of 0 and a message stating lnet is not loaded.

Logically speaking, the network is already down because lnet isn't even loaded. There are also other places in init scripts where there is an active effort to ignore the error above. Seems to me lctl should just succeed in this case.



 Comments   
Comment by Gerrit Updater [ 09/Feb/17 ]

Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/25359
Subject: LU-9100 lnet: lctl net down success when lnet not loaded
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 49b509952600439db7b4c8d1e7e85707e5a0ea37

Comment by Peter Jones [ 10/Feb/17 ]

Sonia

Could you please review this proposed change?

Thanks

Peter

Comment by Gerrit Updater [ 23/Feb/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25359/
Subject: LU-9100 lnet: lctl net down success when lnet not loaded
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: db999716eee2ca09f7569d71cd960857ad5af0a7

Comment by Peter Jones [ 23/Feb/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:23:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.