Skip to content

umbrella: mon: fix mon crash when using 'set allow_standby_replay' within 'fs new' - #72612

Open
dparmar18 wants to merge 2 commits into
ceph:umbrellafrom
dparmar18:wip-81144-umbrella
Open

dparmar18 wants to merge 2 commits into
ceph:umbrellafrom
dparmar18:wip-81144-umbrella

Conversation

@dparmar18

Copy link
Copy Markdown
Contributor

command.

backport of #71806
backport tracker: https://tracker.ceph.com/issues/81144
parent tracker: https://tracker.ceph.com/issues/80550

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

(cherry picked from commit 91d4247)

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.

@dparmar18
dparmar18 requested a review from a team as a code owner October 13, 2026 05:51
@github-actions github-actions Bot added this to the umbrella milestone Oct 13, 2026
@dparmar18
dparmar18 requested a review from a team October 13, 2026 05:52
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Oct 13, 2026
@yuriw

yuriw commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri10-testing-20261106.171551-umbrella.

@batrick

batrick commented Nov 21, 2026

Copy link
Copy Markdown
Member

["session_timeout", "234", "session_autoclose",
"100", "max_xattr_size", "150"]]
"100", "max_xattr_size", "150"],
["allow_standby_replay", "true"],

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

anubis somehow isn't allowing me to access the run (I swear I'm a human :P) but i do have cherry-picked the commit b419016.

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]>
(cherry picked from commit b419016)
@github-actions github-actions Bot removed the releng-audit-pass Release engineering: passed backport verification audit. label Nov 27, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Missing PR Link: Backport tracker #82217 has no 'Pull Request ID' field set. Please link it to PR #72612.

Automated Backport Parity Review - Multiple PRs Detected

This backport appears to pull commits from multiple main PRs including: PR #71806, PR #72817.

This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.


Commit Parity Visualizer

BACKPORT PR #72612 SOURCE PR SOURCE STATUS
d5b49e1 mon: fix mon crash when using 'set allow_standby_replay' within 'fs new' PR #71806 91d4247 mon: fix mon crash when using 'set allow_standby_replay' within 'fs new'
4d9e484 qa: do not reset allow_standby_replay when not configured PR #72817 b419016 qa: do not reset allow_standby_replay when not configured

🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System core mon needs-qa releng-audit-fail Release engineering: failed backport verification audit. tests wip-yuri10-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants