Fix long service restarts while using systemd
Some containers exiting with 143 instead of 0, but this is still OK. This patch just allows ExitCode 143 (SIGTERM) as fix. Details in bugreport. Services which exited with 143 (SIGTERM): kolla-cron-container.service kolla-designate_producer-container.service kolla-keystone_fernet-container.service kolla-letsencrypt_lego-container.service kolla-magnum_api-container.service kolla-mariadb_clustercheck-container.service kolla-neutron_l3_agent-container.service kolla-openvswitch_db-container.service kolla-openvswitch_vswitchd-container.service kolla-proxysql-container.service Partial-Bug: #2048130 Change-Id: Ia8c85d03404cfb368e4013066c67acd2a2f68deb
This commit is contained in:
parent
39db9a04fe
commit
b1fd2b40f7
@ -32,6 +32,7 @@ ExecStart=/usr/bin/${engine} start -a ${name}
|
||||
ExecStop=/usr/bin/${engine} stop ${name} -t ${graceful_timeout}
|
||||
Restart=${restart_policy}
|
||||
RestartSec=${restart_duration}
|
||||
SuccessExitStatus=143
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
5
releasenotes/notes/bug-2048130-23b8174396bd3c69.yaml
Normal file
5
releasenotes/notes/bug-2048130-23b8174396bd3c69.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes long service restarts while using systemd
|
||||
`LP#2048130 <https://bugs.launchpad.net/kolla-ansible/+bug/2048130>`__.
|
Loading…
x
Reference in New Issue
Block a user