From: Sage Weil Date: Thu, 7 Feb 2013 01:14:24 +0000 (-0800) Subject: ceph_manager: take int or string to osd_admin_socket X-Git-Tag: 1.1.0~2323^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=561ea14c6e93afdd9be20252d28c26a47c8bc40a;p=teuthology.git ceph_manager: take int or string to osd_admin_socket This fixes a failure on dump_stuck. --- diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index d9008004f6..67d8b47489 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -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=[