Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1349907 - RFE: Guest agent hooks for hibernation should be always executed.
RFE: Guest agent hooks for hibernation should be always executed.
Status: CLOSED CURRENTRELEASE
Product: vdsm
Classification: oVirt
Component: Core (Show other bugs)
4.18.3
Unspecified Unspecified
unspecified Severity high (vote)
: ovirt-4.1.0-alpha
: 4.19.2
Assigned To: Vinzenz Feenstra [evilissimo]
Petr Matyáš
: FutureFeature
Depends On:
Blocks: 1298120
  Show dependency treegraph
 
Reported: 2016-06-24 09:42 EDT by Petr Matyáš
Modified: 2017-02-06 01:24 EST (History)
4 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-01 09:35:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
vfeenstr: ovirt‑4.1?
pmatyas: testing_plan_complete+
rule-engine: planning_ack?
tjelinek: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 59914 master POST virt: Always execute after_hibernation event 2016-11-01 10:34 EDT

  None (edit)
Description Petr Matyáš 2016-06-24 09:42:34 EDT
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 15:44:27 EDT
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 04:08:09 EDT
Long story short we'll transform this to an RFE and have it always be executed
Comment 3 Sandro Bonazzola 2016-12-12 08:54:45 EST
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 13:14:24 EST
Verified on 4.1.0-8

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