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 2025-09-02 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.xxx.myhuaweicloud.com/**/nginx:latest": rpc error: code = Unknown desc = failed to pull and unpack image "swr.xxx.myhuaweicloud.com/**/nginx:latest": failed to resolve reference "swr.xxx.myhuaweicloud.com/**/nginx/latest": failed to do request: Head "https://swr.xxx-**.myhuaweicloud.com/v2/**/nginx/manifests/latest": dial tcp 100.79.**.**:443: i/o timeout

Fault Locating

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.

Solution

If no VPC endpoints are created for accessing OBS and SWR, create VPC endpoints by referring to Configuring VPC Endpoints for Accessing SWR and OBS.