mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
Merge pull request #16756 from liewegas/wip-20113
ceph: wait for maps before doing 'ceph tell ... help' Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
af145dd592
@ -355,6 +355,9 @@ def do_extended_help(parser, args, target, partial):
|
||||
partial=partial))
|
||||
|
||||
def help_for_target(target, partial=None):
|
||||
# wait for osdmap because we know this is sent after the mgrmap
|
||||
# and monmap (it's alphabetical).
|
||||
cluster_handle.wait_for_latest_osdmap()
|
||||
ret, outbuf, outs = json_command(cluster_handle, target=target,
|
||||
prefix='get_command_descriptions',
|
||||
timeout=10)
|
||||
|
Loading…
Reference in New Issue
Block a user