From 9da7e63c641d343853ed83bb22490cb6af1f3d6d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 8 Aug 2017 12:08:31 -0400 Subject: [PATCH] qa/tasks/ceph.py: tolerate flush pg stats exception If the OSD doesn't see IO, it won't flush more pg/osd stats when the luminous flag is not yet set (legacy pgmonitor mode). Signed-off-by: Sage Weil --- qa/tasks/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 04f5737bc68d..358ec8d648e9 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -1248,8 +1248,8 @@ def healthy(ctx, config): try: manager.flush_all_pg_stats() - except run.CommandFailedError: - log.info('ignoring flush pg stats error, probably testing upgrade') + except (run.CommandFailedError, Exception) as e: + log.info('ignoring flush pg stats error, probably testing upgrade: %s', e) manager.wait_for_clean() log.info('Waiting until ceph cluster %s is healthy...', cluster_name) -- 2.47.3