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
2020-10-02 10:40:16 +01:00
2018-05-08 17:34:53 +08:00
2022-02-18 15:33:11 +00:00
2022-05-19 17:23:09 -04:00
2021-07-05 10:32:37 +01:00
2022-05-19 17:23:09 -04:00
2019-04-19 19:28:03 +00:00
2015-11-03 04:22:57 -06:00
2016-09-27 16:47:07 +01:00
2020-06-16 09:26:22 +01:00

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

Description
Role lxc_hosts for OpenStack-Ansible
Readme 9.7 MiB
Languages
Jinja 61.6%
Python 22.9%
Shell 15.3%
Roff 0.2%