From: Sebastian Wagner Date: Fri, 21 Feb 2020 09:24:31 +0000 (+0100) Subject: qa/tasks/cephadm: `orch host ls` now returns hostnames X-Git-Tag: v15.1.1~321^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33258%2Fhead;p=ceph.git qa/tasks/cephadm: `orch host ls` now returns hostnames Signed-off-by: Sebastian Wagner --- 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