Project

General

Profile

Actions

Bug #15881

closed

rgw: radosgw-admin bucket rm fail to delete object that begining with double underscores

Added by Jiaying Ren almost 8 years ago. Updated about 1 month ago.

Status:
Duplicate
Priority:
Normal
Target version:
-
% Done:

0%

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

Description

$ ceph -v
ceph version 10.0.0-7708-g82af391 (82af391ceaff60d5071c87aa34333255a600199d)

1. Try to delete the bucket/user recursively:

$ radosgw-admin bucket rm --bucket=um-object-storage-7y1kxkubf5y-251 --purge-data
$ radosgw-admin user rm --uid=umtest1 --purge-data

2. But below cmd didn't work:

$ radosgw-admin bucket list --bucket=um-object-storage-7y1kxkubf5y-251

[ {
"name": "_ _",
"instance": "",
"namespace": "",
"owner": "umtest1",
"owner_display_name": "Umcloud Tester1",
"size": 3,
"mtime": "2016-05-12 17:46:11.112580Z",
"etag": "d522d2f830dfcbc263513fcd46cf2cb8",
"content_type": "application\/octet-stream",
"tag": "a2058e60-0fff-49da-89f1-8bd3aa6a9446.4113.43216",
"flags": 0
}, {
"name": "__",
"instance": "",
"namespace": "",
"owner": "umtest1",
"owner_display_name": "Umcloud Tester1",
"size": 2,
"mtime": "2016-05-12 17:46:11.129576Z",
"etag": "18f05aeddc212b523b40818fa2b87b33",
"content_type": "application\/octet-stream",
"tag": "a2058e60-0fff-49da-89f1-8bd3aa6a9446.4113.43217",
"flags": 0
}
]

HTTP API works,but radosgw-admin broken.

BWT,What does rgw_obj.instance used for?


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #15318: rgw: fails to delete keys with two underscoresResolvedOrit Wasserman03/30/2016

Actions
Actions

Also available in: Atom PDF