Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread yiming xie
./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit --rgw-zonegroup=default --rgw-zone=default 2017-05-03 05:34:23.886966 7f9e6e0036c0 0 failed reading zonegroup info: ret -2 (2) No such file or directory couldn't init storage provider I will commit this issue. Thanks for your adv

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread Orit Wasserman
On Wed, May 3, 2017 at 12:13 PM, Orit Wasserman wrote: > > > On Wed, May 3, 2017 at 12:05 PM, yiming xie wrote: > >> Cluster c2 have not *zone:us-1* >> >> ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit >> --rgw-zonegroup=us --rgw-zone=us-1 >> > > try --rgw-zonegroup==default -

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread Orit Wasserman
On Wed, May 3, 2017 at 12:05 PM, yiming xie wrote: > Cluster c2 have not *zone:us-1* > > ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit > --rgw-zonegroup=us --rgw-zone=us-1 > try --rgw-zonegroup==default --rgw-zone=default. Could you open a tracker (tracker.ceph.com) issue ab

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread yiming xie
Cluster c2 have not zone:us-1 ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit --rgw-zonegroup=us --rgw-zone=us-1 2017-05-03 05:01:30.219721 7efcff2606c0 1 Cannot find zone id= (name=us-1), switching to local zonegroup configuration 2017-05-03 05:01:30.222956 7efcff2606c0 -1 C

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread Orit Wasserman
On Wed, May 3, 2017 at 11:51 AM, yiming xie wrote: > I run > ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit > > try adding --rgw-zonegroup=us1 --rgw-zone=us-1 > the error: > 2017-05-03 04:46:10.298103 7fdb2e4226c0 1 Cannot find zone > id=0cae32e6-82d5-489f-adf5-99e92c70f86f (

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread yiming xie
I run ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit the error: 2017-05-03 04:46:10.298103 7fdb2e4226c0 1 Cannot find zone id=0cae32e6-82d5-489f-adf5-99e92c70f86f (name=us-2), switching to local zonegroup configuration 2017-05-03 04:46:10.300145 7fdb2e4226c0 -1 Cannot find zon

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread Orit Wasserman
On Wed, May 3, 2017 at 11:36 AM, yiming xie wrote: > Hi Orit: > Thanks for your reply. > > when I recreate secondary zone group, there is still a error! > > radosgw-admin realm pull --url=http://localhost:8001 > --access-key=$SYSTEM_ACCESS_KEY > --secret=$SYSTEM_SECRET_KEY --default > rad

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread yiming xie
Hi Orit: Thanks for your reply. when I recreate secondary zone group, there is still a error! radosgw-admin realm pull --url=http://localhost:8001 --access-key=$SYSTEM_ACCESS_KEY --secret=$SYSTEM_SECRET_KEY --default radosgw-admin period pull --url=http://localhos

Re: [ceph-users] Help! how to create multiple zonegroups in single realm?

2017-05-03 Thread Orit Wasserman
Hi, On Wed, May 3, 2017 at 11:00 AM, yiming xie wrote: > Hi orit: > I try to create multiple zonegroups in single realm, but failed. Pls tell > me the correct way about creating multiple zonegroups > Tks a lot!! > > 1.create the firstr zone group on the c1 cluster > ./bin/radosgw-admin -c ./run/