From 3a07f2dc797f18c78e3b162ae5ee0a60f4d3ea72 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 11 Oct 2017 11:45:33 +0800 Subject: [PATCH] qa: s/backfill/backfilling/ it's renamed "backfilling" in 4015343f . Signed-off-by: Kefu Chai (cherry picked from commit e21114274f6a2742748a5a9b965d415241c80f3c) --- qa/tasks/ceph_manager.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index 974d35ea09d57..1f5f532de86b3 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -768,7 +768,7 @@ class Thrasher: osd_debug_skip_full_check_in_backfill_reservation to force the more complicated check in do_scan to be exercised. - Then, verify that all backfills stop. + Then, verify that all backfillings stop. """ self.log("injecting backfill full") for i in self.live_osds: @@ -780,13 +780,13 @@ class Thrasher: check_status=True, timeout=30, stdout=DEVNULL) for i in range(30): status = self.ceph_manager.compile_pg_status() - if 'backfill' not in status.keys(): + if 'backfilling' not in status.keys(): break self.log( - "waiting for {still_going} backfills".format( - still_going=status.get('backfill'))) + "waiting for {still_going} backfillings".format( + still_going=status.get('backfilling'))) time.sleep(1) - assert('backfill' not in self.ceph_manager.compile_pg_status().keys()) + assert('backfilling' not in self.ceph_manager.compile_pg_status().keys()) for i in self.live_osds: self.ceph_manager.set_config( i, @@ -2043,7 +2043,7 @@ class CephManager: for pg in pgs: if (pg['state'].count('active') and not pg['state'].count('recover') and - not pg['state'].count('backfill') and + not pg['state'].count('backfilling') and not pg['state'].count('stale')): num += 1 return num -- 2.39.5