Hi, I found the documentation for metadata get to be unhelpful for what syntax to use. I eventually found that it's this: radosgw-admin metadata get bucket:{bucket_name} or radosgw-admin metadata get bucket.instance:{bucket_name}:{instance_id} Hopefully that helps you or someone else struggling with this. Rich On Wed, 15 Mar 2023 at 07:18, Gaël THEROND <gael.therond@bitswalk.com> wrote:
Alright, Seems something is odd out there, if I do a radosgw-admin metadata list
I’ve got the following list:
[ ”bucket”, ”bucket.instance”, ”otp”, ”user” ]
BUT
When I try a radosgw-admin metadata get bucket or bucket.instance it complain with the following error:
ERROR: can’t get key: (22) Invalid argument
Ok, fine for the api, I’ll deal with the s3 api.
Even if a radosgw-admin bucket flush version —keep-current or something similar would be much appreciated xD
Le mar. 14 mars 2023 à 19:07, Robin H. Johnson <robbat2@gentoo.org> a écrit :
On Tue, Mar 14, 2023 at 06:59:51PM +0100, Gaël THEROND wrote:
Versioning wasn’t enabled, at least not explicitly and for the documentation it isn’t enabled by default.
Using nautilus.
I’ll get all the required missing information on tomorrow morning, thanks for the help!
Is there a way to tell CEPH to delete versions that aren’t current used one with radosgw-admin?
If not I’ll use the rest api no worries. Nope, s3 API only.
You should also check for incomplete multiparts. For that, I recommend using AWSCLI or boto directly. Specifically not s3cmd, because s3cmd doesn't respect the <IsTruncated> flag properly.
-- Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io