Project

General

Profile

Actions

Bug #48001

closed

Brocken SwiftAPI anonymous access

Added by Sergey Ivashev over 3 years ago. Updated over 1 year ago.

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

100%

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

Description

Anonymous read via Swift API return 404 after update from 14.2.11 to 14.2.12

curl -I -H 'X-Auth-Token: AUTH_rgwtk0a000000616d72753a7377696674508e0893bf53c25168f2925f586af404e4bd37aca20fa519b045c88bd66006f2359f53ab' http://127.0.0.1:7480/swift/v1/AUTH_user/tmp/
HTTP/1.1 204 No Content
X-Timestamp: 1589981388.79246
X-Container-Object-Count: 27
X-Container-Bytes-Used: 245559840
X-Container-Bytes-Used-Actual: 245616640
X-Container-Read: .r:*
X-Storage-Policy: default-placement
X-Storage-Class: STANDARD
Last-Modified: Fri, 29 May 2020 12:39:59 GMT
X-Trans-Id: tx0000000000000000002dd-005f91a188-400771-ru-msk
X-Openstack-Request-Id: tx0000000000000000002dd-005f91a188-400771-ru-msk
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Thu, 22 Oct 2020 15:13:12 GMT
Connection: Keep-Alive
curl -I -H 'X-Auth-Token: AUTH_rgwtk0a000000616d72753a7377696674508e0893bf53c25168f2925f586af404e4bd37aca20fa519b045c88bd66006f2359f53ab' http://127.0.0.1:7480/swift/v1/AUTH_user/tmp/image.jpg
HTTP/1.1 200 OK
Content-Length: 600826
Accept-Ranges: bytes
Last-Modified: Wed, 20 May 2020 13:29:49 GMT
X-Timestamp: 1589981389.17519
etag: b580a0ccf35cd93db431738549a19727
X-Object-Meta-Mtime: 1385375828
X-Trans-Id: tx00000000000000000020c-005f91a120-400771-ru-msk
X-Openstack-Request-Id: tx00000000000000000020c-005f91a120-400771-ru-msk
Content-Type: image/jpeg
Date: Thu, 22 Oct 2020 15:11:28 GMT
Connection: Keep-Alive
curl -I http://127.0.0.1:7480/swift/v1/AUTH_user/tmp/image.jpg
HTTP/1.1 404 Not Found
Content-Length: 12
X-Trans-Id: tx0000000000000000001e3-005f91a10c-400771-ru-msk
X-Openstack-Request-Id: tx0000000000000000001e3-005f91a10c-400771-ru-msk
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Thu, 22 Oct 2020 15:11:08 GMT
Connection: Keep-Alive

Related issues 3 (0 open3 closed)

Related to rgw - Bug #48382: Broken public Swift bucket access with Keystone integration DuplicateMarcus Watts

Actions
Copied to rgw - Backport #56954: pacific: Brocken SwiftAPI anonymous accessResolvedCasey BodleyActions
Copied to rgw - Backport #56955: quincy: Brocken SwiftAPI anonymous accessResolvedCasey BodleyActions
Actions

Also available in: Atom PDF