Can't download some files from RGW

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

 



Hello,

I have some files that have been uploaded to a Ceph Jewel (10.2.2) cluster but can't be downloaded afterwards. HEAD on the file is successful but GET returns 404.

Here is the output from object stat for one of these files :

# radosgw-admin object stat --bucket=sam-storage-mtl-8m-00 --object=data/000/053/264/000053264382 2016-11-24 22:11:10.217854 7fe2985f39c0 0 RGWZoneParams::create(): error creating default zone params: (17) File exists
{
    "name": "data\/000\/053\/264\/000053264382",
    "size": 8348156246,
    "policy": {
        "acl": {
            "acl_user_map": [
                {
                    "user": "sam",
                    "acl": 15
                }
            ],
            "acl_group_map": [
                {
                    "group": 2,
                    "acl": 1
                }
            ],
            "grant_map": [
                {
                    "id": "",
                    "grant": {
                        "type": {
                            "type": 2
                        },
                        "id": "",
                        "email": "",
                        "permission": {
                            "flags": 1
                        },
                        "name": "",
                        "group": 2
                    }
                },
                {
                    "id": "sam",
                    "grant": {
                        "type": {
                            "type": 0
                        },
                        "id": "sam",
                        "email": "",
                        "permission": {
                            "flags": 15
                        },
                        "name": "SAM User",
                        "group": 0
                    }
                },
                {
                    "id": "sam",
                    "grant": {
                        "type": {
                            "type": 0
                        },
                        "id": "sam",
                        "email": "",
                        "permission": {
                            "flags": 2
                        },
                        "name": "SAM User",
                        "group": 0
                    }
                },
                {
                    "id": "sam",
                    "grant": {
                        "type": {
                            "type": 0
                        },
                        "id": "sam",
                        "email": "",
                        "permission": {
                            "flags": 1
                        },
                        "name": "SAM User",
                        "group": 0
                    }
                },
                {
                    "id": "sam",
                    "grant": {
                        "type": {
                            "type": 0
                        },
                        "id": "sam",
                        "email": "",
                        "permission": {
                            "flags": 8
                        },
                        "name": "SAM User",
                        "group": 0
                    }
                },
                {
                    "id": "sam",
                    "grant": {
                        "type": {
                            "type": 0
                        },
                        "id": "sam",
                        "email": "",
                        "permission": {
                            "flags": 4
                        },
                        "name": "SAM User",
                        "group": 0
                    }
                }
            ]
        },
        "owner": {
            "id": "sam",
            "display_name": "SAM User"
        }
    },
    "etag": "4168efac71e53734d8abf877ffcc8b39-1593\u0000",
    "tag": "_Tpd8KLPuSWQWaZCUGo1VkvMm-RN0Psx\u0000",
    "manifest": {
        "objs": [],
        "obj_size": 8348156246,
        "explicit_objs": "false",
        "head_obj": {
            "bucket": {
                "name": "sam-storage-mtl-8m-00",
                "pool": "default.rgw.buckets.data",
                "data_extra_pool": "default.rgw.buckets.non-ec",
                "index_pool": "default.rgw.buckets.index",
                "marker": "9efa3174-0317-4a8d-b1e0-4c37570e7b4c.144598.1",
"bucket_id": "9efa3174-0317-4a8d-b1e0-4c37570e7b4c.144598.1"
            },
            "key": "",
            "ns": "",
            "object": "data\/000\/053\/264\/000053264382",
            "instance": "",
            "orig_obj": "data\/000\/053\/264\/000053264382"
        },
        "head_size": 0,
        "max_head_size": 0,
"prefix": "data\/000\/053\/264\/000053264382.2~FehndlSB93HWK7y4YoQHcwEwek6CRqF",
        "tail_bucket": {
            "name": "sam-storage-mtl-8m-00",
            "pool": "default.rgw.buckets.data",
            "data_extra_pool": "default.rgw.buckets.non-ec",
            "index_pool": "default.rgw.buckets.index",
            "marker": "9efa3174-0317-4a8d-b1e0-4c37570e7b4c.144598.1",
            "bucket_id": "9efa3174-0317-4a8d-b1e0-4c37570e7b4c.144598.1"
        },
        "rules": [
            {
                "key": 0,
                "val": {
                    "start_part_num": 1,
                    "start_ofs": 0,
                    "part_size": 5242880,
                    "stripe_max_size": 4194304,
                    "override_prefix": ""
                }
            },
            {
                "key": 8346664960,
                "val": {
                    "start_part_num": 1593,
                    "start_ofs": 8346664960,
                    "part_size": 1491286,
                    "stripe_max_size": 4194304,
                    "override_prefix": ""
                }
            }
        ]
    },
    "attrs": {
        "user.rgw.content_type": "application\/octet-stream\u0000",
        "user.rgw.pg_ver": "��\u000b\u0000\u0000\u0000\u0000\u0000",
        "user.rgw.source_zone": "\u0000\u0000\u0000\u0000",
        "user.rgw.x-amz-storage-class": "REDUCED_REDUNDANCY\u0000"
    }
}


Any help would be appreciated.

Regards,
Martin


_______________________________________________
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