Re: Radosgw link/unlink problem

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

 



fix: it was not python boto, it was https://github.com/dyarnell/rgwadmin
but it doesn`t matter

-- 
Regards,
Mikhail


On Thu, 30 Jan 2014 19:54:16 +0300
Mikhail Krotyuk <kr0tuk@xxxxxxxxx> wrote:

> Hi,
> I have successfully upgraded production cluster to:
> ceph version 0.67.5 (a60ac9194718083a4b6a225fc17cad6096c69bd1)
> 
> 1. after this upgrade i see in radosgw.log:
> WARNING: couldn't find acl header for bucket, generating default
> 
> i found this http://tracker.ceph.com/issues/5691
> and checked the revision which i
> use (a60ac9194718083a4b6a225fc17cad6096c69bd1) and it contains patch
> from issue 5691. 
> 
> 2. now i have a problem with link and unlink buckets, which hasn`t
> existed before upgrade. I have created bucket through admin api with
> python boto and linked bucket from user1 to user2:
>    s.create_bucket(bucket_name)
>    s.link_bucket(bucket_name, uid)
> After that user2 cant read or write to it with access denied error, on
> previous releases bobtail and cuttlefish i could do this and
> everything worked fine.
> After these steps:
> $ sudo radosgw-admin bucket unlink --bucket=test-acl --uid=user2
> $ sudo radosgw-admin bucket link --bucket=test-acl --uid=user1
> $ s3cmd -c .s3cfg_rgw_user1 ls
> 2014-01-30 12:27  s3://test-acl
> $ sudo radosgw-admin bucket unlink --bucket=test-acl --uid=user1
> $ sudo radosgw-admin bucket link --bucket=test-acl --uid=user2
> 
> i see bucket but cant do anything with it:
> 
> $ sudo radosgw-admin bucket stats --bucket=test-acl
> 2014-01-30 20:29:21.965242 7f693764c780  0 could not get bucket info
> for bucket=test-acl
> 
> $ sudo radosgw-admin bucket rm --bucket=test-acl
> 2014-01-30 20:31:06.239770 7fdec3d72780  0 could not get bucket info
> for bucket=test-acl
> 
> $ sudo radosgw-admin bucket list | grep test-acl
>     "test-acl",
> 
> $ s3cmd -c .s3cfg_rgw_user2 ls
> 2014-01-30 12:27  s3://test-acl
> 
> $ s3cmd -c .s3cfg_rgw_user2 rb s3://test-acl
> ERROR: Bucket 'test-acl' does not exist
> 
> How to remove this bucket now? Any suggestions?
> 
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




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


  Powered by Linux