Bug #10361
teuthology: only direct admin socket commands to active MDS
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Right now our flush and scrub asok command tests are directed at mds.a, but sometimes that's not the active MDS. Find a way to always direct them at the active MDS, whichever one it is.
Associated revisions
mds_scrub_checks: only direct ops at the active MDS
Change the config option from mds_id to mds_rank to reflect the
fact that it's the rank we want to make use of (and will continue
to want when we're doing stuff like force exporting from one rank
to another).
Fixes: #10361
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
History
#1 Updated by John Spray over 9 years ago
Filesystem::mds_asok would be a good place to put this
#2 Updated by John Spray about 9 years ago
Filesystem.get_active_names is in master now!
#3 Updated by Greg Farnum about 9 years ago
- Category set to Testing
- Status changed from New to In Progress
- Assignee set to Greg Farnum
Testing a quick fix.
#4 Updated by Greg Farnum about 9 years ago
- Status changed from In Progress to Fix Under Review
https://github.com/ceph/ceph-qa-suite/pull/316
Passed a local test, just running the scrub task against a cluster.
#5 Updated by Greg Farnum about 9 years ago
- Status changed from Fix Under Review to Resolved