ceph Jewel ceph-deploy kann nicht erstellt werden

374
Philip Scot

Ich versuche einen ceph-Cluster mit 3 Knoten auf Ubuntu 16.04 zu erstellen.

Ich folgte diesem und diesem Leitfaden, stolpere aber zum ceph-deploy mon create-initialTeil.

Ich habe es auch versucht, ceph-deploy --overwrite-conf mon create ceph-node1 ceph-node2 ceph-node3aber das Ergebnis war das gleiche:

[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph-deploy/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.39): /usr/bin/ceph-deploy --overwrite-conf mon create ceph-node1 ceph-node2 ceph-node3 [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] overwrite_conf : True [ceph_deploy.cli][INFO ] subcommand : create [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at ***********> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] mon : ['ceph-node1', 'ceph-node2', 'ceph-node3'] [ceph_deploy.cli][INFO ] func : <function mon at ************> [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] keyrings : None [ceph_deploy.cli][INFO ] default_release : False [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph-node1 ceph-node2 ceph-node3 [ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node1 ... [ceph-node1][DEBUG ] connection detected need for sudo [ceph-node1][DEBUG ] connected to host: ceph-node1 [ceph-node1][DEBUG ] detect platform information from remote host [ceph-node1][DEBUG ] detect machine type [ceph-node1][DEBUG ] find the location of an executable [ceph_deploy.mon][INFO ] distro info: Ubuntu 16.04 xenial [ceph-node1][DEBUG ] determining if provided host has same hostname in remote [ceph-node1][DEBUG ] get remote short hostname [ceph-node1][WARNIN] ******************************************************************************** [ceph-node1][WARNIN] provided hostname must match remote hostname [ceph-node1][WARNIN] provided hostname: ceph-node1 [ceph-node1][WARNIN] remote hostname: ceph-test-1 [ceph-node1][WARNIN] monitors may not reach quorum and create-keys will not complete [ceph-node1][WARNIN] ******************************************************************************** [ceph-node1][DEBUG ] deploying mon to ceph-node1 [ceph-node1][DEBUG ] get remote short hostname [ceph-node1][DEBUG ] remote hostname: ceph-test-1 [ceph-node1][DEBUG ] write cluster configuration to /etc/ceph/.conf [ceph-node1][DEBUG ] create the mon path if it does not exist [ceph-node1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-test-1/done [ceph-node1][DEBUG ] create a done file to avoid re-doing the mon deployment [ceph-node1][DEBUG ] create the init path if it does not exist [ceph-node1][INFO ] Running command: sudo systemctl enable ceph.target [ceph-node1][INFO ] Running command: sudo systemctl enable ceph-mon@ceph-test-1 [ceph-node1][INFO ] Running command: sudo systemctl start ceph-mon@ceph-test-1 [ceph-node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status [ceph-node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph-node1][WARNIN] monitor: mon.ceph-node1, might not be running yet [ceph-node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status [ceph-node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph-node1][WARNIN] monitor ceph-node1 does not exist in monmap 

Die Nachricht wird für die anderen 2 Knoten erneut wiederholt und dann angehalten.

Kann jemand helfen?

0

0 Antworten auf die Frage