Re: Rados Gateway Pools

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

 



On Tue, May 7, 2013 at 2:54 PM, Jeppesen, Nelson
<Nelson.Jeppesen@xxxxxxxxxx> 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: yehudasa@xxxxxxxxx [mailto:yehudasa@xxxxxxxxx] On Behalf Of Yehuda Sadeh
> Sent: Tuesday, May 07, 2013 2:46 PM
> To: Jeppesen, Nelson
> Cc: ceph-users@xxxxxxxxxxxxxx
> Subject: Re:  Rados Gateway Pools
>
> On Tue, May 7, 2013 at 2:26 PM, Jeppesen, Nelson <Nelson.Jeppesen@xxxxxxxxxx> 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
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