Project

General

Profile

Actions

Bug #23100

open

admin/metadata/bucket: weird bucket name in listing, cannot fetch

Added by Robin Johnson about 6 years ago. Updated over 4 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

listing of bucket names via the admin/metadata/bucket API shows this name for a bucket 2016-02-26 03:08:16.935351. Trying to fetch it shows NoSuchKey.

It's possible it was created via the Swift API which has had much looser naming rules than the S3 endpoints, but it should still not have failed to display metadata via API or command.

rjohnson@peon5752:~$ sudo radosgw-admin metadata get bucket:'2016-02-26 03:08:16.935351'
ERROR: can't get key: (2) No such file or directory
rjohnson@peon5752:~$ sudo radosgw-admin --bucket '2016-02-26 03:08:16.935351' bucket stats
{
    "bucket": "2016-02-26 03:08:16.935351",
    "zonegroup": "default",
    "placement_rule": "",
    "explicit_placement": {
        "data_pool": ".rgw.data.1",
        "data_extra_pool": "",
        "index_pool": ".rgw.data.1" 
    },
    "id": "default.197251264.11511",
    "marker": "default.197251264.11511",
    "index_type": "Normal",
    "owner": "CENSORED",
    "ver": "0#1",
    "master_ver": "0#0",
    "mtime": "2016-02-26 03:08:16.000000",
    "max_marker": "0#",
    "usage": {},
    "bucket_quota": {
        "enabled": false,
        "check_on_raw": false,
        "max_size": -1024,
        "max_size_kb": 0,
        "max_objects": -1
    }
}
Actions

Also available in: Atom PDF