Skip to content

qa/tasks/ceph: fix "ceph mgr module enable" command - #58487

Merged
vshankar merged 2 commits into
ceph:mainfrom
idryomov:wip-fs-workload-mgr-modules
Aug 23, 2024
Merged

vshankar merged 2 commits into
ceph:mainfrom
idryomov:wip-fs-workload-mgr-modules

Conversation

@idryomov

@idryomov idryomov commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

A fixup for a change to the ceph task introduced in #48130 + related qa/suites/fs/workload cleanup.

This is untested -- make sure to run a job that pulls in qa/suites/fs/workload/tasks/3-snaps/yes.yaml.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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)
    • Code cleanup (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)
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
  • jenkins test windows
  • jenkins test rook e2e

idryomov added 2 commits July 9, 2024 23:16
This was typoed in commit 9d485ae ("qa/tasks/ceph: provide
configuration for setting configs via mon") and went unnoticed likely
because 3-snaps/yes.yaml in fs:workload is the only user of the new
mgr-modules stanza so far and fs:workload suite runs exclusively on
cephadm.

Signed-off-by: Ilya Dryomov <[email protected]>
After commit 5601f91 ("qa: move some configs to cluster-conf"),
mgrmodules shouldn't be needed.  Currently "ceph mgr module enable"
command actually gets run twice with the one triggered by mgrmodules
coming in 10 minutes later:

2024-07-04T02:37:06.207 INFO:tasks.cephadm:enabling module snap_schedule
2024-07-04T02:37:06.208 DEBUG:teuthology.orchestra.run.smithi032:> sudo /home/ubuntu/cephtest/cephadm ... shell ... -- sudo ceph --cluster ceph mgr module enable snap_schedule

2024-07-04T02:47:08.104 INFO:teuthology.run_tasks:Running task sequential...
2024-07-04T02:47:08.114 INFO:teuthology.task.sequential:In sequential, running task sequential...
2024-07-04T02:47:08.114 INFO:teuthology.task.sequential:In sequential, running task print...
2024-07-04T02:47:08.115 INFO:teuthology.task.print:Enabling mgr modules
2024-07-04T02:47:08.115 INFO:teuthology.task.sequential:In sequential, running task exec...
2024-07-04T02:47:08.116 INFO:teuthology.task.exec:Executing custom commands...
2024-07-04T02:47:08.116 INFO:teuthology.task.exec:Running commands on role mon.a host [email protected]
2024-07-04T02:47:08.116 DEBUG:teuthology.orchestra.run.smithi032:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph mgr module enable snap_schedule'

Signed-off-by: Ilya Dryomov <[email protected]>
@idryomov
idryomov requested review from batrick and vshankar July 9, 2024 21:27
@github-actions github-actions Bot added cephfs Ceph File System tests labels Jul 9, 2024
@idryomov
idryomov requested a review from a team July 11, 2024 17:41

@mchangir mchangir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@idryomov

idryomov commented Aug 9, 2024

Copy link
Copy Markdown
Contributor Author

@mchangir Does the CephFS team plan to run this through the suite?

@mchangir

mchangir commented Aug 9, 2024

Copy link
Copy Markdown
Contributor

@mchangir Does the CephFS team plan to run this through the suite?

yes, we definitely will
@vshankar we need to take this in for testing

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM (cc @batrick)

@vshankar

Copy link
Copy Markdown
Contributor

@vshankar

Copy link
Copy Markdown
Contributor

fs suite run looks fine.

@vshankar

Copy link
Copy Markdown
Contributor

Normally, the run wiki is updated before merging a change, but its taking a bit of time since I'm swamped with other stuff -- merging this change (will link the run wiki later).

@vshankar
vshankar merged commit db4959e into ceph:main Aug 23, 2024
@idryomov
idryomov deleted the wip-fs-workload-mgr-modules branch August 25, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants