Project

General

Profile

Actions

Bug #11037

closed

RGW Swift API: removing X-Account-Meta-Temp-URL-Key{-2} is not possible with the X-Remove-Account-{} syntax

Added by Radoslaw Zarzynski about 9 years ago. Updated over 8 years ago.

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

0%

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

Description

RGW currently supports setting/removing the TempURL. Unfortunately, the additional X-Remove-Account-{} syntax is not supported yet. Please refer to: https://github.com/ceph/ceph/blob/master/src/rgw/rgw_rest_swift.cc#L709.

$ curl -i http://localhost:8080/swift/v1 -X POST -H "X-Auth-Token: $token" -H "X-Account-Meta-Temp-URL-Key: x"

HTTP/1.1 204 No Content
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 05 Mar 2015 21:02:08 GMT
Content-Type: text/plain; charset=utf-8
Connection: keep-alive

$ curl -i http://localhost:8080/swift/v1 -X POST -H "X-Auth-Token: $token" -H "X-Remove-Account-Meta-Temp-URL-Key: x"

HTTP/1.1 405 Method Not Allowed
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 05 Mar 2015 21:02:19 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 16
Connection: keep-alive
Accept-Ranges: bytes

Actions #1

Updated by Radoslaw Zarzynski about 9 years ago

I'working on that. The fix will be a part of new implemententation of Swift metadata in RGW.

Actions #3

Updated by Radoslaw Zarzynski about 9 years ago

  • Assignee set to Radoslaw Zarzynski
Actions #4

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to Resolved
  • Regression set to No
Actions

Also available in: Atom PDF