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

luminous: rgw: check for non-existent bucket in RGWGetACLs #26530

Merged
merged 1 commit into from Mar 28, 2019

Conversation

Projects
None yet
7 participants
@pdvian
Copy link

commented Feb 20, 2019

rgw: check for non-existent bucket in RGWGetACLs
Fix incorrect result when attempting to fetch an ACL for a
bucket that does not exist.

This change leads to a NoSuchBucket error result when an ACL is
requested from a non-existent bucket.  A NoSuchKey error result
iss already seen when the target was an object.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 078981c)

Conflicts:
	src/rgw/rgw_op.cc : Resolved in verify_permission

@tchaikov tchaikov added this to the luminous milestone Feb 20, 2019

@smithfarm smithfarm added the rgw label Feb 22, 2019

@ivancich

This comment has been minimized.

Copy link
Member

commented Mar 22, 2019

@smithfarm Shouldn't the "mimic-batch-1" label be a luminous label?

@smithfarm

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2019

@ivancich Indeed - thanks for pointing that out. Should be fixed now.

@yuriw

This comment has been minimized.

Copy link
Contributor

commented Mar 27, 2019

@yuriw yuriw merged commit 14fb94f into ceph:luminous Mar 28, 2019

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.