安装信息如下:
[ceph@node-20 ceph]$ ceph-deploy new node-20 node-21 node-22 node-23
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /usr/bin/ceph-deploy new node-20 node-21 node-22 node-23
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] func : <function new at 0x22c0b18>
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x22e80e0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] ssh_copykey : True
[ceph_deploy.cli][INFO ] mon : ['node-20', 'node-21', 'node-22', 'node-23']
[ceph_deploy.cli][INFO ] public_network : None
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] cluster_network : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] fsid : None
[ceph_deploy.new][DEBUG ] Creating new cluster named ceph
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[node-20][DEBUG ] connection detected need for sudo
[node-20][DEBUG ] connected to host: node-20
[node-20][DEBUG ] detect platform information from remote host
[node-20][DEBUG ] detect machine type
[node-20][DEBUG ] find the location of an executable
[node-20][INFO ] Running command: sudo /sbin/ip link show
[node-20][INFO ] Running command: sudo /sbin/ip addr show
[node-20][DEBUG ] IP addresses found: ['192.168.8.20']
[ceph_deploy.new][DEBUG ] Resolving host node-20
[ceph_deploy.new][DEBUG ] Monitor node-20 at 192.168.8.20
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[node-21][DEBUG ] connected to host: node-20
[node-21][INFO ] Running command: ssh -CT -o BatchMode=yes node-21
[node-21][DEBUG ] connection detected need for sudo
[node-21][DEBUG ] connected to host: node-21
[node-21][DEBUG ] detect platform information from remote host
[node-21][DEBUG ] detect machine type
[node-21][DEBUG ] find the location of an executable
[node-21][INFO ] Running command: sudo /sbin/ip link show
[node-21][INFO ] Running command: sudo /sbin/ip addr show
[node-21][DEBUG ] IP addresses found: ['192.168.8.21']
[ceph_deploy.new][DEBUG ] Resolving host node-21
[ceph_deploy.new][DEBUG ] Monitor node-21 at 192.168.8.21
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[node-22][DEBUG ] connected to host: node-20
[node-22][INFO ] Running command: ssh -CT -o BatchMode=yes node-22
[node-22][DEBUG ] connection detected need for sudo
[node-22][DEBUG ] connected to host: node-22
[node-22][DEBUG ] detect platform information from remote host
[node-22][DEBUG ] detect machine type
[node-22][DEBUG ] find the location of an executable
[node-22][INFO ] Running command: sudo /sbin/ip link show
[node-22][INFO ] Running command: sudo /sbin/ip addr show
[node-22][DEBUG ] IP addresses found: ['192.168.8.22']
[ceph_deploy.new][DEBUG ] Resolving host node-22
[ceph_deploy.new][DEBUG ] Monitor node-22 at 192.168.8.22
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[node-23][DEBUG ] connected to host: node-20
[node-23][INFO ] Running command: ssh -CT -o BatchMode=yes node-23
[node-23][DEBUG ] connection detected need for sudo
[node-23][DEBUG ] connected to host: node-23
[node-23][DEBUG ] detect platform information from remote host
[node-23][DEBUG ] detect machine type
[node-23][DEBUG ] find the location of an executable
[node-23][INFO ] Running command: sudo /sbin/ip link show
[node-23][INFO ] Running command: sudo /sbin/ip addr show
[node-23][DEBUG ] IP addresses found: ['192.168.8.23']
[ceph_deploy.new][DEBUG ] Resolving host node-23
[ceph_deploy.new][DEBUG ] Monitor node-23 at 192.168.8.23
[ceph_deploy.new][DEBUG ] Monitor initial members are ['node-20', 'node-21', 'node-22', 'node-23']
[ceph_deploy.new][DEBUG ] Monitor addrs are ['192.168.8.20', '192.168.8.21', '192.168.8.22', '192.168.8.23']
[ceph_deploy.new][DEBUG ] Creating a random mon key...
[ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
[ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
Error in sys.exitfunc:
出现红色标注的错误、ssh免密码登录都已经配置好了。已经测试过。ceph配置文件也产生了。这个错会对集群有影响吗?
[ceph@node-20 ceph]$ ll
total 16
-rw-rw-r-- 1 ceph ceph 295 Sep 24 18:45 ceph.conf
-rw-rw-r-- 1 ceph ceph 4432 Sep 24 18:45 ceph.log
-rw------- 1 ceph ceph 73 Sep 24 18:45 ceph.mon.keyring
[ceph@node-20 ceph]$
求大神解决疑惑。
|