[openstack-ansible][osa] Ubuntu based deployments issue

Dmitriy Rabotyagov noonedeadpunk at ya.ru
Fri Oct 23 20:59:22 UTC 2020


Hi,

We have to announce, that due to Ubuntu has removed base images for all non-current point releases (ie 18.04.3) [1], all current or new OSA deployments will fail during base image retrievement process, which is part of the lxc_hosts role (playbook containers-lxc-host.yml which is included in setup-hosts.yml).
This mean, that attempt of the new deployment, minor and major upgrade or container re-creation will fail. This won't influence already running containers in any manner.

This affects ubuntu 16.04, 18.04 and 20.04 deployments for all OSA releases.

At the moment we are actively working on the proper solution to prevent this from happening in the future (or at least minimize risk as much as we can). You can keep track about the progress in bug reports [2] and [3]

In the meanwhile there are several workarounds, that you may easily apply locally to make your deployments working:

1. Set proper URL to the relevant Ubuntu images by setting variable `lxc_hosts_container_image_url` in user_variables.yml
    Relevant URL at the moment are folowing:
      - Ubuntu 20.04: http://cdimage.ubuntu.com/ubuntu-base/releases/20.04/release/ubuntu-base-20.04.1-base-amd64.tar.gz
      - Ubuntu 18.04: http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04.5-base-amd64.tar.gz
      - Ubuntu 16.04: http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ubuntu-base-16.04.6-base-amd64.tar.gz

2. Use images provided by LXC team. To do this you will need to set `lxc_hosts_container_image_download_legacy: true` in your user_variables.yml

Once we will have a reliable solution, we will backport it back to all supported releases and make new OSA release right afterwards. Right after that I will write an update to this notification with information about stable release number that fixes this issue.


[1] https://lists.ubuntu.com/archives/ubuntu-release/2020-October/005113.html
[2] https://bugs.launchpad.net/openstack-ansible/+bug/1900884
[3] https://bugs.launchpad.net/openstack-ansible/+bug/1900975

-- 
Kind Regards,
Dmitriy Rabotyagov





More information about the openstack-discuss mailing list