• 安装部署v2.1.x
  • 2.1.0节点扩容,找不到镜像,请大佬帮忙指出应该修改哪个配置

TASK [download : download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 )] ***********************************************************************************************************************************************
Wednesday 12 August 2020 15:21:47 +0800 (0:00:00.724) 0:08:04.925 ******
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
fatal: [node1 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:11.634906″,
“end”: “2020-08-12 15:22:51.451609″,
“rc”: 1,
“start”: “2020-08-12 15:22:39.816703”
}

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

FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
fatal: [node2 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:08.654078″,
“end”: “2020-08-12 15:22:52.166179”,
“rc”: 1,
“start”: “2020-08-12 15:22:43.512101”
}

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

FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (4 retries left).
fatal: [node3 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:07.699031”,
“end”: “2020-08-12 15:23:03.656486″,
“rc”: 1,
“start”: “2020-08-12 15:22:55.957455”
}

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

fatal: [node4 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:05.822856”,
“end”: “2020-08-12 15:23:03.781073″,
“rc”: 1,
“start”: “2020-08-12 15:22:57.958217”
}

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

fatal: [node5 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:05.866511”,
“end”: “2020-08-12 15:23:03.994630″,
“rc”: 1,
“start”: “2020-08-12 15:22:58.128119”
}

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

FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
fatal: [node9 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5”
],
“delta”: “0:00:01.155890″,
“end”: “2020-08-12 15:23:27.658975”,
“rc”: 1,
“start”: “2020-08-12 15:23:26.503085”
}

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

FAILED - RETRYING: download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) (1 retries left).
fatal: [node7 -> master1]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5″
],
“delta”: “0:00:01.058401″,
“end”: “2020-08-12 15:23:34.982469″,
“rc”: 1,
“start”: “2020-08-12 15:23:33.924068″
}

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 *******************************************************************************************************************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0

master1 : ok=29 changed=2 unreachable=0 failed=0

master2 : ok=25 changed=2 unreachable=0 failed=0

master3 : ok=25 changed=2 unreachable=0 failed=0

node1 : ok=208 changed=0 unreachable=0 failed=1

node2 : ok=182 changed=0 unreachable=0 failed=1

node3 : ok=182 changed=0 unreachable=0 failed=1

node4 : ok=182 changed=0 unreachable=0 failed=1

node5 : ok=182 changed=0 unreachable=0 failed=1

node7 : ok=183 changed=0 unreachable=0 failed=1

node9 : ok=183 changed=0 unreachable=0 failed=1

Wednesday 12 August 2020 15:23:35 +0800 (0:01:47.167) 0:09:52.093 ******

download : download_container | Download image if required ( gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5 ) ——————————————————————————————————————————————— 107.17s
kubernetes/preinstall : Hosts | populate inventory into hosts file ————————————————————————————————————————————————————————————————— 19.62s
kubernetes/preinstall : Install packages requirements —————————————————————————————————————————————————————————————————————- 14.52s
download : download | Download files / images ————————————————————————————————————————————————————————————————————————- 8.18s
download : download | Sync files / images from ansible host to nodes ————————————————————————————————————————————————————————————————– 6.02s
kubernetes/preinstall : Create kubernetes directories —————————————————————————————————————————————————————————————————————– 4.73s
download : download | Sync files / images from ansible host to nodes ————————————————————————————————————————————————————————————————– 4.39s
download : download | Download files / images ————————————————————————————————————————————————————————————————————————- 4.35s
download : download | Download files / images ————————————————————————————————————————————————————————————————————————- 4.10s
download : download_file | Download item —————————————————————————————————————————————————————————————————————————— 2.98s
kubernetes/preinstall : Create cni directories ———————————————————————————————————————————————————————————————————————— 2.75s
bootstrap-os : Install libselinux python package ———————————————————————————————————————————————————————————————————————- 2.68s
download : download_file | Download item —————————————————————————————————————————————————————————————————————————— 2.55s
download : check_pull_required | Generate a list of information about the images on a node ————————————————————————————————————————————————————————— 2.48s
container-engine/docker : Write docker dns systemd drop-in ———————————————————————————————————————————————————————————————————— 2.32s
download : check_pull_required | Generate a list of information about the images on a node ————————————————————————————————————————————————————————— 2.26s
kubernetes/preinstall : Hosts | Extract existing entries for localhost from hosts file ——————————————————————————————————————————————————————————– 2.22s
download : check_pull_required | Generate a list of information about the images on a node ————————————————————————————————————————————————————————— 2.19s
container-engine/docker : Write docker.service systemd file ———————————————————————————————————————————————————————————————————– 2.16s
download : download_file | Download item —————————————————————————————————————————————————————————————————————————— 2.14s
failed!

1130042673 更改标题为「2.1.0节点扩容,找不到镜像,请大佬帮忙指出应该修改哪个配置

rayzhou2017 改完以后执行又报这个问题呢
TASK [download : download_container | Download image if required ( grc.mirrors.ustc.edu.cn/kubernetes-helm/tiller:v2.14.3 )]
Thursday 13 August 2020 10:27:50 +0800 (0:00:00.722) 0:06:43.966 *******
FAILED - RETRYING: download_container | Download image if required ( grc.mirrors.ustc.edu.cn/kubernetes-helm/tiller:v2.14.3 ) (4 retries left).

    rayzhou2017 是的,手动执行也不行
    docker pull grc.mirrors.ustc.edu.cn/kubernetes-helm/tiller:v2.14.3
    Error response from daemon: Get https://grc.mirrors.ustc.edu.cn/v2/: EOF