[node-patches] Change in ovirt-node[ovirt-3.6]: Remove hooks/on-shutdown/01-save-virtwho, add persistence to...

fabiand at redhat.com fabiand at redhat.com
Tue Dec 22 15:00:24 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: Remove hooks/on-shutdown/01-save-virtwho, add persistence to inst
......................................................................


Remove hooks/on-shutdown/01-save-virtwho, add persistence to inst

Testing reveals that systemd's reverse ordering of services means
that shutdown hooks execute after /config is already umounted.

This appeared to work during development because the script was
tested (and triggered) before actually rebooting, so
/config/etc/virt-who.d/... already existed when persisting
individual (globbed) files.

Since /config is umounted, we need to just add this to the list
of files/folders which are persisted at install time.

Change-Id: I75df21a0e59fe8591a9989262344d1e872b278e2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1209356
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M hooks/Makefile.am
D hooks/on-shutdown/01-save-virtwho.py
M src/ovirtnode/ovirtfunctions.py
3 files changed, 1 insertion(+), 31 deletions(-)



-- 
To view, visit https://gerrit.ovirt.org/50918
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I75df21a0e59fe8591a9989262344d1e872b278e2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list