mirror of https://github.com/ceph/ceph-ansible.git
tests: fix brokens tests for mds
5968cf0
broke the test on mds because of leftover.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1976/head
parent
8fac8f54a6
commit
cdb5023d84
|
@ -30,7 +30,6 @@ class TestMDSs(object):
|
||||||
@pytest.mark.docker
|
@pytest.mark.docker
|
||||||
def test_docker_mds_is_up(self, node, host):
|
def test_docker_mds_is_up(self, node, host):
|
||||||
hostname = node["vars"]["inventory_hostname"]
|
hostname = node["vars"]["inventory_hostname"]
|
||||||
hostname = node["groups"]["mons"][0]["inventory_hostname"]
|
|
||||||
cmd = "sudo docker exec ceph-mds-{hostname} ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/{cluster}.keyring --cluster={cluster} --connect-timeout 5 -f json -s".format(
|
cmd = "sudo docker exec ceph-mds-{hostname} ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/{cluster}.keyring --cluster={cluster} --connect-timeout 5 -f json -s".format(
|
||||||
hostname=node["vars"]["inventory_hostname"],
|
hostname=node["vars"]["inventory_hostname"],
|
||||||
cluster=node["cluster_name"]
|
cluster=node["cluster_name"]
|
||||||
|
|
Loading…
Reference in New Issue