DEPRECATED, Role nspawn_hosts for OpenStack-Ansible
Go to file
Jesse Pretorius f3fe949711 Simplify inserting apt keys into nspawn image
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
2018-08-25 21:12:51 +01:00
defaults Add documentation for routed interfaces 2018-08-20 18:50:35 -05:00
doc Follow the new PTI for document build 2018-03-12 12:16:49 +08:00
examples First commit 2018-02-08 11:39:40 -06:00
files Update nspawn hosts 2018-05-13 14:28:16 -05:00
handlers Simplify inserting apt keys into nspawn image 2018-08-25 21:12:51 +01:00
meta Add voting jobs for bionic 2018-05-15 10:12:48 +02:00
releasenotes Update reno for stable/rocky 2018-08-10 16:45:21 +00:00
tasks Simplify inserting apt keys into nspawn image 2018-08-25 21:12:51 +01:00
templates Simplify inserting apt keys into nspawn image 2018-08-25 21:12:51 +01:00
tests Fix usage of "|" for tests 2018-07-12 15:21:03 +00:00
vars Simplify inserting apt keys into nspawn image 2018-08-25 21:12:51 +01:00
zuul.d Ensure development libs are installed in containers 2018-08-18 18:00:54 -05:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:48:49 +00:00
.gitreview First commit 2018-02-08 11:39:40 -06:00
CONTRIBUTING.rst First commit 2018-02-08 11:39:40 -06:00
LICENSE First commit 2018-02-08 11:39:40 -06:00
README.rst Add source code repository notes link to README 2018-06-30 05:12:12 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:39:19 +00:00
bindep.txt First commit 2018-02-08 11:39:40 -06:00
manual-test.rc First commit 2018-02-08 11:39:40 -06:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:12:34 +00:00
setup.cfg First commit 2018-02-08 11:39:40 -06:00
setup.py First commit 2018-02-08 11:39:40 -06:00
tox.ini Use the TESTING_BRANCH env var for constraints 2018-08-16 15:27:22 +01:00

README.rst

Team and repository tags

image

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:

https://launchpad.net/openstack-ansible