On Fri, May 8, 2020 at 9:52 AM Seena Fallah <seenafallah(a)gmail.com> wrote:
Im just calling an admin api for getting all usage for all buckets. I don’t specify any
buckets there! And also sometimes getting bucket stats from radosgw-admin that if filtered
by uid that is exists and against I don’t specify any bucket!
The `radosgw-admin bucket stats` command (without additional arguments
like --uid or --bucket) will list all buckets the same way that the
admin api does.
On Fri, May 8, 2020 at 6:18 PM Casey Bodley <cbodley(a)redhat.com> wrote:
>
> The `radosgw-admin bucket stats` will run the same code as this admin
> api, so you can debug the command itself without touching your
> gateways.
>
> On Fri, May 8, 2020 at 9:28 AM Seena Fallah <seenafallah(a)gmail.com> wrote:
> >
> > I’m in a production mode and I can’t go on debug 20 always. This error is
useless by it self, if it contains bucket name it would be so helpful than it just says
error something that isn’t available (-2).
> >
> > On Fri, May 8, 2020 at 5:55 PM Casey Bodley <cbodley(a)redhat.com> wrote:
> >>
> >> On Fri, May 8, 2020 at 6:45 AM Seena Fallah <seenafallah(a)gmail.com>
wrote:
> >> >
> >> > Hi all.
> >> >
> >> > I'm getting lots of error getting bucket stats from my rgw
instances
> >> > and I can't figure out what's going wrong!
> >>
> >> can you enable debug_rgw=20 and debug_ms=1? that output will include
> >> the relevant bucket and bucket instance names. if you suspect bugs
> >> here, please open a tracker issue with the logs!
> >>
> >> > Can we add bucket name to this error to see whats happening in the
cluster?
> >> >
https://github.com/ceph/ceph/pull/34653
> >> >
> >> > Thanks.
> >> > _______________________________________________
> >> > Dev mailing list -- dev(a)ceph.io
> >> > To unsubscribe send an email to dev-leave(a)ceph.io
> >> >
> >>
>