Skip to content

qa: do not reset allow_standby_replay when not configured - #72817

Merged
vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-vshankar-qa-fs-new-standby-replay
Oct 28, 2026
Merged

vshankar merged 1 commit into
ceph:mainfrom
vshankar:wip-vshankar-qa-fs-new-standby-replay

Conversation

@vshankar

Copy link
Copy Markdown
Contributor

Filesystem.create() unconditionally ran fs set allow_standby_replay with the fs_config value, defaulting to false. Since fs_config defaults to {} (never None), this overrode allow_standby_replay passed via ceph fs new ... set allow_standby_replay true, failing TestNewFSCreation.test_fs_creation_valid_ops with:

AssertionError: 'false' != 'true'

A newly created file system already has standby-replay disabled, so only set it when 'standby_replay' is present in fs_config.

Fixes: https://tracker.ceph.com/issues/81398

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.

Filesystem.create() unconditionally ran `fs set allow_standby_replay`
with the fs_config value, defaulting to false. Since fs_config defaults
to {} (never None), this overrode allow_standby_replay passed via
`ceph fs new ... set allow_standby_replay true`, failing
TestNewFSCreation.test_fs_creation_valid_ops with:

  AssertionError: 'false' != 'true'

A newly created file system already has standby-replay disabled, so
only set it when 'standby_replay' is present in fs_config.

Fixes: https://tracker.ceph.com/issues/81398
Signed-off-by: Venky Shankar <[email protected]>
@vshankar
vshankar requested a review from a team October 19, 2026 07:16
@vshankar vshankar added the cephfs Ceph File System label Oct 19, 2026
@github-actions github-actions Bot added the tests label Oct 19, 2026
@vshankar

Copy link
Copy Markdown
Contributor Author

This PR has been added to main integration testing by vshankar started 2026-10-27-04:37.

@vshankar

Copy link
Copy Markdown
Contributor Author

@vshankar
vshankar merged commit 932a319 into ceph:main Oct 28, 2026
16 of 18 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.

2 participants