This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Introduce nova virtlogd wrapper"
- Loading branch information
Showing
2 changed files
with
207 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
releasenotes/notes/nova_virtlogd_wrapper-120fcfcfa0787b2b.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
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. | ||