puppet-tripleo/releasenotes/notes/wrapper-containers-debug-f141d964548eb2ea.yaml
Bogdan Dobrelya 6117cae693 Fix wrapper containers for podman w/o sockets
Adapt wrapper containers for podman, which has no a socket available.

Add container_cli parameter for base neutron class, default to docker.
Possible values: podman/docker (default). It is used by the wrappers
tooling to issue CLI commands to the host containers system.
Deprecate bind_socket so it does nothing for podman CLI.

Additionally, add debug triggers for the wrapper scripts messages to
become captured to the wrapper containers' stdout.

Do not stop and remove the existing container before launching a new
one. Allow the neutron parent process to control the process life
cycle. Although make the wraper containers cleaning up any exited
containers after its main process terminated by the neutron parent
process. Additionally, If a name is already taken by a container,
give it an unique name and assume all the smooth transitioning work
to be done by the parent neutron process and that clean up logic
in the wrapper.

Closes-Bug: #1799484
Change-Id: Ib3c41a8bee349856d21f360595e41a9eafd79323
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-11-05 20:39:29 +00:00

18 lines
736 B
YAML

---
features:
- |
Neutron L3/DHCP and OVN metadata agent wrapper classes are given the
``debug`` and ``container_cli`` parameters. The latter allows 'docker'
(deprecated) and 'podman' for Neutron L3/dhcp and OVN metadata rootwrap
containers managed by agents. When ``debug`` enabled, the wrapper
containers start writing extended outputs to its stdout, which also may be
shown via the ``podman logs`` CLI.
fixes:
- |
Neutron/OVN rootwrap containers are managed by agents and will no longer
be deleted, when the parent container restarts.
deprecations:
- |
Parameter ``bind_sockets`` is deprecated. No sockets are expected to bind
mount for podman. So it only works for the docker runtime.