Project

General

Profile

Bug #26964

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

Added by Chang Liu 10 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/20/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rgw - Backport #38886: mimic: GetBucketCORS API returns "Not Found" error code when CORS configuration does not exist Resolved
Copied to rgw - Backport #38887: luminous: GetBucketCORS API returns "Not Found" error code when CORS configuration does not exist In Progress

History

#1 Updated by Casey Bodley 9 months ago

  • Status changed from New to Resolved

#2 Updated by Vikhyat Umrao 3 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to mimic luminous

#3 Updated by Nathan Cutler 3 months ago

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

#4 Updated by Nathan Cutler 3 months ago

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

Also available in: Atom PDF