Failed to Warm Up an Image
Symptom
The image warmup status is abnormal.
Possible Causes
- You do not have the SWR Administrator permission. As a result, the image warmup fails. You are advised to configure the SWR Administrator permission.
- After an image warmup task is configured, if the task cannot be completed within a period of time, the task will enter the timeout state. Check whether the image size is too large or the network communication rate between the SWR service and resource pool nodes is abnormal.
- Docker partitions on nodes have limited storage. If the Docker partition runs out of space due to large or numerous images in a warmup task, Kubernetes may delete unused images automatically. This can cause issues with one or more image warmup tasks.
Solution
When Docker runs out of disk space, the target image is too large, or several image warmup tasks fail, delete the abnormal images first. Then, prioritize and warm up one image at a time. Wait for each task to succeed before starting the next. This avoids conflicts between large images.
Error Code Description
| Error Code | Message | Description | Solution |
|---|---|---|---|
| 301 | Image warmup task abnormal. Image not found. | Image warmup task abnormal. Image not found. When the disk space of the Docker image on the node is insufficient, the Kubernetes image is aged. As a result, the warmed image is deleted. | Ensure that the node has sufficient disk space for image warmup, or deploy jobs promptly after the image is warmed up to avoid Kubernetes images becoming stale and idle. |
| 302 | Image warmup task timed out. | Image warmup task timed out. | Check whether the size of the image to be warmed up is too large or the download rate of the SWR image is too low. |
| 303 | Pulling the image failed. | Pulling the image failed due to an unknown reason. | Contact technical support. |
| 311 | The specified image was not found in the image repository, and the image warmup task failed. | The specified image was not found in the image repository, and the image warmup task failed. | Check whether the image address is in the image repository. |
What is your overall rating for this page?
Thank 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