Bug 982636
Summary: | Cloning VM from snapshot of another VM results in corruption of original VM | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Rejy M Cyriac <rcyriac> | |
Component: | ovirt-engine-webadmin-portal | Assignee: | Tomas Jelinek <tjelinek> | |
Status: | CLOSED ERRATA | QA Contact: | Pavel Stehlik <pstehlik> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 3.2.0 | CC: | abaron, acathrow, adahms, bazulay, ecohen, grajaiya, iheim, jkt, lpeer, lyarwood, michal.skrivanek, Rhev-m-bugs, rhs-bugs, scohen, shaines, sputhenp, surs, tjelinek, yeylon | |
Target Milestone: | --- | Keywords: | Regression, ZStream | |
Target Release: | 3.3.0 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | virt | |||
Fixed In Version: | is7 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, cloning a virtual machine based on the snapshot of a virtual machine would clone the virtual machine devices to the original virtual machine instead of the new virtual machine. This would cause the original virtual machine to become corrupted. With this update, virtual machine devices are now correctly copied to the new virtual machine, preventing corruption in the original virtual machine and making it possible to clone new virtual machines based on the snapshot of a virtual machine without issue.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1016700 (view as bug list) | Environment: | ||
Last Closed: | 2014-01-21 17:33:33 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1016700 |
Description
Rejy M Cyriac
2013-07-09 13:13:13 UTC
I have tried the issue reproduction on RHEV Data Center, with pure NFS Storage Domain used as image store, so as to ensure whether scope of bug is limited to RHS volume. The result is that the issue *is always* reproducible when using pure NFS Storage Domain, in the same way as when RHS backed Storage Domain is used. So it looks like this may be caused by a Regression issue in RHEV. The issue description remains valid whether a pure NFS or an RHS volume is used for the Storage Domain. Versions used for the current test: RHEVM: 3.2 (3.2.0-11.37.el6ev) Hypervisor: RHEL 6.4 Storage Domain: NFS share from RHEL 6.4 system P.S. I can provide any additional information needed, and assist with any data collection and testing, if required. - rejy (rmc) I played around with this Bug some more, and managed to narrow down the environment factors leading to the issue, and steps on how to get back the original VM. Factors leading to issue: ------------------------ The issue is related to the Console Protocol for the original VM. The issue appears to occur only if the Console Protocol of 'VNC' is chosen for the VM of which the snapshot is taken. Then when the VM is shut down, and a VM is cloned off the snapshot, the original VM refuses to boot up, with the message: VM <VM name> is down. Exit message: unsupported configuration: non-primary video device must be type of 'qxl'. And a way to get back the original VM back, is to preview and commit on the original VM, the same snapshot used to clone the other VM. But that results in the loss of all data created after the period when the snapshot was taken. Discovered Now! Steps to get back the original VM with data intact: ------------------------------------------------------------------ After a VM is cloned off the snapshot, and while the original VM remains shut down, change the Console Protocol to 'Spice', and click on 'OK' to save. Then you may start up the original VM straight away, or again edit the Console Protocol back to 'VNC', save, and then start up the original VM. Either way, the original VM boots up fine, with all data intact, even from the period after the snapshot was taken. Now I am not sure if this is a Regression, or if the issue was always there, and we never hit it, because there is a chance we may not have used the combination of VNC console protocol, VM snapshot, and cloning VM ! Hope this helps in weeding out the cause of the issue. :-) Cheers! - rejy (rmc) Just to clarify on the 'Factors leading to issue:' part of comment 7 : The issue occurs only if 'VNC' is the 'Console Protocol' for the original VM, *at the time of* creation of the snapshot, to be used for VM cloning. Later on, even if the original VM's 'Console Protocol' is changed to 'Spice', the issue will still occur as soon as that specific snapshot is used to clone a VM. merged u/s: 58720c1faf1d95f4e869b662fcbe2b3bd9f02889 Fixed, 3.3/is12 Both VMs, original and cloned-from-snapshot working ok, Fixed, 3.3/is12 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. 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 |