Modify systemd healthcheck units so that check is not executed until
2min after being enabled, to allow containerized service time to become
available. The combination of OnActive and OnUnitActive replaces OnCalendar.
After the OnActive countdown causes the service unit to be first run,
OnUnitActive will provide a monotonic timer for future executions
Also, do not explicitly enable the service unit as only the timer should
control this service.
Reviewed: https:/ /review. openstack. org/631374 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=fc5aecd5d1a 6b8a3ad9b554eb6 2c5b8dc4475a68
Committed: https:/
Submitter: Zuul
Branch: master
commit fc5aecd5d1a6b8a 3ad9b554eb62c5b 8dc4475a68
Author: Jill Rouleau <email address hidden>
Date: Wed Jan 16 19:15:32 2019 -0700
Prevent podman healthcheck failures during deploy
Modify systemd healthcheck units so that check is not executed until
2min after being enabled, to allow containerized service time to become
available. The combination of OnActive and OnUnitActive replaces OnCalendar.
After the OnActive countdown causes the service unit to be first run,
OnUnitActive will provide a monotonic timer for future executions
Also, do not explicitly enable the service unit as only the timer should
control this service.
Closes-Bug: #1809833
Change-Id: I6a916d62e7b3ee d5190c12ea3b37b a240a9ab184