From: Patrick Donnelly Date: Fri, 27 Jan 2017 17:54:39 +0000 (-0500) Subject: qa: allow revived MDS to be up:active X-Git-Tag: v12.0.1~155^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd4b61890de2e65e7959edbcbb8b9506cab37cea;p=ceph.git qa: allow revived MDS to be up:active Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/mds_thrash.py b/qa/tasks/mds_thrash.py index e6e5e08065f..da805ae3201 100644 --- a/qa/tasks/mds_thrash.py +++ b/qa/tasks/mds_thrash.py @@ -322,11 +322,11 @@ class MDSThrasher(Greenlet): raise RuntimeError('timeout waiting for MDS to revive') status = self.fs.status() info = status.get_mds(name) - if info and info['state'] in ('up:standby', 'up:standby-replay'): + if info and info['state'] in ('up:standby', 'up:standby-replay', 'up:active'): self.log('{label} reported in {state} state'.format(label=label, state=info['state'])) break self.log( - 'waiting till mds map indicates {label} is in standby or standby-replay'.format(label=label)) + 'waiting till mds map indicates {label} is in active, standby or standby-replay'.format(label=label)) time.sleep(2) for stat in stats: