Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 949281 - Hibernate VM was started for a VM that has already Hibernate VM run for.
Hibernate VM was started for a VM that has already Hibernate VM run for.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.2.0
Unspecified Unspecified
urgent Severity unspecified
: ---
: 3.3.0
Assigned To: Arik
Tareq Alayan
virt
:
Depends On:
Blocks: 782526 947069 1019461
  Show dependency treegraph
 
Reported: 2013-04-07 08:53 EDT by Yair Zaslavsky
Modified: 2015-09-22 09 EDT (History)
9 users (show)

See Also:
Fixed In Version: is1
Doc Type: Enhancement
Doc Text:
This update introduces a new PrepareForHibernation virtual machine status, which denotes that a virtual machine is about to hibernate but VDSM had not yet saved its memory state. The status changes to SavingState when the 'hibernate' verb is called in VDSM and VDSM reports back that it has started migrating to the file.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-21 12:16:59 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
log from customer. (10.00 MB, text/plain)
2013-04-07 08:53 EDT, Yair Zaslavsky
no flags Details
hibernate vm engine log (10.00 MB, text/plain)
2013-04-07 08:56 EDT, Yair Zaslavsky
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 14510 None None None Never
oVirt gerrit 14511 None None None Never
oVirt gerrit 14512 None None None Never
oVirt gerrit 14520 None None None Never
Red Hat Product Errata RHSA-2014:0038 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 17:03:06 EST

  None (edit)
Description Yair Zaslavsky 2013-04-07 08:53:25 EDT
Created attachment 732335 [details]
log from customer.

Description of problem:

In case Hibernate VM is run on a VM, and engine restarts,
It is possible to run Hibernate VM again, as the VM is not in saving state.
This happens due to the compensation mechanism which rolls back the vm status from SAVING to UP.
At endAction there is a check, and if the VM is not in saving state (the first hibernate command might have already ended) the Hibernate VDSM verb is not sent (so this area is covered, but It would be also nice to block the CreateImage tasks).




Version-Release number of selected component (if applicable):


How reproducible:

As explained above


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Yair Zaslavsky 2013-04-07 08:56:51 EDT
Created attachment 732336 [details]
hibernate vm engine log
Comment 2 Yair Zaslavsky 2013-04-07 08:57:48 EDT
I would suggest to consider to override the compensate method for this command , and in case there are existing tasks, not rollback the saving state.
Comment 3 Michal Skrivanek 2013-05-06 07:37:26 EDT
is it possible to postpone till 3.3? The fix is getting too complicated and risky
Comment 7 Charlie 2013-11-27 19:16:00 EST
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.
Comment 9 errata-xmlrpc 2014-01-21 12:16:59 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0038.html

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