about rgw region and zone

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

 



Hi: all
 
when I Configuring Federated Gateways£¬ I got  the error as below:
 
sudo radosgw-agent  -c  /etc/ceph/ceph-data-sync.conf 
ERROR:root:Could not retrieve region map from destination
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/radosgw_agent/cli.py", line 269, in main
    region_map = client.get_region_map(dest_conn)
  File "/usr/lib/python2.6/site-packages/radosgw_agent/client.py", line 391, in get_region_map
    region_map = request(connection, 'get', 'admin/config')
  File "/usr/lib/python2.6/site-packages/radosgw_agent/client.py", line 155, in request
    check_result_status(result)
  File "/usr/lib/python2.6/site-packages/radosgw_agent/client.py", line 116, in check_result_status
    HttpError)(result.status_code, result.content)
NotFound: Http error code 404 content {"Code":"NoSuchKey"}
 
 
I  have some quesions when I execute the command
1¡¢radosgw-admin zone set --rgw-zone=us-west --infile us-west.json --name client.radosgw.us-west-1
i  have no idea about the option --name ,   what's the difference  if  i  do it without --name config;
 
2¡¢Create a Region
there is a conversation near the end of doc :
   If you use different Ceph Storage Cluster instances for regions, you should repeat steps 2, 4 and 5 in by executing them with --nameclient.radosgw-us-west-1. You may also export the region map from the initial gateway instance and import it followed by updating the region map.
 
I has one cluster named ceph, one region named us, and two zones: us-east¡¢ us-west£¬ us-east is the  master  zone. I has two gateway instances£ºclient.radosgw.us-east-1¡¢client.radosgw.us-west-1.  Do i need repeat steps 2,4,and 5? do  i need export the region map from the  initial gateway instance and import it
 
 
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux