ROLE lxc_hosts: variable lxc_hosts_container_image_url has no effect

Bug #1908544 reported by JF Taltavull
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Fix Released
High
Dmitriy Rabotyagov

Bug Description

Operating system : Ubuntu 18.04
OSA version: 21.2.0 (stable/ussuri)

Despite the fact that the variable lxc_hosts_container_image_url is filled, the task "Determine lxc_hosts_container_image_url when it is not explicitly set" tries to lookup the default url to fetch lxc container base image.

# openstack-ansible setup-hosts.yml

TASK [lxc_hosts : Determine lxc_hosts_container_image_url when it is not explicitly set] ****************************************************************************************************************************************************task path: /etc/ansible/roles/lxc_hosts/tasks/lxc_cache_prestage.yml:44
<controller1> The "physical_host" variable of "controller1" has been found to have a corresponding host entry in inventory.
<controller1> The "physical_host" variable of "controller1" terminates at "10.xx.xx.xx" using the host variable "ansible_host".
fatal: [controller1]: FAILED! => {
    "msg": "An unhandled exception occurred while running the lookup plugin 'url'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Received HTTP error for http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/SHA256SUMS : HTTP Error 403: Forbidden"
}

Error 403 is due to our internet proxy rules.

Expected behaviour: the task should use our internal mirror instead of trying to reach http://cdimage.ubuntu.com url.

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Dmitriy Rabotyagov (noonedeadpunk)
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :
Changed in openstack-ansible:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-lxc_hosts ussuri-eol

This issue was fixed in the openstack/openstack-ansible-lxc_hosts ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-lxc_hosts yoga-eom

This issue was fixed in the openstack/openstack-ansible-lxc_hosts yoga-eom release.

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.