rgw 0.94.3: objects starting with underscore in bucket with versioning enabled are not retrievable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

we had an issue in our ceph clusters and are able to reproduce this in our labo cluster, just upgraded to hammer 0.94.3.

Steps to reproduce:
1) create bucket test2
2) put _test object -> lists and retrieves ok
3) enable versioning on test
4) put _test2 object -> lists, but get fails with "ERROR: ErrorNoSuchKey"; object "_test" is still retrievable
5) disable versioning (bucket.configure_versioning(False))
6) put _test3 object -> lists ok, retrieves OK (still errorNoSuchKey on object "_test2")

- Does anyone know if this is a known bug or should I open a tracker?
- we're fine to disable versioning for now, but we should find a way to retrieve or _objects uploaded with versioning support enabled. Or be able to rename/delete them... Any help or pointers would be much appreciated.

Running the fix-tool doesn't show any errors, or doesn't fix anything:
radosgw-admin -n client.radosgw.be-south-1 bucket check --check-head-obj-locator --bucket=test2
{
    "bucket": "test2",
    "check_objects": [
        {
            "key": {
                "type": "head",
                "name": "_test",
                "instance": ""
            },
            "oid": "be03-south.7213293.1___test",
            "locator": "be03-south.7213293.1__test",
            "needs_fixing": false,
            "status": "ok"
        },
        {
            "key": {
                "type": "tail",
                "name": "_test",
                "instance": ""
            },
            "needs_fixing": false,
            "status": "ok"
        },
        {
            "key": {
                "type": "head",
                "name": "_test2",
                "instance": "NiKP46KSCHJAVQbnkoGv.RLfuYobP7B"
            },
            "oid": "be03-south.7213293.1__:NiKP46KSCHJAVQbnkoGv.RLfuYobP7B__test2",
            "locator": "be03-south.7213293.1__test2",
            "needs_fixing": false,
            "status": "ok"
        },
        {
            "key": {
                "type": "tail",
                "name": "_test2",
                "instance": "NiKP46KSCHJAVQbnkoGv.RLfuYobP7B"
            },
            "needs_fixing": false,
            "status": "ok"
        },
        {
            "key": {
                "type": "head",
                "name": "_test3",
                "instance": ""
            },
            "oid": "be03-south.7213293.1___test3",
            "locator": "be03-south.7213293.1__test3",
            "needs_fixing": false,
            "status": "ok"
        },
        {
            "key": {
                "type": "tail",
                "name": "_test3",
                "instance": ""
            },
            "needs_fixing": false,
            "status": "ok"
        }

    ]
}

regards,
Sam





_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux