What Do I Do If a Public Image Can't Be Pulled During Workload Creation?
Symptom
The following information is displayed when a workload is created in a CCE Autopilot cluster:
Failed to pull image "100.125.**.**:32334/**/nginx:1.0": rpcerror: code =DeadlineExceeded desc = failed to pull and unpack image "100.125.**.**:32334/**/nginx:1.0": failed to resolve reference "100.125.**.**:32334/**/nginx:1.0": failed to do request Head: Head "https://100.125.**.**:32334/v2/**/nginx/manifests/1.0": dial tcp 100.125.**.**:32334: i/o timeout
Fault Locating
When the CCE Autopilot cluster pulls the image from the public network, the NAT gateway cannot access the public network because there is no route destined for the NAT gateway in the route table of the subnet.
Solution
Add the route destined for 0.0.0.0/0 over the NAT gateway in the default route table or custom route table of the subnet.
- Log in to the CCE console and click the cluster name to access the cluster console.
- In the navigation pane, choose Overview. In the Networking Configuration area, view the cluster subnet.
- Switch to the Network Console. In the navigation pane, choose Virtual Private Cloud > Subnets. Locate the subnet by name and click the route table name.
- On the Summary tab, check whether a route to the NAT gateway exists.
If no, manually add a route. Click Add Route.
- Destination: Set this parameter to 0.0.0.0/0, which means any IP address.
- Next Hop Type: Select NAT gateway.
- Next Hop: Select the NAT gateway configured for the subnet.
Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot