Created
August 18, 2015 08:29
-
-
Save gao-feng/e1d0d2379799f8655c60 to your computer and use it in GitHub Desktop.
ceph-deploy --overwrite-conf mon create-initial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gaofeng@localhost ~]$ ceph-deploy --overwrite-conf mon create-initial | |
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/gaofeng/.cephdeploy.conf | |
[ceph_deploy.cli][INFO ] Invoked (1.5.27): /usr/bin/ceph-deploy --overwrite-conf mon create-initial | |
[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-initial | |
[ceph_deploy.cli][INFO ] quiet : False | |
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x198cab8> | |
[ceph_deploy.cli][INFO ] cluster : ceph | |
[ceph_deploy.cli][INFO ] func : <function mon at 0x1982de8> | |
[ceph_deploy.cli][INFO ] ceph_conf : None | |
[ceph_deploy.cli][INFO ] default_release : False | |
[ceph_deploy.cli][INFO ] keyrings : None | |
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts node1 | |
[ceph_deploy.mon][DEBUG ] detecting platform for host node1 ... | |
[node1][DEBUG ] connection detected need for sudo | |
[node1][DEBUG ] connected to host: node1 | |
[node1][DEBUG ] detect platform information from remote host | |
[node1][DEBUG ] detect machine type | |
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.1.1503 Core | |
[node1][DEBUG ] determining if provided host has same hostname in remote | |
[node1][DEBUG ] get remote short hostname | |
[node1][WARNIN] ******************************************************************************** | |
[node1][WARNIN] provided hostname must match remote hostname | |
[node1][WARNIN] provided hostname: node1 | |
[node1][WARNIN] remote hostname: centos | |
[node1][WARNIN] monitors may not reach quorum and create-keys will not complete | |
[node1][WARNIN] ******************************************************************************** | |
[node1][DEBUG ] deploying mon to node1 | |
[node1][DEBUG ] get remote short hostname | |
[node1][DEBUG ] remote hostname: centos | |
[node1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf | |
[node1][DEBUG ] create the mon path if it does not exist | |
[node1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-centos/done | |
[node1][DEBUG ] create a done file to avoid re-doing the mon deployment | |
[node1][DEBUG ] create the init path if it does not exist | |
[node1][DEBUG ] locating the `service` executable... | |
[node1][INFO ] Running command: sudo /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.centos | |
[node1][DEBUG ] === mon.centos === | |
[node1][DEBUG ] Starting Ceph mon.centos on centos...already running | |
[node1][INFO ] Running command: sudo systemctl enable ceph | |
[node1][WARNIN] ceph.service is not a native service, redirecting to /sbin/chkconfig. | |
[node1][WARNIN] Executing /sbin/chkconfig ceph on | |
[node1][WARNIN] The unit files have no [Install] section. They are not meant to be enabled | |
[node1][WARNIN] using systemctl. | |
[node1][WARNIN] Possible reasons for having this kind of units are: | |
[node1][WARNIN] 1) A unit may be statically enabled by being symlinked from another unit's | |
[node1][WARNIN] .wants/ or .requires/ directory. | |
[node1][WARNIN] 2) A unit's purpose may be to act as a helper for some other unit which has | |
[node1][WARNIN] a requirement dependency on it. | |
[node1][WARNIN] 3) A unit may be started when needed via activation (socket, path, timer, | |
[node1][WARNIN] D-Bus, udev, scripted systemctl call, ...). | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[node1][WARNIN] monitor: mon.node1, might not be running yet | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[node1][WARNIN] monitor node1 does not exist in monmap | |
[node1][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors | |
[node1][WARNIN] monitors may not be able to form quorum | |
[ceph_deploy.mon][INFO ] processing monitor mon.node1 | |
[node1][DEBUG ] connection detected need for sudo | |
[node1][DEBUG ] connected to host: node1 | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[ceph_deploy.mon][WARNIN] mon.node1 monitor is not yet in quorum, tries left: 5 | |
[ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[ceph_deploy.mon][WARNIN] mon.node1 monitor is not yet in quorum, tries left: 4 | |
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[ceph_deploy.mon][WARNIN] mon.node1 monitor is not yet in quorum, tries left: 3 | |
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[ceph_deploy.mon][WARNIN] mon.node1 monitor is not yet in quorum, tries left: 2 | |
[ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying | |
[node1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.node1.asok mon_status | |
[node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory | |
[ceph_deploy.mon][WARNIN] mon.node1 monitor is not yet in quorum, tries left: 1 | |
[ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying | |
[ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum: | |
[ceph_deploy.mon][ERROR ] node1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment