[LU-11954] lnetctl net declares success upon failure Created: 11/Feb/19  Updated: 12/Feb/19

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stephen Champion Assignee: Sonia Sharma (Inactive)
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I am writing a script, and needed to test if lnet was configured.  I thought a quick way would be lnetctl net show, but:

{{
[root@oss1 ~]# rpm -q lustre
lustre-2.12.0-1.el7.x86_64
[root@oss1 ~]# lsmod | grep lnet
[root@oss1 ~]# lnetctl net show
opening /dev/lnet failed: No such file or directory
}}

I would expect a non-zero return for this case.



 Comments   
Comment by Peter Jones [ 12/Feb/19 ]

Sonia

Could you please assist?

Thanks

Peter

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