[kolla-ansible] How to test local docker registry

Satish Patel satish.txt at gmail.com
Mon May 1 19:34:34 UTC 2023


Folks,

I have 3 controller nodes and on controller01 I have configured the local
registry and pushed all images into the local registry. I have pointed
out 2 other nodes to use controller01 local registry.

When i run "kolla-ansible -i multinode deploy" it works on controller01 and
docker start all containers but one controller02 and 03 I encounter error
related docker registry

Error: https://paste.opendev.org/show/bmwbM3PB33a8hrA1Wi6e/

docker daemon.json file on controller02 and 03 (docker-reg is point to
controller01)
root at controller02:~#  cat /etc/docker/daemon.json
{
    "bridge": "none",
    "insecure-registries": [
        "docker-reg:4000"
    ],
    "ip-forward": false,
    "iptables": false,
    "log-opts": {
        "max-file": "5",
        "max-size": "50m"
    }

How do I check my docker registry is functioning?

I have tried following commands on 02 and 03 nodes but following error.

root at controller02:~# docker pull
docker-reg:4000/openstack.kolla/ubuntu-source-fluentd
Using default tag: latest
Error response from daemon: manifest for
docker-reg:4000/openstack.kolla/ubuntu-source-fluentd:latest not found:
manifest unknown: manifest unknown

Are there any way to test if my registry is functional and nothing wrong.
There are no network issues. I have a test with port ping using the nc
command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230501/9dcbb804/attachment-0001.htm>


More information about the openstack-discuss mailing list