详细点的错误信息
TASK [download : check_pull_required | Set pull_required if the desired image is not yet loaded] *****************************
Saturday 04 April 2020 00:03:42 +0800 (0:00:00.226) 0:00:42.903 ********
ok: [ks-allinone]
TASK [download : check_pull_required | Check that the local digest sha256 corresponds to the given image tag] ****************
Saturday 04 April 2020 00:03:42 +0800 (0:00:00.069) 0:00:42.973 ********
skipping: [ks-allinone]
TASK [download : download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 )] **********************
Saturday 04 April 2020 00:03:42 +0800 (0:00:00.056) 0:00:43.030 ********
FAILED - RETRYING: download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 ) (1 retries left).
fatal: [ks-allinone -> ks-allinone]: FAILED! => {
"attempts": 4,
"changed": true,
"cmd": [
"/usr/bin/docker",
"pull",
"quay.azk8s.cn/coreos/etcd:v3.2.18"
],
"delta": "0:00:03.105664",
"end": "2020-04-04 00:04:23.682828",
"rc": 1,
"start": "2020-04-04 00:04:20.577164"
}
STDERR:
Error response from daemon: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<html >\r\n<head><title>403 Forbidden</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>403 Forbidden</h1></center>\r\n<hr>< center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
MSG:
non-zero return code
NO MORE HOSTS LEFT ***********************************************************************************************************
PLAY RECAP *******************************************************************************************************************
ks-allinone : ok=214 changed=1 unreachable=0 failed=1
localhost : ok=1 changed=0 unreachable=0 failed=0
Saturday 04 April 2020 00:04:23 +0800 (0:00:41.160) 0:01:24.190 ********
===============================================================================
download : download_container | Download image if required ( quay.azk8s.cn/coreos/etcd:v3.2.18 ) --------------------- 41.16s
kubernetes/preinstall : Install packages requirements ----------------------------------------------------------------- 2.45s
download : download | Download files / images ------------------------------------------------------------------------- 1.48s
download : download | Download files / images ------------------------------------------------------------------------- 0.76s
download : download | Sync files / images from ansible host to nodes -------------------------------------------------- 0.70s
download : download_file | Download item ------------------------------------------------------------------------------ 0.63s
download : download | Download files / images ------------------------------------------------------------------------- 0.61s
download : download | Sync files / images from ansible host to nodes -------------------------------------------------- 0.61s
kubernetes/preinstall : Create kubernetes directories ----------------------------------------------------------------- 0.58s
chrony : start chrony server ------------------------------------------------------------------------------------------ 0.52s
bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, Suse and ClearLinux) ---------------------- 0.46s
download : download_file | Download item ------------------------------------------------------------------------------ 0.46s
kubernetes/preinstall : Set selinux policy ---------------------------------------------------------------------------- 0.44s
download : download_file | Download item ------------------------------------------------------------------------------ 0.42s
bootstrap-os : Gather host facts to get ansible_os_family ------------------------------------------------------------- 0.42s
bootstrap-os : Install libselinux python package ---------------------------------------------------------------------- 0.41s
kubernetes/preinstall : Remove swapfile from /etc/fstab --------------------------------------------------------------- 0.38s
kubernetes/preinstall : Hosts | populate inventory into hosts file ---------------------------------------------------- 0.37s
adduser : User | Create User ------------------------------------------------------------------------------------------ 0.34s
kubernetes/preinstall : Create cni directories ------------------------------------------------------------------------ 0.31s
failed!
**********************************
please refer to https://kubesphere.io/docs/v2.1/zh-CN/faq/faq-install/
**********************************