mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
task: fix admin_socket for non-int ids
This was working for OSDs and for my config where MDS happened to have numeric ID, but in general service IDs are strings, not ints. Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
8bb77ed9e1
commit
785a272bab
@ -532,7 +532,7 @@ class CephManager:
|
||||
remote = None
|
||||
for _remote, roles_for_host in self.ctx.cluster.remotes.iteritems():
|
||||
for id_ in teuthology.roles_of_type(roles_for_host, service_type):
|
||||
if int(id_) == int(service_id):
|
||||
if id_ == str(service_id):
|
||||
remote = _remote
|
||||
assert remote is not None
|
||||
args = [
|
||||
|
Loading…
Reference in New Issue
Block a user