f3fe949711
Bionic requires a functioning gpg-agent to run apt-key add. This means that gpg-agent must be working properly in the chroot when the nspawn image preparation script runs. Previous changes [1] have enabled apt-key to communicate with gpg-agent during the nspawn_hosts role checks, however the cache prep fails almost every time when nspawn_hosts is used within other role checks. This is not a new issue, debian-installer is affected too [2]. This change adopts the same route as d-i, and simply copies the host /etc/apt/trusted.gpg.d directory to the nspawn image, removing the need for apt-key and in turn gpg-agent. This is a re-implementation of https://review.openstack.org/588962 for nspawn. [1] https://review.openstack.org/590431 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774 Change-Id: I3c56da445377d7ba27a623fb7ebe95c20d28a327 |
||
---|---|---|
defaults | ||
doc | ||
examples | ||
files | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
bindep.txt | ||
manual-test.rc | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini |
README.rst
Team and repository tags
OpenStack-Ansible nspawn hosts
Ansible role that configures a host for running nspawn containers.
- Documentation for the project can be found at:
-
https://docs.openstack.org/openstack-ansible-nspawn_hosts/latest
- Release notes for the project can be found at:
-
https://docs.openstack.org/releasenotes/openstack-ansible-nspawn_hosts/
- The project source code repository is located at:
-
https://git.openstack.org/cgit/openstack/openstack-ansible-nspawn_hosts/
- The project home is at: