version 10.2.2 radosgw-admin zone get returns "unable to initialize zone: (2) No such file or directory"

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

 



Hi all,


I have ran into two problems in zone field.


radosgw-admin zone get returns an error, but radosgw-admin zone list shows there is a "default" zone. 

Besides, radosgw-admin zone set  --rgw-zone=default2 would result in no response. Please refer to the following details:


[root@ceph-node1 ~]# radosgw-admin zone list

{
    "default_info": "",
    "zones": [
        "default"
    ]
}

[root@ceph-node1 ~]# radosgw-admin zone get
unable to initialize zone: (2) No such file or directory

[root@ceph-node1 ~]# radosgw-admin -v
ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)

I installed RGW on 3 nodes, but only 1 of them is instantiated. ceph.conf does not have any RGW related configuration (In fact, I think, without any manual configuration CEPH could manage itself well with its own default/generated configuration).
RGW is installed in this way:
ceph-deploy install --rgw ceph-node1 ceph-node2 ceph-node3
ceph-deploy admin ceph-node1
ceph-deploy rgw create ceph-node1

Moreover, many radosgw-admin operation complains 
2016-07-29 16:35:45.084781 7f2e0f2cf9c0  0 RGWZoneParams::create(): error creating default zone params: (17) File exists
but this seems to be a bug at https://github.com/ceph/ceph/pull/8909
Looking at the "zone file exists", I think these two problems are somehow related.

I have googled "unable to initialize zone: (2) No such file or directory" but no match. Did I miss anything in RGW installation? Or do I hit a RGW bug?  :S


Thanks!

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux