1. 程式人生 > >ceph-deploy error

ceph-deploy error

[[email protected] cluster]# ceph-deploy --overwrite-conf mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.37): /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 0x22b99e0>
[ceph_deploy.cli][INFO  ]  cluster                       : ceph
[ceph_deploy.cli][INFO  ]  func                          : <function mon at 0x22b21b8>
[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 node-1 node-2 node-3
[ceph_deploy.mon][DEBUG ] detecting platform for host node-1 ...
[node-1][DEBUG ] connected to host: node-1 
[node-1][DEBUG ] detect platform information from remote host
[node-1][DEBUG ] detect machine type
[node-1][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO  ] distro info: CentOS Linux 7.2.1511 Core
[node-1][DEBUG ] determining if provided host has same hostname in remote
[node-1][DEBUG ] get remote short hostname
[node-1][DEBUG ] deploying mon to node-1
[node-1][DEBUG ] get remote short hostname
[node-1][DEBUG ] remote hostname: node-1
[node-1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[node-1][DEBUG ] create the mon path if it does not exist
[node-1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-node-1/done
[node-1][DEBUG ] create a done file to avoid re-doing the mon deployment
[node-1][DEBUG ] create the init path if it does not exist
[node-1][DEBUG ] locating the `service` executable...
[node-1][INFO  ] Running command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-1
[node-1][WARNIN] /etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
[node-1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-1
[ceph_deploy.mon][DEBUG ] detecting platform for host node-2 ...
[node-2][DEBUG ] connected to host: node-2 
[node-2][DEBUG ] detect platform information from remote host
[node-2][DEBUG ] detect machine type
[node-2][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO  ] distro info: CentOS Linux 7.2.1511 Core
[node-2][DEBUG ] determining if provided host has same hostname in remote
[node-2][DEBUG ] get remote short hostname
[node-2][DEBUG ] deploying mon to node-2
[node-2][DEBUG ] get remote short hostname
[node-2][DEBUG ] remote hostname: node-2
[node-2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[node-2][DEBUG ] create the mon path if it does not exist
[node-2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-node-2/done
[node-2][DEBUG ] create a done file to avoid re-doing the mon deployment
[node-2][DEBUG ] create the init path if it does not exist
[node-2][DEBUG ] locating the `service` executable...
[node-2][INFO  ] Running command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-2
[node-2][WARNIN] /etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
[node-2][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-2
[ceph_deploy.mon][DEBUG ] detecting platform for host node-3 ...
[node-3][DEBUG ] connected to host: node-3 
[node-3][DEBUG ] detect platform information from remote host
[node-3][DEBUG ] detect machine type
[node-3][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO  ] distro info: CentOS Linux 7.2.1511 Core
[node-3][DEBUG ] determining if provided host has same hostname in remote
[node-3][DEBUG ] get remote short hostname
[node-3][DEBUG ] deploying mon to node-3
[node-3][DEBUG ] get remote short hostname
[node-3][DEBUG ] remote hostname: node-3
[node-3][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[node-3][DEBUG ] create the mon path if it does not exist
[node-3][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-node-3/done
[node-3][DEBUG ] create a done file to avoid re-doing the mon deployment
[node-3][DEBUG ] create the init path if it does not exist
[node-3][DEBUG ] locating the `service` executable...
[node-3][INFO  ] Running command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-3
[node-3][WARNIN] /etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
[node-3][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.node-3