mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
ceph_manager: take int or string to osd_admin_socket
This fixes a failure on dump_stuck.
This commit is contained in:
parent
3fbb552240
commit
561ea14c6e
@ -270,7 +270,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, 'osd'):
|
||||
if int(id_) == osdnum:
|
||||
if int(id_) == int(osdnum):
|
||||
remote = _remote
|
||||
assert remote is not None
|
||||
args=[
|
||||
|
Loading…
Reference in New Issue
Block a user