[ceph-users] Re: How to find the bucket name from Radosgw log?

2023-04-27 Thread Boris Behrens
Cheers Dan,

would it be an option to enable the ops log? I still didn't figure out how
it is actually working.
But I am also thinking to move to the logparsing in HAproxy and disable the
access log on the RGW instances.

Am Mi., 26. Apr. 2023 um 18:21 Uhr schrieb Dan van der Ster <
dan.vanders...@clyso.com>:

> Hi,
>
> Your cluster probably has dns-style buckets enabled.
> ..
> In that case the path does not include the bucket name, and neither
> does the rgw log.
> Do you have a frontend lb like haproxy? You'll find the bucket names there.
>
> -- Dan
>
> __
> Clyso GmbH | https://www.clyso.com
>
>
> On Tue, Apr 25, 2023 at 2:34 PM  wrote:
> >
> > I find a log like this, and I thought the bucket name should be "photos":
> >
> > [2023-04-19 15:48:47.0.5541s] "GET /photos/shares/
> >
> > But I can not find it:
> >
> > radosgw-admin bucket stats --bucket photos
> > failure: 2023-04-19 15:48:53.969 7f69dce49a80  0 could not get bucket
> info for bucket=photos
> > (2002) Unknown error 2002
> >
> > How does this happen? Thanks
> > ___
> > ceph-users mailing list -- ceph-users@ceph.io
> > To unsubscribe send an email to ceph-users-le...@ceph.io
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>


-- 
Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im
groüen Saal.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: How to find the bucket name from Radosgw log?

2023-04-26 Thread Dan van der Ster
Hi,

Your cluster probably has dns-style buckets enabled. ..
In that case the path does not include the bucket name, and neither
does the rgw log.
Do you have a frontend lb like haproxy? You'll find the bucket names there.

-- Dan

__
Clyso GmbH | https://www.clyso.com


On Tue, Apr 25, 2023 at 2:34 PM  wrote:
>
> I find a log like this, and I thought the bucket name should be "photos":
>
> [2023-04-19 15:48:47.0.5541s] "GET /photos/shares/
>
> But I can not find it:
>
> radosgw-admin bucket stats --bucket photos
> failure: 2023-04-19 15:48:53.969 7f69dce49a80  0 could not get bucket info 
> for bucket=photos
> (2002) Unknown error 2002
>
> How does this happen? Thanks
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io