tripleo-heat-templates/releasenotes/notes/nova_virtlogd_wrapper-120fcfcfa0787b2b.yaml
Martin Schuppert 0a690e5191 Introduce nova virtlogd wrapper
When nova_virtlogd container gets restarted the instance console auth
files will not be reopened again by virtlogd. As a result either
instances need to be restarted or live migrated to a different compute
node to get new console logs messages logged again.
Usually on receipt of SIGUSR1, virtlogd will re-exec() its binary,
while maintaining all current logs and clients. This allows for live
upgrades of the virtlogd service on non containerized environments
where updates just by doing an RPM update.
To reduce the likelihood in a containerized environment virtlogd
should only be restarted on manual request, or on compute node reboot.
It should not be restarted on a minor update without migration off
instances.
This introduces a nova_virtlogd_wrapper container and virtlogd wrapper
script, to only restart virtlogd on either manual or compute node
restart.

With NovaEnableVirtlogdContainerWrapper the virtlogd wrapper can be
disabled.

Co-Authored-By: Rajesh Tailor <ratailor@redhat.com>

Closes-Bug: #1838272
Depends-On: https://review.opendev.org/c/openstack/puppet-tripleo/+/795148

Change-Id: Ib1fd2fb89899b40b3ce2574af067006f566ef2ea
(cherry picked from commit 49415d04b2)
2021-06-21 10:21:08 +02:00

18 lines
937 B
YAML

---
features:
- |
When nova_virtlogd container gets restarted the instance console auth files
will not be reopened again by virtlogd. As a result either instances need
to be restarted or live migrated to a different compute node to get new
console logs messages logged again.
Usually on receipt of SIGUSR1, virtlogd will re-exec() its binary, while
maintaining all current logs and clients. This allows for live upgrades of
the virtlogd service on non containerized environments where updates just
by doing an RPM update.
To reduce the likelihood in a containerized environment virtlogd should
only be restarted on manual request, or on compute node reboot. It should
not be restarted on a minor update without migration off instances.
This introduces a nova_virtlogd_wrapper container and virtlogd wrapper
script, to only restart virtlogd on either manual or compute node restart.