-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
When lnetctl , lctl or lfs utilities are invoked in interactive mode, the first compound command works correctly however the subsequent commands fail():
[root@rocky96 wc-master]# ./lnet/utils/lnetctl
> net show
net:
- net type: lo
local NI(s):
- nid: 0@lo
status: up
- net type: tcp
local NI(s):
- nid: 192.168.50.90@tcp
status: up
interfaces:
0: eth1
> net show
usage: lt-lnetctl [COMMAND] [OPTIONS]... [ARGS]
Without any parameters, interactive mode is invoked
Try 'lt-lnetctl help <COMMAND>', or 'lt-lnetctl --list-commands' for a list of commands.
> net show --verbose
usage: lt-lnetctl [COMMAND] [OPTIONS]... [ARGS]
Without any parameters, interactive mode is invoked
Try 'lt-lnetctl help <COMMAND>', or 'lt-lnetctl --list-commands' for a list of commands.
> add
missing mandatory parameters in NI config: 'network'
>
the happens with lctl command, for example, nodemap info:
[root@rocky96 wc-master]# ./lustre/utils/lctl > nodemap info nodemap.active=0 nodemap.default.admin_nodemap=0 nodemap.default.audit_mode=1 nodemap.default.banlist=[] nodemap.default.child_raise_privileges=none nodemap.default.deny_mount=0 nodemap.default.deny_unknown=0 nodemap.default.dt_stats= ... nodemap.default.rbac=file_perms,dne_ops,quota_ops,byfid_ops,chlg_ops,fscrypt_admin,server_upcall,ignore_root_prjquota,hsm_ops,pool_quota_ops,lqa_quota_ops,projid_set,foreign_ops nodemap.default.readonly_mount=0 nodemap.default.squash_gid=65534 nodemap.default.squash_projid=65534 nodemap.default.squash_uid=65534 nodemap.default.trusted_nodemap=0 > nodemap info usage: lt-lctl nodemap [COMMAND] [OPTIONS]... [ARGS] Without any parameters, interactive mode is invoked Try 'lt-lctl nodemap help <COMMAND>', or 'lt-lctl nodemap --list-commands' for a list of commands. >
i.e. it is a common problem for the lustre interactive utilities.