Skip to content

rgw/placement: display storage class in user info dump - #60387

Merged
anrao19 merged 1 commit into
ceph:mainfrom
thotz:rgw-placement-store-standard-storageclass
Apr 20, 2026
Merged

anrao19 merged 1 commit into
ceph:mainfrom
thotz:rgw-placement-store-standard-storageclass

Conversation

@thotz

@thotz thotz commented Oct 18, 2024 •

Copy link
Copy Markdown
Contributor

If the storageclass is empty or standard, it is not stored in the backend, fixing the same

Fixes: https://tracker.ceph.com/issues/68610
Signed-off-by: Jiffin Tony Thottan [email protected]

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

@thotz
thotz requested a review from a team as a code owner October 18, 2024 07:29
@thotz
thotz requested a review from mattbenjamin October 18, 2024 07:29
@github-actions github-actions Bot added the rgw label Oct 18, 2024

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

this looks valid to me

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

actually, maybe I don't--how does this enable storing the storage class?

@mattbenjamin
mattbenjamin self-requested a review October 18, 2024 13:13

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

ok, I get it, I think

@thotz

thotz commented Oct 25, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@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 Dec 24, 2024
@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 Jan 23, 2025
@thotz thotz removed the stale label Jan 27, 2025
@thotz thotz reopened this Jan 27, 2025
@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test api

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@ivancich ivancich added the wip-eric-testing-1 for ivancich testing label Feb 12, 2025
@ivancich

Copy link
Copy Markdown
Member

@thotz My teuthology results had wide-spread breakage. I'm thinking this PR might be the culprit given the errors and it touches placement. Can you take a look?

  return self.placement_target.get_data_pool(self.placement_rule)

E AttributeError: 'NoneType' object has no attribute 'get_data_pool'

See:
https://qa-proxy.ceph.com/teuthology/ivancich-2025-02-13_13:45:14-rgw-wip-eric-testing-1-distro-default-smithi/8129175/teuthology.log

@ivancich

Copy link
Copy Markdown
Member

My apologies, @thotz. I removed your commit from the run and still encountered the error.

@ivancich

ivancich commented Mar 3, 2025 •

Copy link
Copy Markdown
Member

@thotz This PR seems to result in a lot of testing failures.

ragweed/tests/tests.py::r_test_small_obj_data::test FAILED [ 11%]
ragweed/tests/tests.py::r_test_multipart_simple::test FAILED [ 22%]
ragweed/tests/tests.py::r_test_multipart_index_versioning::test PASSED [ 33%]
ragweed/tests/tests.py::r_test_multipart_defer_complete::test FAILED [ 44%]
ragweed/tests/tests.py::r_test_multipart_defer_update_complete::test FAILED [ 55%]
ragweed/tests/tests.py::r_test_obj_storage_class::test FAILED [ 66%]
ragweed/tests/tests.py::r_test_obj_storage_class_multipart::test FAILED [ 77%]
ragweed/tests/tests.py::r_test_obj_storage_class_copy::test FAILED [ 88%]
ragweed/tests/tests.py::r_test_obj_storage_class_multipart_copy::test FAILED [100%]

Here's the full run:

https://qa-proxy.ceph.com/teuthology/ivancich-2025-03-02_18:34:46-rgw-wip-eric-testing-1-distro-default-smithi/8164616/teuthology.log

@ivancich ivancich removed needs-qa wip-eric-testing-1 for ivancich testing labels Mar 3, 2025
@thotz

thotz commented Mar 4, 2025

Copy link
Copy Markdown
Contributor Author

will take a look

@github-actions

github-actions Bot commented May 3, 2025

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 May 3, 2025
@github-actions github-actions Bot removed the stale label May 5, 2025
@thotz
thotz force-pushed the rgw-placement-store-standard-storageclass branch from e4ce0e4 to edeef28 Compare June 9, 2025 07:58
@thotz

thotz commented Jun 13, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@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 Aug 12, 2025
@thotz thotz removed the stale label Aug 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 Oct 31, 2025
@thotz thotz removed the stale label Nov 14, 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 13, 2026
@cbodley cbodley removed the stale label Jan 13, 2026
@cbodley

cbodley commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

@thotz could you please squash the commits?

@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 Mar 14, 2026
@thotz
thotz force-pushed the rgw-placement-store-standard-storageclass branch from edeef28 to a051a2e Compare March 25, 2026 12:16
@cbodley cbodley changed the title rgw/placement: store standard storage class at the backend rgw/placement: display storage class in user info dump Mar 25, 2026
@cbodley cbodley added needs-qa and removed stale labels Mar 25, 2026
@anrao19

anrao19 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/75779

@anrao19

anrao19 commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress... Tracker created for same is : https://tracker.ceph.com/issues/75779

Pr testing completed. Tacker approved by @ivancich. More details : https://tracker.ceph.com/issues/75779
@thotz , if no further testing needed, pr can be merged

@anrao19
anrao19 merged commit db7b7d1 into ceph:main Apr 20, 2026
9 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