• 安装部署
  • /usr/local/bin/etcd-scripts/make-ssl-etcd.sh No such file or directory

Thursday 09 January 2020 11:59:31 +0800 (0:00:00.089) 0:04:08.155 ******
fatal: [ykj-prod-common-kubesphere-node1 -> ykj-prod-common-kubesphere-master1]: FAILED! => {
“changed”: true,
“cmd”: [
“bash”,
“-x”,
“/usr/local/bin/etcd-scripts/make-ssl-etcd.sh”,
“-f”,
“/etc/ssl/etcd/openssl.conf”,
“-d”,
“/etc/ssl/etcd/ssl”
],
“delta”: “0:00:00.028334”,
“end”: “2020-01-09 11:59:31.376292”,
“rc”: 127,
“start”: “2020-01-09 11:59:31.347958″
}

STDERR:

bash: /usr/local/bin/etcd-scripts/make-ssl-etcd.sh: No such file or directory

MSG:

non-zero return code

安装过程中。提示这个问题。请问怎么处理呀

[all]
ykj-prod-common-kubesphere-master1 ansible_connection=local ip=ykj-prod-common-kubesphere-master1
ykj-prod-common-kubesphere-node1 ansible_host=172.16.6.69 ip=172.16.6.69 ansible_ssh_pass=Passwd111
ykj-prod-common-kubesphere-node2 ansible_host=172.16.6.70 ip=172.16.6.70 ansible_ssh_pass=Passwd111

[kube-master]
ykj-prod-common-kubesphere-master1

[kube-node]
ykj-prod-common-kubesphere-node1
ykj-prod-common-kubesphere-node2

[etcd]
ykj-prod-common-kubesphere-master1
[k8s-cluster:children]
kube-node
kube-master
Cauchy

3 个月 后

Cauchy ; Parameters:
; ansible_connection: connection type to the target machine
; ansible_host: the host name of the target machine
; ip: ip address of the target machine
; ansible_user: the default user name for ssh connection
; ansible_ssh_pass: the password for ssh connection
; ansible_become_pass: the privilege escalation password to grant access
; ansible_port: the ssh port number, if not 22

; If installer is ran as non-root user who has sudo privilege, refer to the following sample configuration:
; e.g
; master ansible_connection=local ip=192.168.0.5 ansible_user=ubuntu ansible_become_pass=Qcloud@123
; node1 ansible_host=192.168.0.6 ip=192.168.0.6 ansible_user=ubuntu ansible_become_pass=Qcloud@123
; node2 ansible_host=192.168.0.8 ip=192.168.0.8 ansible_user=ubuntu ansible_become_pass=Qcloud@123

; As recommended as below sample configuration, use root account by default to install

[all]
master ansible_connection=local ip=192.168.2.123 ansible_ssh_pass=121114
node1 ansible_host=192.168.2.124 ip=192.168.2.124 ansible_ssh_pass=121114
node2 ansible_host=192.168.2.127 ip=192.168.2.127 ansible_ssh_pass=123456

[kube-master]
master

[kube-node]
node1
node2

[etcd]
master

[k8s-cluster:children]
kube-node
kube-master

我的hosts.ini 如上所示,安装出现相同问题

    1 个月 后

    lgfei 你的安装问题贴一下?我们帮你看看