Project

General

Profile

Bug #38420

rgw: success returned for put bucket versioning on a non existant bucket

Added by Abhishek Lekshmanan 3 months ago. Updated 14 days ago.

Status:
Pending Backport
Priority:
Normal
Target version:
-
Start date:
02/21/2019
Due date:
% Done:

0%

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

Description

$ aws s3api list-buckets --endpoint=http://localhost:8000

{
    "Owner": {
        "DisplayName": "tester1",
        "ID": "s3test1" 
    },
    "Buckets": []
}

(aws) [abhishekl@d18:~/spells/pyspells/s3]$
aws s3api put-bucket-versioning --bucket bucket1 --versioning-configuration Status=Enabled --endpoint=http://localhost:8000
(aws) [abhishekl@d18:~/spells/pyspells/s3]$
aws s3api list-buckets --endpoint=http://localhost:8000

{
    "Owner": {
        "DisplayName": "tester1",
        "ID": "s3test1" 
    },
    "Buckets": []
}

We also unfortunately create a bucket instance in the cluster which shouldn't happen


Related issues

Duplicated by rgw - Bug #39622: rgw:RGWGetBucketVersioning on non-existing bucket does not return NoSuchBucket (http=404) Duplicate 05/08/2019
Copied to rgw - Backport #39696: luminous: rgw: success returned for put bucket versioning on a non existant bucket New
Copied to rgw - Backport #39697: mimic: rgw: success returned for put bucket versioning on a non existant bucket New

History

#1 Updated by Abhishek Lekshmanan 3 months ago

  • Status changed from New to Need Test

#2 Updated by Abhishek Lekshmanan 3 months ago

  • Assignee set to Abhishek Lekshmanan

#3 Updated by Abhishek Lekshmanan about 2 months ago

  • Status changed from Need Test to Resolved

#4 Updated by Abhishek Lekshmanan 14 days ago

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

#5 Updated by Casey Bodley 14 days ago

  • Duplicated by Bug #39622: rgw:RGWGetBucketVersioning on non-existing bucket does not return NoSuchBucket (http=404) added

#6 Updated by Nathan Cutler 13 days ago

  • Copied to Backport #39696: luminous: rgw: success returned for put bucket versioning on a non existant bucket added

#7 Updated by Nathan Cutler 13 days ago

  • Copied to Backport #39697: mimic: rgw: success returned for put bucket versioning on a non existant bucket added

Also available in: Atom PDF