Bug 1174812

Summary: [engine-backend] SQLException while starting a VM which was stateless before and had a disk attached to it while it was in stateless
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Arik <ahadas>
Status: CLOSED ERRATA QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: ahadas, amureini, bmcclain, ebenahar, ecohen, gklein, iheim, istein, juwu, lpeer, lsurette, mavital, michal.skrivanek, ofrenkel, rbalakri, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: 3.5.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: org.ovirt.engine-root-3.5.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1161204 Environment:
Last Closed: 2015-04-28 18:41:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1161204    
Bug Blocks: 1193058, 1197441    

Comment 3 sefi litmanovich 2015-03-03 12:12:02 UTC
Verified with:

rhevm-3.5.1-0.1.el6ev.noarch.
HOST rhel7.0:
vdsm-4.16.12-2.el7ev.x86_64
libvirt-daemon-1.1.1-29.el7_0.7.x86_64
qemu-kvm-rhev-1.5.3-60.el7_0.11.x86_64
selinux-policy-3.12.1-153.el7_0.13.noarch
sanlock-3.1.0-2.el7.x86_64

Verified according to description:
1. create vm with disk.
2. run vm in stateless mode.
3. create a disk.
4. hotplug the new disk to the running vm.
5. shutdown (tried both poweroff and shutdown) vm.
6. start vm in normally.

results:
1. upon shutdown/poweroff the disk is detached from the vm, but is not deleted.
2. start vm (6) doesn't invoke restore snapshot as reported, vm runs normally.

Comment 4 Julie 2015-03-18 23:31:47 UTC
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

Cause:
Consequence:
Fix:
Result:

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Comment 5 Julie 2015-04-20 04:59:24 UTC
Setting the doc text flag to - as did not hear back on the need info.

Comment 7 errata-xmlrpc 2015-04-28 18:41:01 UTC
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.

https://rhn.redhat.com/errata/RHSA-2015-0888.html