Project

General

Profile

Bug #19520

rgw: Swift's at-root features (/crossdomain.xml, /info, /healthcheck) are broken

Added by Radoslaw Zarzynski about 2 months ago. Updated 19 days ago.

Status:
Pending Backport
Priority:
High
Target version:
-
Start date:
04/06/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
kraken
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

rgw$ curl -i "http://127.0.0.1:8000/healthcheck" -X GET  -H "X-Auth-Toke: ${token}" 
HTTP/1.1 400 Bad Request
Content-Length: 120
X-Trans-Id: tx000000000000000000003-0058e64867-1028-default
Accept-Ranges: bytes
Content-Type: application/json; charset=utf-8
Date: Thu, 06 Apr 2017 13:53:43 GMT

{"Code":"InvalidArgument","RequestId":"tx000000000000000000003-0058e64867-1028-default","HostId":"1028-default-default"}

It seems that we were supplying an empty rgw_user to rgw_get_user_attrs_by_uid() for long time. However, recently the function's behavior changed and its returns -EINVAL in such situation.


Related issues

Copied to Backport #20031: kraken: rgw: Swift's at-root features (/crossdomain.xml, /info, /healthcheck) are broken New

History

#1 Updated by Radoslaw Zarzynski about 2 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Yehuda Sadeh 19 days ago

  • Status changed from Need Review to Pending Backport
  • Backport set to kraken

#3 Updated by Nathan Cutler 1 day ago

  • Copied to Backport #20031: kraken: rgw: Swift's at-root features (/crossdomain.xml, /info, /healthcheck) are broken added

Also available in: Atom PDF