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-Tag: v10.2.6~165^2^2~530^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=811c02e3922c4ae29c09bb5f7b48840d0eced951;p=ceph.git Fixes #11013, use time.sleep instead of manager.sleep which isn't there. Signed-off-by: Andrew Schoen --- diff --git a/tasks/lost_unfound.py b/tasks/lost_unfound.py index e9beac7c376..af1df4de0cb 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 @@ -29,7 +30,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')