Project

General

Profile

Actions

Bug #19520

closed

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

Added by Radoslaw Zarzynski about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
kraken
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

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

Updated by Radoslaw Zarzynski about 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Yehuda Sadeh almost 7 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to kraken
Actions #3

Updated by Nathan Cutler almost 7 years ago

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

Updated by Nathan Cutler almost 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF