How To Manually Push Docker Image Registry?

Problem

Node in NotReady state, Nodeletd Phases output failing, with missing images.

{"L":"INFO","T":"2023-12-01T07:01:51.885Z","C":"command/command.go:120","M":"[2023-12-01 07:01:51] docker: Error response from daemon: manifest for localhost:5100/kube-proxy:v1.20.11 not found: manifest unknown: manifest unknown."}

Environment

  • Platform9 Edge Cloud (PEC) - Airctl v-5.3.0-2075501

Solution

Manually push the Docker registry from DU Host to the DU VM.

Procedure to manually push the images:

Verify if the DU host has the required docker registry tar available at /opt/pf9/airctl/imgs/docker-imgs-{airctl-version}.tar.gz.

# la /opt/pf9/airctl/imgs/docker-imgs-v-5.3.0-2075501.tar.gz

Once tar is available for the required Airctl version, proceed with the below steps to push the Docker registry from the DU host to DU VM.

  1. Execute the push-images command as shown below:

# /opt/pf9/airctl/airctl --config /opt/pf9/airctl/conf/airctl-config.yaml advanced-du push-images --img-tar /opt/pf9/airctl/imgs/docker-imgs-v-5.3.0-2075501.tar.gz --verbose
Pushing images 100% |████████████████████████████████████████|  [12m42s:0s]2023-06-23T08:01:18.873Z info  finish progressbar: success
2023-06-23T08:01:18.874Z info success
 success
2023-06-23T08:01:18.960Z info closing tunnel
registry push done
  1. Verify if the images are available now.

  1. Once confirmed with the above output, docker images are successfully extracted to the DU VM.

Last updated