From bb76deaf5784dfaf3a7ea0a7bb4a601f89d681d4 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 24 Mar 2016 20:22:16 -0700 Subject: [PATCH] tasks/ceph: make wait_for_osds_up cluster-aware Signed-off-by: Josh Durgin --- tasks/ceph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/ceph.py b/tasks/ceph.py index 8711c214a3fd7..92ebdbe1611c2 100644 --- a/tasks/ceph.py +++ b/tasks/ceph.py @@ -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, -- 2.39.5