microsoft / pai

Resource scheduling and cluster management for AI

Home Page:https://openpai.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker pull cluster-proportional-autoscaler-amd64:1.6.0 error

a18090 opened this issue · comments

use quick-start-kubespray.sh
run docker pull cpa plugin.
config.yaml change to china docker mirrors.
gcr_image_repo: "registry.aliyuncs.com"
kube_image_repo: "registry.aliyuncs.com/google_containers"
dnsautoscaler_image_repo: "mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"

i im manual use
docker pull gcr.io/google-containers/cluster-proportional-autoscaler-amd64:1.6.0 download to local, save to a file
sudo docker import < file

docker images:
gcr.io/google-containers/cluster-proportional-autoscaler-amd64 1.6.0 dfe4432cd2e2 3 years ago 47.7MB
k8s.gcr.io/cluster-proportional-autoscaler-amd64 1.6.0 dfe4432cd2e2 3 years ago 47.7MB

i want stop this download or delete this docker yaml code

i use github search "cluster-proportional-autoscaler" pai and kubespray:2.11 not find this line.

this log.

FAILED - RETRYING: download_container | Download image if required (4 retries left).
FAILED - RETRYING: download_container | Download image if required (3 retries left).
FAILED - RETRYING: download_container | Download image if required (2 retries left).
FAILED - RETRYING: download_container | Download image if required (1 retries left).
TASK [download_container | Download image if required] **************************************************************************************************************************************************************************************************************fatal: [master -> 192.168.100.4]: FAILED! => {"attempts": 4, "changed": true, "cmd": ["/usr/bin/docker", "pull", "k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.6.0"], "delta": "0:00:15.059807", "end": "2022-09-26 15:10:45.398968", "msg": "non-zero return code", "rc": 1, "start": "2022-09-26 15:10:30.339161", "stderr": "Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)", "stderr_lines": ["Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"], "stdout": "", "stdout_lines": []}

thk

you can try to set dnsautoscaler_image_repo: "docker.io/mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"