On Thu, Jun 5, 2014 at 8:42 PM, Derek Yarnell <de...@umiacs.umd.edu> wrote:
> On 11/28/13, 4:18 AM, Dan Van Der Ster wrote:
>> Dear users/experts,
>> Does anyone know how to use radosgw-admin log show? It seems to not properly 
>> read the --bucket parameter.
>>
>> # radosgw-admin log show --bucket=asdf --date=2013-11-28-09 
>> --bucket-id=default.7750582.1
>> error reading log 2013-11-28-09-default.7750582.1-: (2) No such file or 
>> directory
>>
>> The relevant log _is_ there, its just the the log show command didn’t append 
>> the bucket name as it should have:
>>
>> # radosgw-admin log list
>> [
>>     "2013-11-28-09-default.7750582.1-asdf",
>>     "2013-11-28-10-default.7750582.1-asdf”]
>>
>>
>> # radosgw-admin --version
>> ceph version 0.67.4 (ad85b8bfafea6232d64cb7ba76a8b6e8252fa0c7)
>
> Hi,
>
> Not to bring up a old post but we just hit this too.  The `radosgw-admin
> log show` command seems broken for us too both on our older 0.67.4
> cluster and the newer 0.80 cluster.
>
> # radosgw-admin log show --date=2014-01-27 --bucket=dsommer_archive
> --bucket-id=default.19669.6
> error reading log 2014-01-27-default.19669.6-: (2) No such file or directory
>
> Is this just broken or is the more than meets the eye here.

Right, seems broken actually. I opened a ceph tracker issue (8553),
and pushed a fix for wip-8553-dumpling, you can try it if you'd like.
Another way to look at the log is by doing log list and then

# radosgw-admin log show --object=<log object>

Yehuda

>
> Thanks,
> derek
>
> --
> Derek T. Yarnell
> University of Maryland
> Institute for Advanced Computer Studies
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to