安装出错,错误描述如下:
Monday 06 July 2020 20:44:44 +0800 (0:00:00.110) 0:08:10.217 ***********
fatal: [node1 -> master]: 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.006139”,
“end”: “2020-07-06 20:44:44.750848”,
“rc”: 127,
“start”: “2020-07-06 20:44:44.744709″
}
STDERR:
bash: /usr/local/bin/etcd-scripts/make-ssl-etcd.sh: 没有那个文件或目录
MSG:
non-zero return code
NO MORE HOSTS LEFT *******************************************************************************************************************************************************
PLAY RECAP ***************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0
master : ok=93 changed=20 unreachable=0 failed=1
node1 : ok=290 changed=42 unreachable=0 failed=1
node2 : ok=258 changed=40 unreachable=0 failed=0
Monday 06 July 2020 20:44:44 +0800 (0:00:00.230) 0:08:10.447 ***********
container-engine/docker : Docker | reload docker —————————————————————————————————————- 128.14s
container-engine/docker : ensure docker packages are installed ————————————————————————————————— 74.26s
download : download_file | Download item ————————————————————————————————————————- 18.14s
kubernetes/preinstall : Install packages requirements ———————————————————————————————————— 14.68s
bootstrap-os : Install libselinux python package —————————————————————————————————————– 12.28s
download : download_file | Download item ————————————————————————————————————————- 10.71s
download : check_pull_required | Generate a list of information about the images on a node ———————————————————————– 5.61s
download : download_file | Download item ————————————————————————————————————————– 4.77s
download : download_file | Download item ————————————————————————————————————————– 4.21s
download : download_file | Download item ————————————————————————————————————————– 3.95s
chrony : start chrony server ————————————————————————————————————————————– 3.47s
bootstrap-os : Fetch /etc/os-release —————————————————————————————————————————— 3.44s
download : download | Download files / images ——————————————————————————————————————— 3.39s
download : download_file | Download item ————————————————————————————————————————– 2.98s
download : download | Sync files / images from ansible host to nodes ———————————————————————————————- 2.42s
download : download | Sync files / images from ansible host to nodes ———————————————————————————————- 2.29s
adduser : User | Create User Group ——————————————————————————————————————————– 2.28s
download : download | Download files / images ——————————————————————————————————————— 2.27s
download : Register docker images info —————————————————————————————————————————- 2.23s
kubernetes/preinstall : check swap ——————————————————————————————————————————– 2.19s
failed!
please refer to https://kubesphere.io/docs/v2.1/zh-CN/faq/faq-install/