$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['
1d5df33f-eb94-4a4f-b192-
1d5e770ed0e7', 'unknown']
$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['unknown', '
1d5df33f-eb94-4a4f-b192-
1d5e770ed0e7']
Signed-off-by: Michael Fritch <mfritch@suse.com>
fsids.add(daemon['fsid'])
elif daemon['name'] == args.name:
fsids.add(daemon['fsid'])
- fsids = list(fsids)
+ fsids = sorted(fsids)
if not fsids:
# some commands do not always require an fsid