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

rgw: fix manager selection when APIs customized #9245

Merged
merged 1 commit into from May 30, 2016

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented May 20, 2016

When modifying rgw_enable_apis per RGW instance, such as for staticsites, you
can end up with RESTManager instance being null in some cases, which returns a
HTTP 405 MethodNotAllowed to all requests.

Example configuration to trigger the bug:
rgw_enable_apis = s3website

Backport: jewel
X-Note: Patch from Yehuda in private IRC discussion, 2016/05/20.
Fixes: http://tracker.ceph.com/issues/15973
Fixes: http://tracker.ceph.com/issues/15974
Signed-off-by: Robin H. Johnson robin.johnson@dreamhost.com
(cherry picked from commit 7c7a465)

@oritwas
Copy link
Member

oritwas commented May 23, 2016

we should merge #9244 into master and than backport it to jewel

When modifying rgw_enable_apis per RGW instance, such as for staticsites, you
can end up with RESTManager instance being null in some cases, which returns a
HTTP 405 MethodNotAllowed to all requests.

Example configuration to trigger the bug:
rgw_enable_apis = s3website

Backport: jewel
X-Note: Patch from Yehuda in private IRC discussion, 2016/05/20.
Fixes: http://tracker.ceph.com/issues/15973
Fixes: http://tracker.ceph.com/issues/15974
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 7c7a465)
@robbat2
Copy link
Contributor Author

robbat2 commented May 27, 2016

@oritwas re-pushed as a cherry-pick on jewel tip

@yehudasa
Copy link
Member

@robbat2 need a PR against master

@robbat2
Copy link
Contributor Author

robbat2 commented May 27, 2016

@yehudasa #9244 was against master and is already merged there.

@yehudasa yehudasa merged commit 954af78 into ceph:jewel May 30, 2016
@robbat2 robbat2 deleted the wip-15974-jewel branch May 30, 2016 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants