mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
qa/tasks/mon_seesaw: expect v1/v2 prefix in addr
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
55a9c7522f
commit
2f786f3299
@ -24,7 +24,7 @@ def _get_next_port(ctx, ip, cluster):
|
||||
used = []
|
||||
for name in teuthology.get_mon_names(ctx, cluster):
|
||||
addr = ctx.ceph[cluster].conf[name]['mon addr']
|
||||
mon_ip, mon_port = addr.split(':')
|
||||
addr_type, mon_ip, mon_port = addr.split(':')
|
||||
if mon_ip != ip:
|
||||
continue
|
||||
used.append(int(mon_port))
|
||||
|
Loading…
Reference in New Issue
Block a user