Re: ceph.conf not found

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

 



If you named your cluster anything other than ceph, hopefully you can go back and rename it ceph. If not, you need to run 'ceph --cluster home -s'. Every single command you ever run against the cluster will need to have the cluster name specified. Not every tool out there is compatible with differently named clusters.


On Thu, Jan 4, 2018, 6:53 PM Donny Davis <donny@xxxxxxxxxxxxxx> wrote:
Change the name of the cluster to ceph and create /etc/ceph/ceph.conf

On Thu, Jan 4, 2018 at 6:31 PM, Nathan Dehnel <ncdehnel@xxxxxxxxx> wrote:
Hey, I get this error:

gentooserver ~ # ceph -s
2018-01-04 14:38:35.390154 7f0a6bae8700 -1 Errors while parsing config file!
2018-01-04 14:38:35.390157 7f0a6bae8700 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2018-01-04 14:38:35.390158 7f0a6bae8700 -1 parse_file: cannot open ~/.ceph/ceph.conf: (2) No such file or directory
2018-01-04 14:38:35.390158 7f0a6bae8700 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
Error initializing cluster client: ObjectNotFound('error calling conf_read_file',)

I don't have a ceph.conf because my cluster name is "home" and the guide at http://docs.ceph.com/docs/master/install/manual-deployment/ says to name the configuration file after the cluster name. What should I do to resolve this?

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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