Skip to content

squid: mds: don't add counters in warning for standby-replay MDS#57795

Merged
joscollin merged 2 commits intoceph:squidfrom
rishabh-d-dave:wip-65920-squid
Jun 14, 2024
Merged

squid: mds: don't add counters in warning for standby-replay MDS#57795
joscollin merged 2 commits intoceph:squidfrom
rishabh-d-dave:wip-65920-squid

Conversation

@rishabh-d-dave
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/65920


backport of #56065
parent tracker: https://tracker.ceph.com/issues/63514

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Don't include inode and stray counters in the health warnings printed
for standby-replay MDSs. Since these counters are present in the health
warnings only due to replay, it can confuse users, and therefore, do not
include them.

Fixes: https://tracker.ceph.com/issues/63514
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 03dcdc1)
- Add tests to verify that inode and stray counters are not
  replayed/included in the health warnings printed for the
  standby-replay MDS.

- Add "MDS_CACHE_OVERSIZED" health warning to ignorelist to
  failover.yaml.

- Add a helper method to qa.tasks.cephfs.filesystem.Filesystem to get
  MDS name of standby-replay MDS.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 2784e22)
@rishabh-d-dave rishabh-d-dave added this to the squid milestone May 30, 2024
@rishabh-d-dave rishabh-d-dave added the cephfs Ceph File System label May 30, 2024
@github-actions github-actions bot added the tests label May 30, 2024
@rishabh-d-dave rishabh-d-dave requested a review from a team May 30, 2024 18:23
@joscollin
Copy link
Member

Tested in https://tracker.ceph.com/issues/66423

@joscollin joscollin merged commit 2a182ea into ceph:squid Jun 14, 2024
@rishabh-d-dave rishabh-d-dave deleted the wip-65920-squid branch June 19, 2024 04:36
joscollin pushed a commit to joscollin/ceph that referenced this pull request Jun 27, 2024
* refs/pull/57795/head:
	qa/cephfs: test that counters are not printed for SR MDS
	mds: add no counters in warning for standby-replay MDS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants