Re: Using ceph deploy with mon.a instead of mon.hostname?

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

 



Quoting Oliver Schulz (oliver.schulz@xxxxxxxxxxxxxx):
> Dear Ceph Experts,
> 
> I'm try to switch an old Ceph cluster from manual administration to
> ceph-deploy, but I'm running into the following error:
> 
> # ceph-deploy gatherkeys HOSTNAME
> 
> [HOSTNAME][INFO  ] Running command: /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.HOSTNAME.asok mon_status
> [HOSTNAME][ERROR ] "ceph mon_status HOSTNAME" returned 22
> [HOSTNAME][DEBUG ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
> 
> The problem seems to stem from the fact that the cluster still uses
> the naming scheme "mon.a", "mon.b", etc., while ceph-deploy assumes
> "mon.HOSTNAME".
> 
> Is the a workaround for this, resp. a way to fix the cluster? Or
> will it be necessary to recreate all mons?

I believe it might have to do with the requirement for "ceph-deploy" to
have a "mon_initial_members = your MONs here". Do you have that in your
ceph.conf file on the node you are deploying from? 

Gr. Stefan


-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / info@xxxxxx
_______________________________________________
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