Thanks, Is there any option to fix bucket index automaticly? -- Regards
2015-03-14 4:49 GMT+01:00 Yehuda Sadeh-Weinraub <[email protected]>: > > > ----- Original Message ----- >> From: "Dominik Mostowiec" <[email protected]> >> To: [email protected] >> Sent: Friday, March 13, 2015 4:50:18 PM >> Subject: [ceph-users] not existing key from s3 list >> >> Hi, >> I found a strange problem with not existing file in s3. >> Object exists in list >> # s3 -u list bucketimages | grep 'files/fotoobject_83884@2/55673' >> files/fotoobject_83884@2/55673.JPG 2014-03-26T22:25:59Z 349K >> but: >> # s3 -u head 'bucketimages/files/fotoobject_83884@2/55673.JPG' >> >> ERROR: HttpErrorNotFound >> >> After a little digging: >> # radosgw-admin --bucket=bucketimages bucket stats | grep marker >> "marker": "default.7573587.55", >> >> # rados listomapkeys .dir.default.7573587.55 -p .rgw.buckets.index | >> grep 'files/fotoobject' >> files/fotoobject_83884@2/55673.JPG >> >> # rados -p .rgw.buckets.index getomapval .dir.default.7573587.55 >> 'files/fotoobject_83884@2/55673.JPG' >> No such key: >> .rgw.buckets.index/.dir.default.7573587.55/files/fotoobject_83884@2/55673.JPG >> >> What is wrong? > > It is likely that this object failed to upload, we returned an error for > that, but there was a bug (fixed recently) that we didn't clear the bucket > index entry correctly. > > Yehuda -- Pozdrawiam Dominik _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
