multinode deploy fails on TASK [common : Ensure fluentd image is present for label check]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Mark Goddard |
Bug Description
Hello experts,
I need your help. I am trying to install OpenStack kolla train release (as development using github).
When I used inventory all-in-one deployment without registry everything works fine but as soon as I enable registry for multinode, it throws below error.
These are the steps, I did for the registry:
1. vi /etc/kolla/
docker_
2. ./kolla/
3. export REGISTRY_
4. To verify, docker info shows insecure registry:
Registry: https:/
Labels:
Experimental: false
Insecure Registries:
10.237.
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
5. output of docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7f197967064e registry:2 "/entrypoint.sh /etc…" 55 minutes ago Up 14 minutes 0.0.0.0:
BTW, my machine is running behind the proxy, I have already set up proxy on docker and host environment file.
TASK [common : Ensure fluentd image is present for label check] *******
The full traceback is:
File "/tmp/ansible_
File "/tmp/ansible_
File "/usr/local/
self.
File "/usr/local/
raise create_
File "/usr/local/
raise cls(e, response=response, explanation=
fatal: [10.237.223.217]: FAILED! => {
"changed": true,
"invocation": {
},
"name": null,
"tty": false,
}
},
"msg": "'Traceback (most recent call last):\\n File \"/usr/
File \"/usr/
ror: Internal Server Error for url: http+docker:
ception, another exception occurred:
er.py\", line 1024, in main\\n File \"/tmp/
p/ansible_
pi/image.py\", line 415, in pull\\n self._raise_
reate_api_
onse, explanation=
n (Client.Timeout exceeded while awaiting headers)\")\\n'"
# docker version
Client: Docker Engine - Community
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:02:52 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:01:20 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.7
GitCommit: 8fba4e9a7d01810
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef
docker-init:
Version: 0.18.0
GitCommit: fec3683
description: | updated |
description: | updated |
description: | updated |
Changed in kolla-ansible: | |
status: | In Progress → Fix Released |
Hi. You don't need kolla-ansible to verify that your setup is working - a docker pull of any image on Dockerhub should work.
I can see a few issues with the instructions.
1. The start-registry script in kolla actually uses port 4000, not port 5000. Your docker_registry setting needs to reflect this. PROXY_REMOTEURL environment variable needs to be available to the registry. You can pass this to the container via -e in the docker run command in the start-registry script.
2. The REGISTRY_
Finally, if you are using a proxy, the registry will need to be configured to use it. I'm not sure how this is done.