Project

General

Profile

Bug #10361

teuthology: only direct admin socket commands to active MDS

Added by Greg Farnum over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Testing
Target version:
-
Start date:
12/17/2014
Due date:
% 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:

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

Revision 8d2715eb (diff)
Added by Greg Farnum over 4 years ago

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 <>

History

#1 Updated by John Spray over 4 years ago

Filesystem::mds_asok would be a good place to put this

#2 Updated by John Spray over 4 years ago

Filesystem.get_active_names is in master now!

#3 Updated by Greg Farnum over 4 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 over 4 years ago

  • Status changed from In Progress to Need 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 over 4 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF