Re: not existing key from s3 list

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

 




----- Original Message -----
> From: "Dominik Mostowiec" <dominikmostowiec@xxxxxxxxx>
> To: ceph-users@xxxxxxxxxxxxxx
> Sent: Friday, March 13, 2015 4:50:18 PM
> Subject:  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
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux