Skip to content

quincy: rgw: add versioning info to radosgw-admin bucket stats output - #54190

Merged
yuriw merged 2 commits into
ceph:quincyfrom
cfsnyder:wip-63253-quincy
Apr 22, 2024
Merged

yuriw merged 2 commits into
ceph:quincyfrom
cfsnyder:wip-63253-quincy

Conversation

@cfsnyder

Copy link
Copy Markdown
Contributor

This allows admins to more easily identify whether a bucket
has versioning / object lock/ mfa enabled.

Fixes: https://tracker.ceph.com/issues/63092
Signed-off-by: Cory Snyder <[email protected]>
(cherry picked from commit 7752b90)

Conflicts:
	src/rgw/driver/rados/rgw_bucket.cc

Cherry-pick notes:
- Conflicts due to RADOS could being moved into driver directory in later releases.
@cbodley

cbodley commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@cbodley

cbodley commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

jenkins test api

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

we ended up changing this output - i believe #54197 is where that happened. could you please cherry-pick those changes too? cc @ivancich

@yuriw

yuriw commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

jenkins test api

@yuriw

yuriw commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

@cfsnyder This was tested and can be merged after @cbodley 's change addressed
ref: https://trello.com/c/lspPyG27

Adds a new field to bucket stats. Also rearranges existing information
slightly to make more sense. Also removes the redundancy of showing
bucket versioning status in two different ways.

Signed-off-by: J. Eric Ivancich <[email protected]>
(cherry picked from commit 3082cd4)

Conflicts:
	src/rgw/driver/rados/rgw_bucket.cc

Cherry-pick notes:
- rgw_bucket.cc moved into driver directory post-pacific
@yuriw

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw
yuriw merged commit bc06b04 into ceph:quincy Apr 22, 2024
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.

5 participants