From: Andrew Schoen Date: Tue, 3 Mar 2015 22:38:10 +0000 (-0600) Subject: Fixes #11013, use time.sleep instead of manager.sleep which isn't there. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d16fa4d5a00747126282d9212666245e3387ad80;p=ceph.git Fixes #11013, use time.sleep instead of manager.sleep which isn't there. Signed-off-by: Andrew Schoen (cherry picked from commit 811c02e3922c4ae29c09bb5f7b48840d0eced951) --- diff --git a/tasks/lost_unfound.py b/tasks/lost_unfound.py index a3f66e5fefa2..bf209a37090b 100644 --- a/tasks/lost_unfound.py +++ b/tasks/lost_unfound.py @@ -2,6 +2,7 @@ Lost_unfound """ import logging +import time import ceph_manager from teuthology import misc as teuthology from util.rados import rados @@ -28,7 +29,7 @@ def task(ctx, config): ) while len(manager.get_osd_status()['up']) < 3: - manager.sleep(10) + time.sleep(10) manager.raw_cluster_cmd('tell', 'osd.0', 'flush_pg_stats') manager.raw_cluster_cmd('tell', 'osd.1', 'flush_pg_stats') manager.raw_cluster_cmd('tell', 'osd.2', 'flush_pg_stats')