Role lxc_hosts for OpenStack-Ansible
Go to file
Jonathan Rosser 3b8d1459b9 Disable apt phased updates inside containers.
Inside a chroot, phased updates are disabled [1]. This means that
the container base image always gets the latest packages regardless
of what is happening with the phasing.

At runtime, the default in Ubuntu releases 21.04 and onward is to
obey the package phasing information. This means that packages
inside the OSA built container image can be newer than the installation
candidates once the container is running, leading to installation
errors. This is particularly sensitive with source packages such as
systemd where there is a very tight version coupling between
all components leading to only one valid installation candidate.

This patch creates apt config inside the container base image to
always install the latest package version regardless of phasing.

There does not seem to be any alternative, as phasing is always
disabled during the debootstrap.

[1] https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345

Change-Id: Ia558e3aa1447220016c53349cf9dac0b822d06f4
2022-05-30 12:39:45 +00:00
defaults Switch all base images to be built locally rather than downloaded 2021-04-22 12:55:26 +03:00
doc Fix linter errors 2020-10-02 10:40:16 +01:00
examples Trivial: Fix the pep8 warning 2018-05-08 17:34:53 +08:00
files Replace systemd-mount template with role 2022-04-07 11:40:09 +00:00
handlers Replace systemd-mount template with role 2022-04-07 11:40:09 +00:00
meta Clean up bionic variables 2022-02-18 15:33:11 +00:00
releasenotes Switch all base images to be built locally rather than downloaded 2021-04-22 12:55:26 +03:00
tasks Add centos-9 support 2022-05-19 17:23:09 -04:00
templates Disable apt phased updates inside containers. 2022-05-30 12:39:45 +00:00
tests Add pki role to local a-r-r 2021-07-05 10:32:37 +01:00
vars Add centos-9 support 2022-05-19 17:23:09 -04:00
zuul.d Use integrated repo 'hosts' jobs to test different backing stores 2022-05-26 21:29:46 +00:00
.gitignore Updated from OpenStack Ansible Tests 2019-08-20 03:05:09 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:03 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-13 00:13:48 +03:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-06 20:06:29 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2021-12-17 16:44:48 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2021-03-12 22:16:20 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:47:07 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2022-03-29 17:17:24 +00:00
tox.ini Do not set PYTHONPATH for tox tests 2020-06-16 09:26:22 +01:00

README.rst

Team and repository tags

image

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-lxc_hosts/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-lxc_hosts/

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-lxc_hosts/

The project home is at:

https://launchpad.net/openstack-ansible

The bugs can be found at:

https://bugs.launchpad.net/openstack-ansible