]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: `orch host ls` now returns hostnames 33258/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 21 Feb 2020 09:24:31 +0000 (10:24 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 21 Feb 2020 09:24:31 +0000 (10:24 +0100)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
qa/tasks/cephadm.py

index 25d80f91dd3923349058e786735c8478f6e311ec..e234d17eec1f6464c434caa60b1c13f35cee1923 100644 (file)
@@ -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