mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
tasks/ceph: make wait_for_osds_up cluster-aware
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
parent
ef619062be
commit
bb76deaf57
@ -1127,7 +1127,8 @@ def wait_for_osds_up(ctx, config):
|
||||
:param config: Configuration
|
||||
"""
|
||||
log.info('Waiting until ceph osds are all up...')
|
||||
firstmon = teuthology.get_first_mon(ctx, config)
|
||||
cluster_name = config.get('cluster', 'ceph')
|
||||
firstmon = teuthology.get_first_mon(ctx, config, cluster_name)
|
||||
(mon0_remote,) = ctx.cluster.only(firstmon).remotes.keys()
|
||||
teuthology.wait_until_osds_up(
|
||||
ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user