Skip to contentSkip to conversation

Help! create the secondary zone group failed!

DISCUSSION yiming xie 1 participant 1 message May 3, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): C5A95B7C-8DB5-4CE1-B10B-1469336B67AC-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

yiming xie

author
#2 lore raw
Quoted 19 lines

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

Quoted 6 lines
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 [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com