Re: RADOSGW Logs

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

 



On Fri, Oct 31, 2014 at 8:06 AM, Dane Elwell <dane.elwell@xxxxxxxxx> wrote:
> I think I may have answered my own question:
>
> http://tracker.ceph.com/issues/8553
>
> Looks like this is fixed in Giant, which we'll be deploying as soon as
> 0.87.1 is out ;)
>
> Thanks
>
> Dane
>
> On 31 October 2014 09:08, Dane Elwell <dane.elwell@xxxxxxxxx> wrote:
>> Hi guys,
>>
>> I'm having some issues trying to view the logs for a bucket (the
>> background to this is we're having trouble handling some multipart
>> uploads over 1000 parts in size, but that's one for another post).
>>
>> Using `radosgw-admin log list` I can see the logs themselves, e.g.:
>>
>> "2014-10-25-06-default.1141808.42-mybucket",
>> "2014-10-23-23-default.1141808.42-mybucket",
>> "2014-10-24-13-default.1141808.42-mybucket",
>> "2014-10-30-11-default.1141808.42-mybucket",
>>
>> But when trying to access them with `radosgw-admin log show` I'm
>> getting these errors:
>>
>> # radosgw-admin --id=radosgw.gateway log show --bucket=mybucket
>> --date=2014-10-30 --bucket-id=default.1141808.42
>> error reading log 2014-10-30-default.1141808.42-: (2) No such file or directory
>>
>> radosgw-admin doesn't appear to be putting the log name together
>> correctly, because I can sorta fudge it to get close to the log name,
>> but there's always that trailing dash foiling my cunning plan:
>>
>> # radosgw-admin --id=radosgw.gateway log show --bucket=mybucket
>> --date=2014-10-30-11 --bucket-id=default.1141808.42-mybucket
>> error reading log 2014-10-30-11-default.1141808.42-mybucket-: (2) No
>> such file or directory
>>
>> What is the correct way of viewing these logs?
>>
>> # ceph --version
>> ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3)
>>
>> Also the man page for radosgw-admin is out of date as it still says
>> you can do this, which is no longer true:
>>
>>    Show the logs of a bucket from April 1st, 2012:
>>
>>           $ radosgw-admin log show --bucket=foo --date=2012=04-01
>>

You can try running:
$ radosgw-admin log show --object=2014-10-25-06-default.1141808.42-mybucket

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