Skip to content

qa/cephfs: switch to using non-colocated cluster for fs:libcephfs - #70810

Merged
vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-75729
Aug 31, 2026
Merged

vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-75729

Conversation

@vshankar

@vshankar vshankar commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

So that the client is on a separate role and that prevents the test
from filling up disk due to huge debug logs by the client.

Fixes: http://tracker.ceph.com/issues/75729

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@vshankar
vshankar requested a review from a team August 4, 2026 09:08
@vshankar vshankar added the cephfs Ceph File System label Aug 4, 2026
@github-actions github-actions Bot added the tests label Aug 4, 2026
@vshankar

vshankar commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

This PR has been added to main integration testing by vshankar started 2026-07-21-10:48.

@joscollin joscollin 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.

Wouldn't it be safer to throttle the workunit's debug verbosity, rather than interrupting the daemon middle of a workload?

@vshankar

vshankar commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Wouldn't it be safer to throttle the workunit's debug verbosity, rather than interrupting the daemon middle of a workload?

Do you mean tuning log level to reduce logging? We need debug logs for debugging failures.

@joscollin

Copy link
Copy Markdown
Member

Wouldn't it be safer to throttle the workunit's debug verbosity, rather than interrupting the daemon middle of a workload?

Do you mean tuning log level to reduce logging? We need debug logs for debugging failures.

I see your point.
In that case, we could do mds.* log reopen from the yaml, so that the logs reopen and flushes without interrupting the MDS?

@vshankar

vshankar commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

I see your point.
In that case, we could do mds.* log reopen from the yaml, so that the logs reopen and flushes without interrupting the MDS?

Actually, I expected log-rotate to compress after rotation. Looks like it doesn't do that.

@vshankar

vshankar commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

This PR has been added to main integration testing by vshankar started 2026-08-05-16:27.

@joscollin

Copy link
Copy Markdown
Member

I see your point.
In that case, we could do mds.* log reopen from the yaml, so that the logs reopen and flushes without interrupting the MDS?

Actually, I expected log-rotate to compress after rotation. Looks like it doesn't do that.

Since log-rotate isn't compressing the logs to save space anyway and it's triggering the SIGHUP test hangs, dropping it completely seems to be the safest move to avoid test execution timeouts.

Instead, what about injecting an exec task after the heavy I/O task for LibCephFS.HugeSnapDiffSmallDelta in the appropriate workload yaml like this?

tasks:
  - exec:
      mon.a:
        - sudo ceph tell mds.* log reopen

Let me know your thoughts.

@vshankar vshankar changed the title qa/cephfs: add log-rotate section to 1-mds-1-client-coloc.yaml qa/cephfs: switch to using non-colocated cluster for fs:libcephfs Aug 6, 2026
@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

I changed the approach @joscollin. Now the test does not colocate the client with other daemons.

@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Let me know your thoughts.

Check the latest update. I haven't tested it out but I think it should suffice.

@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test api

@joscollin joscollin 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.

Separating the client node, looks good to me. Let me know how the QA test goes.

@dparmar18

Copy link
Copy Markdown
Contributor

@vshankar LGTM. BTW this made me wonder for all the perf/thrash testing sub-suites/YAMLs -- should we audit the fs suite? to me an MDS and a client colocating does save a host but leads to resource contention. WDYT?

@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

@vshankar LGTM. BTW this made me wonder for all the perf/thrash testing sub-suites/YAMLs -- should we audit the fs suite? to me an MDS and a client colocating does save a host but leads to resource contention. WDYT?

Maybe. But at this point, I do not want to fix things which aren't broken :)

Audit is a good idea and anyone volunteers for it :)

@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@dparmar18

Copy link
Copy Markdown
Contributor

@vshankar LGTM. BTW this made me wonder for all the perf/thrash testing sub-suites/YAMLs -- should we audit the fs suite? to me an MDS and a client colocating does save a host but leads to resource contention. WDYT?

Maybe. But at this point, I do not want to fix things which aren't broken :)

Audit is a good idea and anyone volunteers for it :)

should i create a tracker for this then :)

@vshankar

vshankar commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

@vshankar LGTM. BTW this made me wonder for all the perf/thrash testing sub-suites/YAMLs -- should we audit the fs suite? to me an MDS and a client colocating does save a host but leads to resource contention. WDYT?

Maybe. But at this point, I do not want to fix things which aren't broken :)
Audit is a good idea and anyone volunteers for it :)

should i create a tracker for this then :)

It's an audit work first. If there is a need for improvement, we can open a tracker.

@vshankar

Copy link
Copy Markdown
Contributor Author

This PR has been added to main integration testing by vshankar started 2026-08-13-12:44.

@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@vshankar

Copy link
Copy Markdown
Contributor Author

@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins test api

So that the client is on a separate role and that prevents the test
from filling up disk due to huge debug logs by the client.

Fixes: http://tracker.ceph.com/issues/75729
Signed-off-by: Venky Shankar <[email protected]>
@vshankar

Copy link
Copy Markdown
Contributor Author

Rebased to hopefully get the CI tests to completion.

@vshankar
vshankar merged commit 43b369d into ceph:main Aug 31, 2026
7 checks passed
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