Bug 1349907 - RFE: Guest agent hooks for hibernation should be always executed.
Summary: RFE: Guest agent hooks for hibernation should be always executed.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.18.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.0-alpha
: 4.19.2
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks: 1298120
TreeView+ depends on / blocked
 
Reported: 2016-06-24 13:42 UTC by Petr Matyáš
Modified: 2017-02-06 06:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, after_hibernation hooks were never executed. With this release, before_hibernation and after_hibernation hooks are always executed on the guest operating system (with the guest agent installed) when suspending and resuming a virtual machine.
Clone Of:
Environment:
Last Closed: 2017-02-01 14:35:17 UTC
oVirt Team: Virt
Embargoed:
vfeenstr: ovirt-4.1?
pmatyas: testing_plan_complete+
rule-engine: planning_ack?
tjelinek: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59914 0 master POST virt: Always execute after_hibernation event 2016-11-01 14:34:57 UTC

Description Petr Matyáš 2016-06-24 13:42:34 UTC
Description of problem:
Hooks for before hibernation are always executed, doesn't matter if migration policy is set or not.
Hooks for after hibernation are never executed.

Version-Release number of selected component (if applicable):
ovirt-guest-agent-common-1.0.12-3.el7.noarch
vdsm-4.18.4-2.el7ev.x86_64
ovirt-engine-4.0.0.6-0.1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. create hooks for before and after hibernation
2. hibernate the VM
3. start the VM again

Actual results:
before hibernation hook is always executed and after is never executed

Expected results:
hibernation hooks are executed if migration policy is set and are not executed if migration policy is not set

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-24 19:44:27 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Vinzenz Feenstra [evilissimo] 2016-06-29 08:08:09 UTC
Long story short we'll transform this to an RFE and have it always be executed

Comment 3 Sandro Bonazzola 2016-12-12 13:54:45 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 4 Petr Matyáš 2017-01-23 18:14:24 UTC
Verified on 4.1.0-8


Note You need to log in before you can comment on or make changes to this bug.