mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
qa: check replacement MDS is active in thrasher
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
parent
19289725c8
commit
8f3e745344
@ -175,7 +175,7 @@ class MDSThrasher(Greenlet):
|
||||
if rank is not None:
|
||||
try:
|
||||
info = status.get_rank(self.fs.id, rank)
|
||||
if info['gid'] != gid:
|
||||
if info['gid'] != gid and "up:active" == info['state']:
|
||||
self.log('mds.{name} has gained rank={rank}, replacing gid={gid}'.format(name = info['name'], rank = rank, gid = gid))
|
||||
return status, info['name']
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user