Skip to content

crush: require non-leaf failure domain in add_multi_osd_per_failure_domain_rule_at - #59475

Merged
ljflores merged 2 commits into
ceph:mainfrom
athanatos:sjust/for-review/wip-67756-disallow-osd-failure-domain
Nov 4, 2026
Merged

ljflores merged 2 commits into
ceph:mainfrom
athanatos:sjust/for-review/wip-67756-disallow-osd-failure-domain

Conversation

@athanatos

Copy link
Copy Markdown
Contributor

Disallows specifying osd as failure domain or failing to specify a failure domain.

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

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

@athanatos
athanatos requested a review from ljflores August 28, 2024 04:58
@athanatos
athanatos requested a review from a team as a code owner August 28, 2024 04:58
@github-actions github-actions Bot added the core label Aug 28, 2024
@athanatos

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@github-actions

github-actions Bot commented Dec 1, 2024

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Dec 1, 2024
@tchaikov tchaikov removed the stale label Dec 2, 2024
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jan 31, 2025
@github-actions

github-actions Bot commented Mar 2, 2025

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Mar 2, 2025
@athanatos athanatos reopened this Apr 15, 2025
@athanatos

Copy link
Copy Markdown
Contributor Author

@ljflores Perhaps you can review this?

@github-actions github-actions Bot removed the stale label Apr 15, 2025
@athanatos

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jun 15, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Jul 15, 2025
@ljflores ljflores reopened this Jul 15, 2025
@ljflores

Copy link
Copy Markdown
Member

Oops, missed this. Will take a look

@github-actions github-actions Bot removed the stale label Jul 15, 2025
@athanatos

Copy link
Copy Markdown
Contributor Author

@ljflores ping

@athanatos

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Oct 13, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Nov 12, 2025
@ljflores ljflores reopened this Nov 12, 2025
@github-actions github-actions Bot removed the stale label Nov 12, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jan 11, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Feb 10, 2026
@rzarzynski rzarzynski reopened this Oct 12, 2026
@github-actions github-actions Bot removed the stale label Oct 12, 2026

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

The approach looks good; just noticed a difference in indentation..

@tchaikov could you also perhaps add a unit test around this?

Comment thread src/crush/CrushWrapper.cc
Comment on lines 2415 to 2418

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.

Nit: Indentation looks a bit off.

@tchaikov tchaikov Oct 14, 2026 •

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.

Sam's change was created before #65741 landed in main. fixed.

@ljflores

Copy link
Copy Markdown
Member

Also, sorry for letting this fall off my radar!

athanatos and others added 2 commits October 14, 2026 10:25
…omain_rule_at

Disallows specifying osd as failure domain or failing to specify a
failure domain.

Fixes: https://tracker.ceph.com/issues/67756
Signed-off-by: Samuel Just <[email protected]>
An "osd" or empty failure domain used to yield an msr rule that picks
OSDs as failure domains. Test that both, and an unknown type, are now
rejected, while "host" is still accepted.

Refs: https://tracker.ceph.com/issues/67756
Signed-off-by: Kefu Chai <[email protected]>
@tchaikov
tchaikov force-pushed the sjust/for-review/wip-67756-disallow-osd-failure-domain branch from e07008d to 4d69f30 Compare October 14, 2026 02:26
@github-actions github-actions Bot added the tests label Oct 14, 2026
@tchaikov

Copy link
Copy Markdown
Contributor

The approach looks good; just noticed a difference in indentation..

@tchaikov could you also perhaps add a unit test around this?

sure. added.

@tchaikov

Copy link
Copy Markdown
Contributor

changelog:

  • added a unit test to verify the fix
  • rebased against main HEAD
  • untabified the change

@tchaikov tchaikov 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

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath14-testing-20261027.071324-main.

@MattyWilliams22

Copy link
Copy Markdown
Contributor

@ljflores
ljflores merged commit d707559 into ceph:main Nov 4, 2026
20 checks passed
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.

6 participants