From: yiming xie Subject: Help! create the secondary zone group failed! Date: Wed, 3 May 2017 15:04:49 +0800 Message-ID: <7EE1EAEE-D974-4880-8486-26D9A71FCA09@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/mixed; boundary="===============1468048588==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org Sender: "ceph-users" To: Ceph Users , "ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: ceph-devel.vger.kernel.org --===============1468048588== Content-Type: multipart/alternative; boundary="Apple-Mail=_146F2EDB-E8C3-4964-B2E0-DA98764CFAB8" --Apple-Mail=_146F2EDB-E8C3-4964-B2E0-DA98764CFAB8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > I try to create two zone groups, but I have a problem. > I do not know where there was a mistake in this process. >=20 > 1.create the firstr zone group on the c1 cluster > ./bin/radosgw-admin -c ./run/c1/ceph.conf realm create = --rgw-realm=3Dearth --default > ./bin/radosgw-admin -c ./run/c1/ceph.conf zonegroup create = --rgw-zonegroup=3Dus --endpoints=3Dhttp://localhost:8001 = --master --default >=20 > ./bin/radosgw-admin -c ./run/c1/ceph.conf zone create = --rgw-zonegroup=3Dus --rgw-zone=3Dus-1 --endpoints=3Dhttp://localhost:8001= --master --default = --access-key=3D$SYSTEM_ACCESS_KEY --secret=3D$SYSTEM_SECRET_KEY > ./bin/radosgw-admin -c ./run/c1/ceph.conf user create --uid=3Dzone.user = --display-name=3D"Zone User" --access-key=3D$SYSTEM_ACCESS_KEY = --secret=3D$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=3D./run/c1/out/rgw.log = --debug-rgw=3D20 --debug-ms=3D1 -i client.rgw.us = -1 -rgw-zone=3Dus-1 >=20 > 2.create the scondary zone group on the c2 cluster > ./bin/radosgw-admin -c ./run/c2/ceph.conf realm pull = --url=3Dhttp://localhost:8001 = --access-key=3D$SYSTEM_ACCESS_KEY --secret=3D$SYSTEM_SECRET_KEY > ./bin/radosgw-admin -c ./run/c2/ceph.conf zonegroup create = --rgw-zonegroup=3Dus2 --endpoints=3Dhttp://localhost:8002 = --rgw-realm=3Dearth > ./bin/radosgw-admin -c ./run/c2/ceph.conf period update --commit = --rgw-zonegroup=3Dus2 --rgw-realm=3Dearth >=20 > 2017-05-03 00:51:20.190417 7f538dbbb6c0 1 Cannot find zone id=3D = (name=3D), switching to local zonegroup configuration > 2017-05-03 00:51:20.192342 7f538dbbb6c0 -1 Cannot find zone id=3D = (name=3D) > couldn't init storage provider >=20 > Tks! >=20 --Apple-Mail=_146F2EDB-E8C3-4964-B2E0-DA98764CFAB8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

   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=3Dearth --default
./bin/radosgw-admin -c ./run/c1/ceph.conf zonegroup = create --rgw-zonegroup=3Dus --endpoints=3Dhttp://localhost:8001 = --master --default

./bin/radosgw-admin -c ./run/c1/ceph.conf zone create = --rgw-zonegroup=3Dus --rgw-zone=3Dus-1 --endpoints=3Dhttp://localhost:8001 = --master --default --access-key=3D$SYSTEM_ACCESS_KEY = --secret=3D$SYSTEM_SECRET_KEY
./bin/radosgw-admin -c ./run/c1/ceph.conf user create = --uid=3Dzone.user --display-name=3D"Zone User" = --access-key=3D$SYSTEM_ACCESS_KEY --secret=3D$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=3D./run/c1/out/rgw.log --debug-rgw=3D20 --debug-ms=3D1 -i client.rgw.us-1 = -rgw-zone=3Dus-1

2.create the scondary zone group on the c2 = cluster
./bin/radosgw-admin = -c ./run/c2/ceph.conf realm pull --url=3Dhttp://localhost:8001 = --access-key=3D$SYSTEM_ACCESS_KEY --secret=3D$SYSTEM_SECRET_KEY
./bin/radosgw-admin -c = ./run/c2/ceph.conf zonegroup create --rgw-zonegroup=3Dus2 --endpoints=3Dhttp://localhost:8002 = --rgw-realm=3Dearth
./bin/radosgw-admin -c ./run/c2/ceph.conf period update = --commit --rgw-zonegroup=3Dus2 --rgw-realm=3Dearth

2017-05-03 = 00:51:20.190417 7f538dbbb6c0  1 Cannot find zone id=3D (name=3D), = switching to local zonegroup configuration
2017-05-03 = 00:51:20.192342 7f538dbbb6c0 -1 Cannot find zone id=3D = (name=3D)
couldn't init storage provider

Tks!


= --Apple-Mail=_146F2EDB-E8C3-4964-B2E0-DA98764CFAB8-- --===============1468048588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ceph-users mailing list ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com --===============1468048588==--