From 561ea14c6e93afdd9be20252d28c26a47c8bc40a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 6 Feb 2013 17:14:24 -0800 Subject: [PATCH] ceph_manager: take int or string to osd_admin_socket This fixes a failure on dump_stuck. --- teuthology/task/ceph_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index d9008004f6c..67d8b47489d 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=[