Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
The code for both "lctl network down" and "lnetctl net unconfigure" was written assuming the network was originally brought up using either "lctl network configure" or "lnetctl net configure". If the network came up as part of a mount or "modprobe lustre", there is a flag which does not get set thereby preventing lctl or lnetctl from bringing down the network.
This enforces a restriction that the mechanism which configures the network is the same one which unconfigures the network. I see no reason for that restriction. It is confusing and should not be there.
This ticket has been opened to change that part of the code to let us switch to a different mechanism to unconfigure from the one used to configure. Otherwise, debugging in the field is just no fun!