Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Manually Push Docker Image Registry?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Node in NotReady state, Nodeletd Phases output failing, with missing images.
Nodelet phases
{"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.
Tar on DU Host
xxxxxxxxxx# la /opt/pf9/airctl/imgs/docker-imgs-v-5.3.0-2075501.tar.gzOnce 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.
- Execute the push-images command as shown below:
On DU Host
# /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 --verboseOn success
Pushing images 100% |████████████████████████████████████████| [12m42s:0s]2023-06-23T08:01:18.873Z info finish progressbar: success2023-06-23T08:01:18.874Z info success success2023-06-23T08:01:18.960Z info closing tunnelregistry push done- Verify if the images are available now.
DU VM - Docker path
xxxxxxxxxx[root@airctl-1-2683490-924.pf9.localnet ~(admin)]# cd /opt/pf9/images/data/docker/registry/v2/[root@airctl-1-2683490-924.pf9.localnet v2(admin)]# lltotal 4drwxr-xr-x 3 root root 20 Jun 23 07:48 blobsdrwxr-xr-x 32 root root 4096 Jun 23 08:01 repositories[root@airctl-1-2683490-924.pf9.localnet v2(admin)]# du -sch *4.0G blobs4.5M repositories4.0G totalOR
Curl request
xxxxxxxxxx[root@airctl-1-2683490-924.pf9.localnet v2(admin)]# curl http://localhost:5100/v2/_catalog | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 1438 100 1438 0 0 43255 0 --:--:-- --:--:-- --:--:-- 43575{ "repositories": [ "addon-resizer", "autoscaling/addon-resizer", "busybox", "calico/cni", . . // multiple images should list here . "prometheus-operator/prometheus-operator", "python" ]}- Once confirmed with the above output, docker images are successfully extracted to the DU VM.
- Restart the Nodeletd stack as mentioned in https://platform9.com/kb/kubernetes/how-to-restart-pmk-stack-
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
How To Use Sunpike to Apply Custom Kubelet ConfigMapDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message