mirror of https://github.com/ceph/ceph-ansible.git
tests: use osd ids instead of device name in ooo_collocation
on master, it doesn't make sense anymore to use device name, we should
use osd id instead.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit b5a61fe2e3
)
pull/4666/head
parent
cd397590f6
commit
2fd51f8097
|
@ -60,12 +60,6 @@ def setup(host):
|
|||
if cmd.rc == 0:
|
||||
osd_ids = cmd.stdout.rstrip("\n").split("\n")
|
||||
osds = osd_ids
|
||||
if docker and fsid == "6e008d48-1661-11e8-8546-008c3214218a":
|
||||
osds = []
|
||||
for device in ansible_vars.get("devices", []):
|
||||
real_dev = host.run("sudo readlink -f %s" % device)
|
||||
real_dev_split = real_dev.stdout.split("/")[-1]
|
||||
osds.append(real_dev_split)
|
||||
|
||||
address = host.interface(public_interface).addresses[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue