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

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

 



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 :(

Ondrej

> 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.
> 
> [1] https://docs.ceph.com/en/quincy/man/8/radosgw-admin/#commands
> 
> Thanks,
> Jayanth
> 
> On Fri, Dec 22, 2023 at 7:29 PM Ondřej Kukla <ondrej@xxxxxxx <mailto:ondrej@xxxxxxx>> wrote:
>> Hello,
>> 
>> 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?
>> 
>> Regards,
>> 
>> Ondrej
>> 
>> 
>> 
>> _______________________________________________
>> 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