On Tue, May 7, 2013 at 2:54 PM, Jeppesen, Nelson
<[email protected]> wrote:
> The settings are under the the rgw client settings
>
> [client.radosgw.internal.01]
> rgw root zone pool = .rgw.zone2
> rgw cluster root pool = .rgw.zone2
>
> I tried 'radosgw-admin zone set --rgw-root-zone-pool=.rgw.zone2 < zone2'
> and 'radosgw-admin zone info --rgw-root-zone-pool=.rgw.zone2'
That should have worked:
$ ./radosgw-admin --rgw-zone-root-pool=.rgw.root2 zone info
{ "domain_root": ".rgw",
"control_pool": ".rgw.control",
"gc_pool": ".rgw.gc",
"log_pool": ".log",
"intent_log_pool": ".intent-log",
"usage_log_pool": ".usage",
"user_keys_pool": ".users",
"user_email_pool": ".users.email",
"user_swift_pool": ".users.swift",
"user_uid_pool ": ".users.uid"}
$ ./radosgw-admin --rgw-zone-root-pool=.rgw.root2 zone set < zone.1
{ "domain_root": ".rgw2",
"control_pool": ".rgw.control2",
"gc_pool": ".rgw.gc2",
"log_pool": ".log2",
"intent_log_pool": ".intent-log2",
"usage_log_pool": ".usage2",
"user_keys_pool": ".users2",
"user_email_pool": ".users.email2",
"user_swift_pool": ".users.swift2",
"user_uid_pool ": ".users.uid2"}
Can you make sure you're running the correct version?
>
> Neither is reading from .rgw.zone2. How do you get radosgw-admin to run as a
> different user?
>
$ radosgw-admin -n client.radosgw.internal.01 ...
>
> Nelson Jeppesen
> Disney Technology Solutions and Services
> Phone 206-588-5001
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Yehuda Sadeh
> Sent: Tuesday, May 07, 2013 2:46 PM
> To: Jeppesen, Nelson
> Cc: [email protected]
> Subject: Re: [ceph-users] Rados Gateway Pools
>
> On Tue, May 7, 2013 at 2:26 PM, Jeppesen, Nelson <[email protected]>
> wrote:
>> Now the .61 is out I have tried getting a second radosgw farm working
>> but into an issue using a custom root/zone pool.
>>
>>
>>
>> The 'radosgw-admin zone set' and ' radosgw-admin zone info' commands
>> are working fine except it keeps defaulting to using .rgw.root. I've
>> tried the two settings, the one you gave and the one documented on
>> ceph.com in my conf file but still no luck.
>>
>>
>>
>> My Ceph.conf
>>
>> ....
>>
>> rgw root zone pool = .rgw.zone2
>>
>> rgw cluster root pool = .rgw.zone2
>
> Under what section is that? Note that usually you'd run radosgw-admin under
> the client.admin user, so it might not get this configuration.
> Try running the radosgw-admin --rgw-root-zone-pool=.rgw.zone2, see if it
> fixes it for you.
>
> Yehuda
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com