Re: RGW - user created bucket with name of already created bucket

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


Hello Ondrej,

Does renaming the bucket help? I see the command [1] takes the UID.
How about you take the maintenance window from your both of the users and try renaming usernames or bucket names to see if either helps?



From: Ondřej Kukla <ondrej@xxxxxxx>
Sent: Friday, January 12, 2024 4:19:32 PM
To: Jayanth Reddy <jayanthreddy5666@xxxxxxxxx>
Cc: ceph-users@xxxxxxx <ceph-users@xxxxxxx>
Subject: Re:  RGW - user created bucket with name of already created bucket

Thanks Jayanth,

I’ve tried this but unfortunately the unlink fails as the it checks against the bucket owner id which is not the user I’m trying to unlink.

So I’m still stuck here with two users with same bucket name :(


On 24. 12. 2023, at 17:14, Jayanth Reddy <jayanthreddy5666@xxxxxxxxx> wrote:

Hi Ondřej,
I've not tried it myself, but see if you can use # radosgw-admin bucket unlink [1] command to achieve it. It is strange that the user was somehow able to create the bucket with the same name. We've also got v17.2.6 and have not encountered this so far. Maybe devs from RGW can answer this.



On Fri, Dec 22, 2023 at 7:29 PM Ondřej Kukla <ondrej@xxxxxxx<mailto:ondrej@xxxxxxx>> wrote:

I would like to share a quite worrying experience I’ve just found on one of my production clusters.

User successfully created a bucket with name of a bucket that already exists!

He is not bucket owner - the original user is, but he is able to see it when he does ListBuckets over s3 api. (Both accounts are able to do it now - only the original owner is able to interact with it)

This bucket is also counted to the new users usage stats.

Has anyone noticed this before? This cluster is running on Quincy - 17.2.6.

Is there a way to detach the bucket from the new owner so he doesn’t have a bucket that doesn’t belong to him?



ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>

ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]

  Powered by Linux