Re: [ceph-users] Multi tenanted radosgw and existing Keystone users/tenants

2018-12-05 Thread Mark Kirkwood
On 6/12/18 5:24 AM, Florian Haas wrote:
> Hi Mark,
>
> On 04/12/2018 04:41, Mark Kirkwood wrote:
>> Hi,
>>
>> I've set up a Luminous RGW with Keystone integration, and subsequently set
>>
>> rgw keystone implicit tenants = true
>>
>> So now all newly created users/tenants (or old ones that never accessed
>> RGW) get their own namespaces. However there are some pre-existing users
>> that have created buckets and objects - and these are in the global
>> namespace. Is there any way to move the existing buckets and objects to
>> private namespaces and change these users to use said private namespaces?
> It looks like you're running into the issue described in this PR:
> https://github.com/ceph/ceph/pull/23994
>
> Sooo... bit complicated, fix still pending.


Thanks!

FWIW for a very small number of existing buckets and objects, unloading
the buckets and objects, deleting the buckets and the RGW user (i.e
*not* the Keystone tenant + user) and reloading again works. Clearly
this rapidly becomes unwieldy...


Cheers

Mark

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Multi tenanted radosgw and existing Keystone users/tenants

2018-12-05 Thread Matt Benjamin
This capability is stable and should merge to master shortly.

Matt
On Wed, Dec 5, 2018 at 11:24 AM Florian Haas  wrote:
>
> Hi Mark,
>
> On 04/12/2018 04:41, Mark Kirkwood wrote:
> > Hi,
> >
> > I've set up a Luminous RGW with Keystone integration, and subsequently set
> >
> > rgw keystone implicit tenants = true
> >
> > So now all newly created users/tenants (or old ones that never accessed
> > RGW) get their own namespaces. However there are some pre-existing users
> > that have created buckets and objects - and these are in the global
> > namespace. Is there any way to move the existing buckets and objects to
> > private namespaces and change these users to use said private namespaces?
>
> It looks like you're running into the issue described in this PR:
> https://github.com/ceph/ceph/pull/23994
>
> Sooo... bit complicated, fix still pending.
>
> Cheers,
> Florian
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>


-- 

Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-821-5101
fax.  734-769-8938
cel.  734-216-5309
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com