RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
Go to file
Alex Schultz 60342041a3 [TRAIN] Backport tripleo-systemd-wrapper (squash)
This is a combination of 4 commits.

This is the 1st commit message:

Implement tripleo-systemd-wrapper role

This patch adds a new role that will be used to manage side containers
with systemd instead of docker.socket or nsenter.  The main use case here
is Neutron, although this role is designed to work with any service.

This role will create a series of systemd files to monitor a file which
gets mounted into a container. Additionally a wrapper script is
generated which is mounted in the container that will provide the
arguments that should be used to launch new containers.

Blueprint: safe-side-containers
Change-Id: I4821b7ca0260e4dfd1717ba976cef700d160f84f
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
(cherry picked from commit 699249f179)

This is the commit message #2:

Remove --rm=true from sidecar container sync

Neutron uses kill-scripts which remove the container after stopping it.
If the container is launched with docker and --rm=true, the container
will automatically be cleaned up and the $(CLI) rm <container id> in the
kill script with error out because the container can't be found.

Related-Bug: #1858662
Change-Id: I3d7940cb0816adce58e0fa778469dcec95302f67
(cherry picked from commit 17d97f2618)

This is the commit message #3:

Fix substitution in kill-script

In the kill-script there is a string "Unknown action ${SIG} for
${$CT_NAME} ${CT_ID}" which results in a "bad substitution" error, as
there is no variable named with what the contents of the CT_NAME
environment variable contains.  Remove the extraneous '$'.

Change-Id: I4c76071083bf5cb4f876d3b78c379822a8bd8db1
Fixes-Bug: #1860155
(cherry picked from commit b45d4c6d21)

This is the commit message #4:

Add handling of signal 15 in kill script

The reason bug #1860155 was triggered was because the kill script did
not have a stanza for handling the signal that was passed in, which is
signal 15.  Since signal 15 is unhandled, keepalived processes will
still stick around.  Add handling for signal 15.

Change-Id: I632a3ef5ec137df10f647335f6354589c2316fd0
Related-bug: #1860155
(cherry picked from commit 06dc258a28)
2020-02-12 18:15:05 +00:00
_skeleton_role_ Convert all of the fedora28 container usage to centos8 2020-02-12 11:26:13 +00:00
doc [TRAIN] Backport tripleo-systemd-wrapper (squash) 2020-02-12 18:15:05 +00:00
releasenotes Fix ssh_known_hosts hostname entries 2019-11-19 05:25:48 +00:00
scripts Update config to support RHEL/CENT8 2019-10-09 11:02:59 -05:00
tests Merge "Convert tox to native zuul" 2019-07-08 14:18:00 +00:00
tripleo_ansible [TRAIN] Backport tripleo-systemd-wrapper (squash) 2020-02-12 18:15:05 +00:00
zuul.d [TRAIN] Backport tripleo-systemd-wrapper (squash) 2020-02-12 18:15:05 +00:00
.gitignore [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00
.gitreview Update .gitreview for stable/train 2019-10-21 14:19:46 +00:00
.pre-commit-config.yaml Revert "Workaround for ansible-lint installation failure" 2019-10-30 11:38:29 +00:00
.stestr.conf [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00
.yamllint Re-organize zuul config 2019-06-19 12:52:07 -05:00
LICENSE Initial repo content 2018-07-17 16:36:40 -07:00
README.rst Fix launchpad tracker in README.rst 2019-09-29 10:08:38 +02:00
ansible-requirements.txt [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00
ansible-test-env.rc Introduce tripleo-config role 2019-07-30 13:02:25 -05:00
bindep.txt [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00
molecule-requirements.txt Convert all of the fedora28 container usage to centos8 2020-02-12 11:26:13 +00:00
requirements.txt Introduce new module for Paunch 2019-09-17 04:37:39 +03:00
role-addition.yml Update all role docs to use the ansible autodoc plugin 2019-07-12 20:07:06 -05:00
roles Create tripleo container image prepare role 2019-08-13 19:02:07 -05:00
setup.cfg Revert "Revert "Update install path for roles and plugins"" 2019-08-26 17:34:28 +00:00
setup.py Initial repo content 2018-07-17 16:36:40 -07:00
test-requirements.txt [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00
tox.ini [SQUASH] backport tripleo-container-manage to stable/train 2020-02-03 17:46:55 +00:00

README.rst

Team and repository tags

image

TripleO Ansible

TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.

Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/

The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/

The project home is at: https://launchpad.net/tripleo

The project bug tracker is located at: https://bugs.launchpad.net/tripleo