kolla-ansible -i all-in-one deploy Fails on TASK [neutron : Running Neutron bootstrap container]

Bug #1936424 reported by Sam Kidder
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Unassigned

Bug Description

Hello. I wrote a simple bash script to install kolla all-in-one. I write this to the /etc/kolla/globals.yml file:

---
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "wallaby"
kolla_internal_vip_address: "192.168.1.223"
kolla_internal_fqdn: "stack.lab.internal"
kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
kolla_external_fqdn: "{{ kolla_internal_fqdn }}"
network_interface: "ens18"
neutron_external_interface: "ens19"
neutron_plugin_agent: "openvswitch"
enable_haproxy: "yes"
enable_cinder: "yes"
cinder_volume_group: "Cinder"
enable_cinder_backend_lvm: "yes"
keystone_token_provider: 'fernet'
nova_compute_virt_type: "qemu"

All other settings are left as defaults. I am installing this on ubuntu 20.04 and has previously worked. I observe the same error whether it is victoria or wallaby:

TASK [neutron : Running Neutron bootstrap container] ************************************************
fatal: [localhost]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/local/lib/python3.8/dist-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/lib/python3/dist-packages/requests/models.py\", line 940, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.41/images/create?tag=wallaby&fromImage=kolla%2Fubuntu-source-neutron-server\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_st0arxvy/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 1199, in main\\n File \"/tmp/ansible_kolla_docker_payload_st0arxvy/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 868, in start_container\\n File \"/tmp/ansible_kolla_docker_payload_st0arxvy/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 649, in pull_image\\n File \"/usr/local/lib/python3.8/dist-packages/docker/api/image.py\", line 430, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.8/dist-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/local/lib/python3.8/dist-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\ndocker.errors.APIError: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=wallaby&fromImage=kolla%2Fubuntu-source-neutron-server: Internal Server Error (\"Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution\")\\n'"}

My ansible version when I pip install I utilize the command `pip install 'ansible<2.10'` and all commands are run from a python venv.

Sam Kidder (ssk0011)
tags: added: docker
tags: added: all-in-one kolla-ansible
Revision history for this message
Mark Goddard (mgoddard) wrote :

lookup registry-1.docker.io: Temporary failure in name resolution

Is there a problem with your DNS setup?

Revision history for this message
Sam Kidder (ssk0011) wrote :

I took a look into it, the problem seemed to stem from both network interfaces were in the same lan. Once I took ens19 off the lan, it installed properly. Is this a known bug?

Revision history for this message
wisnuk (muscovado666) wrote :

hi, how do you take off ens19 from your lan? asking as a beginner

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.