Skip to content

qa: disable metrics on kernel client during upgrade - #43974

Merged
batrick merged 1 commit into
ceph:masterfrom
batrick:i53293
Nov 19, 2021
Merged

batrick merged 1 commit into
ceph:masterfrom
batrick:i53293

Conversation

@batrick

@batrick batrick commented Nov 16, 2021 •

Copy link
Copy Markdown
Member

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
  • Teuthology
    • Completed teuthology run
    • No teuthology test necessary (e.g., documentation)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@batrick batrick changed the title qa: use ceph-fuse to avoid via new messages from kernel qa: use ceph-fuse to avoid new messages from kernel Nov 16, 2021
@batrick
batrick force-pushed the i53293 branch 2 times, most recently from 725b524 to 5024594 Compare November 17, 2021 14:29
batrick added a commit to batrick/ceph that referenced this pull request Nov 17, 2021
* refs/pull/43974/head:
	qa: use ceph-fuse to avoid new messages from kernel
@djgalloway

Copy link
Copy Markdown
Contributor

@batrick

batrick commented Nov 18, 2021

Copy link
Copy Markdown
Member Author

Does this also fix https://tracker.ceph.com/issues/53288?

I assume 53288 is for fixing teuthology/qa so this type of failure does not result in a 12 hour dead job.

@batrick

batrick commented Nov 18, 2021

Copy link
Copy Markdown
Member Author

@batrick
batrick force-pushed the i53293 branch 2 times, most recently from bccc5e6 to 2b67927 Compare November 18, 2021 15:19
batrick added a commit to batrick/ceph that referenced this pull request Nov 19, 2021
* refs/pull/43974/head:
	qa: use ceph-fuse to avoid new messages from kernel
	client: note major unmount log event early
@xiubli
xiubli requested review from vshankar and xiubli November 19, 2021 02:05

@xiubli xiubli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@batrick @vshankar @jtlayton

BTW, will it also make sense in MDS add one flag or a version flag about which metrics has been supported, then in kclient it will only send the metrics the MDS supported ?

@xiubli
xiubli requested a review from jtlayton November 19, 2021 02:09
@jtlayton

jtlayton commented Nov 19, 2021 •

Copy link
Copy Markdown
Contributor

Honestly, this all seems like a lot of workaround for something that's just a bug in the MDS. It should have never asserted on unknown messages. Why not just fix the MDS and move on? I know it's already fixed in later versions, so why are we testing something that we know is broken? Maybe it'd be easier to just avoid testing metrics with an MDS this old?

@batrick

batrick commented Nov 19, 2021

Copy link
Copy Markdown
Member Author

Honestly, this all seems like a lot of workaround for something that's just a bug in the MDS. It should have never asserted on unknown messages. Why not just fix the MDS and move on? I know it's already fixed in later versions, so why are we testing something that we know is broken? Maybe it'd be easier to just avoid testing metrics with an MDS this old?

Yes, that's the crux of the problem. The reason I'm testing v16.2.4 is that the upgrade procedure changed in v16.2.5 due to changes in the MDSMap. I need to verify v16.2.4 (and older) can still upgrade.

@batrick
batrick force-pushed the i53293 branch 3 times, most recently from a7c061e to 7c1f0a7 Compare November 19, 2021 14:16
@batrick batrick changed the title qa: use ceph-fuse to avoid new messages from kernel qa: disable metrics on kernel client during upgrade Nov 19, 2021
@batrick

batrick commented Nov 19, 2021 •

Copy link
Copy Markdown
Member Author

@batrick

batrick commented Nov 19, 2021

Copy link
Copy Markdown
Member Author

jenkins test api

v16.2.4 MDS triggers an assert from these messages.

Also: add latest pacific for extra coverage.

Fixes: https://tracker.ceph.com/issues/53293
Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented Nov 19, 2021

Copy link
Copy Markdown
Member Author

@batrick
batrick merged commit 860518b into ceph:master Nov 19, 2021
@batrick
batrick deleted the i53293 branch November 19, 2021 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants