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 #1

Updated by Pietari Hyvärinen over 3 years ago

maybe related to #48382

Actions #2

Updated by Casey Bodley over 2 years ago

  • Assignee set to Marcus Watts
  • Tags set to swift
Actions #3

Updated by Marcus Watts over 2 years ago

There's a PR for this from xelexin = here: https://github.com/ceph/ceph/pull/38319

Actions #4

Updated by Marcus Watts over 2 years ago

I've created a 2nd PR to backport this to pacific:
https://github.com/ceph/ceph/pull/43984

Actions #5

Updated by Casey Bodley almost 2 years ago

  • Related to Bug #48382: Broken public Swift bucket access with Keystone integration added
Actions #6

Updated by Casey Bodley over 1 year ago

  • Status changed from New to Pending Backport
  • Backport set to quincy pacific
  • Pull request ID set to 38319
Actions #7

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56954: pacific: Brocken SwiftAPI anonymous access added
Actions #8

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56955: quincy: Brocken SwiftAPI anonymous access added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags changed from swift to swift backport_processed
Actions #10

Updated by Konstantin Shalygin over 1 year ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
  • Tags changed from swift backport_processed to swift
Actions

Also available in: Atom PDF