tripleo-ansible/tripleo_ansible/roles
Takashi Kajinami 77b4f66504 Make sure failed containers get stopped by systemd
When the main PID (i.e., common) of a container is killed because of
some reasons, systemd won't execute ExecStop command.
Current podman doesn't detect this failure ang recognize that container
is still running and this causes failure when systemd tries to restart
the container.

This patch introduces ExecStopPost configuration into systemd unit
files so that stop operation is executed even when a container fails
because of killed main process. The stale container should be cleaned
up by ExecStopPost task before systemd tries to restart it.

Note that the similar change has been introcuded to "podman generate
systemd" command already[1].
[1] e5c3432944

Change-Id: Idb8be98f83f95ae536762f79809aa375f04e56ab
Closes-Bug: #1884866
2020-06-24 11:34:35 +09:00
..
aide Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
backup_and_restore BaR - Export ceph authentication 2020-06-01 16:55:09 +02:00
login_defs Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
octavia_common Add support for Octavia amphora log offloading 2020-06-03 19:09:09 +00:00
octavia_controller_config Add toggle for sensitive data within octavia 2020-05-23 15:05:03 +00:00
octavia_controller_post_config Add support for Octavia amphora log offloading 2020-06-03 19:09:09 +00:00
octavia_overcloud_config Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
octavia_undercloud Octavia: handle empty amphora image search result 2020-04-23 10:23:52 -02:30
test_deps Ensure pip is installed 2020-06-17 13:48:30 -06:00
test_package_action Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_bootstrap Suppress warning about using ln 2020-05-14 17:58:23 +00:00
tripleo_cellv2 Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_ceph_common Exclude callbacks env vars for ceph-ansible 2020-06-02 07:30:39 -06:00
tripleo_ceph_run_ansible Exclude callbacks env vars for ceph-ansible 2020-06-02 07:30:39 -06:00
tripleo_ceph_uuid Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_ceph_work_dir Revert "Add osd blacklist cap when openstack client cap is built" 2020-06-15 15:59:01 +00:00
tripleo_clients_install Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_config Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_container_image_build Add debug output when rendering container files 2020-05-12 13:34:00 +00:00
tripleo_container_image_prepare Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_container_manage Make sure failed containers get stopped by systemd 2020-06-24 11:34:35 +09:00
tripleo_container_rm Replace podman commands by module 2020-05-11 13:05:38 +00:00
tripleo_container_stop Replace podman commands by module 2020-05-11 13:05:38 +00:00
tripleo_container_tag Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_create_admin Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_derived_parameters Create derived parameters playbook, and role 2020-05-22 20:02:03 +00:00
tripleo_firewall (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_hieradata Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_hosts_entries Fix host entries permissions 2020-06-17 20:19:27 +00:00
tripleo_image_serve Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_kernel Do not set lo.disable_ipv6=0 by default 2020-06-03 08:51:09 +02:00
tripleo_keystone_resources Add toggle for sensitive data within keystone 2020-06-10 02:12:06 +00:00
tripleo_module_load (follow-up) run check mode for more molecule tests 2020-04-13 14:44:37 -04:00
tripleo_nova_image_cache Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_nvdimm Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_ovs_dpdk Merge "Add userspace-tso configuration in open_vswitch" 2020-06-05 00:22:07 +00:00
tripleo_packages Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_persist Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_podman Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_provision_mcelog Add missing doc & zuul job for tripleo_provision_mcelog 2020-05-22 16:17:29 -04:00
tripleo_ptp Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_puppet_cache Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_redhat_enforce Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_securetty Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_ssh_known_hosts Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_sshd Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_systemd_wrapper Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_timezone Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_transfer Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
tripleo_upgrade_hiera Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tripleo_validations_package Convert docker molecule usage to podman 2020-04-30 09:55:18 -05:00
tuned Fix conditions tuned profile 2020-06-01 20:01:46 +00:00