[LU-11006] lnetctl export creates "peer" root with no peer Created: 08/May/18  Updated: 21/Jan/19  Resolved: 04/Sep/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.3
Fix Version/s: Lustre 2.12.0, Lustre 2.10.7

Type: Bug Priority: Minor
Reporter: Sonia Sharma (Inactive) Assignee: Sonia Sharma (Inactive)
Resolution: Fixed Votes: 0
Labels: lnet, lnetctl

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lnetctl export command creates a root entry in the YAML file for "peer" even when there are no peers.
This results in an erroneous return code from the function because of which "systectl enable lnet" or "systemctl start lnet" does not return successfully.



 Comments   
Comment by Gerrit Updater [ 08/May/18 ]

Sonia Sharma (sonia.sharma@intel.com) uploaded a new patch: https://review.whamcloud.com/32318
Subject: LU-11006 lnet: fix show peer yaml tree with no peer
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 7f00f51b270fcd47627d44a965c408f9019f51c6

Comment by Gerrit Updater [ 08/May/18 ]

Sonia Sharma (sonia.sharma@intel.com) uploaded a new patch: https://review.whamcloud.com/32320
Subject: LU-11006 lnet: fix show peer yaml tree with no peer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 64b0775d130edefe45bcbf42a6909f18c74caadc

Comment by Gerrit Updater [ 04/Sep/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32320/
Subject: LU-11006 lnet: fix show peer yaml tree with no peer
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 40295e5ca3e5ed51c8236a2e641627d687b7d59c

Comment by Peter Jones [ 04/Sep/18 ]

Landed for 2.12

Comment by Gerrit Updater [ 19/Jan/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32318/
Subject: LU-11006 lnet: fix show peer yaml tree with no peer
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 918c378fb4fb0a46b71ebf1cf5e1cec56538d93a

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