From 32295039d772e9091c587d6863224e8c9afaceb7 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 21 Feb 2020 10:24:31 +0100 Subject: [PATCH] qa/tasks/cephadm: `orch host ls` now returns hostnames Signed-off-by: Sebastian Wagner --- qa/tasks/cephadm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 25d80f91dd39..e234d17eec1f 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -424,7 +424,7 @@ def ceph_bootstrap(ctx, config): r = _shell(ctx, cluster_name, remote, ['ceph', 'orch', 'host', 'ls', '--format=json'], stdout=StringIO()) - hosts = [node['host'] for node in json.loads(r.stdout.getvalue())] + hosts = [node['hostname'] for node in json.loads(r.stdout.getvalue())] assert remote.shortname in hosts yield -- 2.47.3