> I try to create two zone groups, but I have a problem. > I do not know where there was a mistake in this process. > > 1.create the firstr zone group on the c1 cluster > ./bin/radosgw-admin -c ./run/c1/ceph.conf realm create --rgw-realm=earth > --default > ./bin/radosgw-admin -c ./run/c1/ceph.conf zonegroup create --rgw-zonegroup=us > --endpoints=http://localhost:8001 <http://localhost:8001/> --master --default > > ./bin/radosgw-admin -c ./run/c1/ceph.conf zone create --rgw-zonegroup=us > --rgw-zone=us-1 --endpoints=http://localhost:8001 <http://localhost:8001/> > --master --default --access-key=$SYSTEM_ACCESS_KEY --secret=$SYSTEM_SECRET_KEY > ./bin/radosgw-admin -c ./run/c1/ceph.conf user create --uid=zone.user > --display-name="Zone User" --access-key=$SYSTEM_ACCESS_KEY > --secret=$SYSTEM_SECRET_KEY --system > ./bin/radosgw-admin -c ./run/c1/ceph.conf period update --commit > //start rgw > ./bin/radosgw -c ./run/c1/ceph.conf --log-file=./run/c1/out/rgw.log > --debug-rgw=20 --debug-ms=1 -i client.rgw.us <http://client.rgw.us/>-1 > -rgw-zone=us-1 > > 2.create the scondary zone group on the c2 cluster > ./bin/radosgw-admin -c ./run/c2/ceph.conf realm pull > --url=http://localhost:8001 <http://localhost:8001/> > --access-key=$SYSTEM_ACCESS_KEY --secret=$SYSTEM_SECRET_KEY > ./bin/radosgw-admin -c ./run/c2/ceph.conf zonegroup create > --rgw-zonegroup=us2 --endpoints=http://localhost:8002 > <http://localhost:8002/> --rgw-realm=earth > ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit > --rgw-zonegroup=us2 --rgw-realm=earth > > 2017-05-03 00:51:20.190417 7f538dbbb6c0 1 Cannot find zone id= (name=), > switching to local zonegroup configuration > 2017-05-03 00:51:20.192342 7f538dbbb6c0 -1 Cannot find zone id= (name=) > couldn't init storage provider > > Tks! >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com