Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: RadosGW API: incorrect bucket quota in response to HEAD /{bucket}/?usage #53439

Merged
merged 1 commit into from Nov 15, 2023

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Sep 13, 2023

backport tracker: https://tracker.ceph.com/issues/62823


backport of #53391
parent tracker: https://tracker.ceph.com/issues/62737

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@github-actions github-actions bot added the rgw label Sep 13, 2023
@github-actions github-actions bot added this to the pacific milestone Sep 13, 2023
@batrick
Copy link
Member

batrick commented Sep 13, 2023

jenkins test make check

When we try to get the bucket usage via various methods, through curl or while accessing rgw api endpoint at HEAD /{bucket}/?usage doesn't return the updated information. The endpoint was always returning the user quota and not the actual bucket quota which we see after querying the endpoint.

Fixes: https://tracker.ceph.com/issues/62737
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
(cherry picked from commit 78cd82b)

Conflicts:
  - path: src/rgw/rgw_rest_s3.cc
    comment: resolve minor conflict
@yuriw yuriw merged commit 92c43a2 into ceph:pacific Nov 15, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants