Help Center/ Cloud Container Engine_Autopilot/ FAQs/ Workloads/ Workload Exceptions/ What Do I Do If an Image Can't Be Pulled from SWR During Workload Creation?
Updated on 2024-10-16 GMT+08:00

What Do I Do If an Image Can't Be Pulled from SWR During Workload Creation?

Symptom

The following information is displayed when a workload is created in a CCE Autopilot cluster:

Failed to pull image "swr.cn-north-**.myhuaweicloud.com/**/nginx:latest": rpc error: code = Unknown desc = failed to pull and unpack image "swr.cn-north-7.myhuaweicloud.com/**/nginx:latest": failed to resolve reference "swr.cn-north-7.myhuaweicloud.com/**/nginx/latest": failed to do request: Head "https://swr.cn-north-**.myhuaweicloud.com/v2/**/nginx/manifests/latest": dial tcp 100.79.**.**:443: i/o timeout

Fault Location

The error information indicates that the SWR image cannot be pulled during workload creation. Check whether the VPC endpoints for accessing OBS and SWR are running properly.