Project

General

Profile

Actions

Bug #26964

closed

GetBucketCORS API returns "Not Found" error code when CORS configuration does not exist

Added by Chang Liu over 5 years ago. Updated almost 5 years ago.

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

0%

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

Description

but, Amz S3 returns "NoSuchCORSConfiguration"

{'data': b'<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>NoSuchCORSCo'
         b'nfiguration</Code><Message>The CORS configuration does not exist</Me'
         b'ssage><BucketName>rgw-test</BucketName><RequestId>FA723A25F1ABF5D8</'
         b'RequestId><HostId>W6VBrjr85tLmASigarFO//QR5C8NYjamJJLaub7FsCxPTyVbMO'
         b'oPuz3KZx5KLP3pda17c8w3fWs=</HostId></Error>',
 'headers': {'content-type': 'application/xml',
             'date': 'Thu, 16 Aug 2018 07:42:54 GMT',
             'server': 'AmazonS3',
             'transfer-encoding': 'chunked',
             'x-amz-id-2': 'W6VBrjr85tLmASigarFO//QR5C8NYjamJJLaub7FsCxPTyVbMOoPuz3KZx5KLP3pda17c8w3fWs=',
             'x-amz-request-id': 'FA723A25F1ABF5D8'},
 'reason': 'Not Found',
 'status': 404}

Related issues 2 (0 open2 closed)

Copied to rgw - Backport #38886: mimic: GetBucketCORS API returns "Not Found" error code when CORS configuration does not existResolvedNathan CutlerActions
Copied to rgw - Backport #38887: luminous: GetBucketCORS API returns "Not Found" error code when CORS configuration does not existResolvedNathan CutlerActions
Actions #1

Updated by Casey Bodley over 5 years ago

  • Status changed from New to Resolved
Actions #2

Updated by Vikhyat Umrao about 5 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to mimic luminous
Actions #3

Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #38886: mimic: GetBucketCORS API returns "Not Found" error code when CORS configuration does not exist added
Actions #4

Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #38887: luminous: GetBucketCORS API returns "Not Found" error code when CORS configuration does not exist added
Actions #5

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF