Skip to content

rgw: fail s3 POST auth if keystone not configured - #3966

Merged
1 commit merged into
ceph:fireflyfrom
theanalyst:wip-10698-backport
Mar 16, 2015
Merged

1 commit merged into
ceph:fireflyfrom
theanalyst:wip-10698-backport

Conversation

@theanalyst

Copy link
Copy Markdown
Member

Fixes: #10698
This fixes issue introduced in 8b3dfc9,
where if user does not exist, we try keystone authentication. However,
if keystone is not configured we justt fall through without failing.
This would have failed later on due to bucket permissions, unless bucket
had a public write permissions.

Backports: Firefly
Reported-by: Valery Tschopp [email protected]
Signed-off-by: Yehuda Sadeh [email protected]

Conflicts:
src/rgw/rgw_rest_s3.cc

Fixes: ceph#10698
This fixes issue introduced in 8b3dfc9,
where if user does not exist, we try keystone authentication. However,
if keystone is not configured we justt fall through without failing.
This would have failed later on due to bucket permissions, unless bucket
had a public write permissions.

Backports: Firefly
Reported-by: Valery Tschopp <[email protected]>
Signed-off-by: Yehuda Sadeh <[email protected]>

Conflicts:
	src/rgw/rgw_rest_s3.cc
@ghost ghost added bug-fix rgw labels Mar 11, 2015
@ghost ghost added this to the firefly milestone Mar 11, 2015
@ghost ghost self-assigned this Mar 11, 2015
@loic-bot

Copy link
Copy Markdown

SUCCESS: the output of run-make-check.sh on centos-7 for 1b36f1dd24838407a019908c5fa6db4b41f68f85 is http://paste2.org/m6BXhWnb

:octocat: Sent from GH.

ghost pushed a commit that referenced this pull request Mar 16, 2015
rgw: fail s3 POST auth if keystone not configured

Reviewed-by: Yehuda Sadeh <[email protected]>
@ghost
ghost merged commit 493d285 into ceph:firefly Mar 16, 2015
This pull request was closed.
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.

3 participants