Bug 1248377

Summary: Stateless VM snapshot gets deleted when user shuts down VM in a Manual Pool type
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Shmuel Melamud <smelamud>
Status: CLOSED ERRATA QA Contact: sefi litmanovich <slitmano>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.3CC: amureini, dossow, ecohen, gklein, istein, lpeer, lsurette, mgoldboi, ofrenkel, rbalakri, Rhev-m-bugs, slitmano, yeylon
Target Milestone: ovirt-3.5.5Keywords: ZStream
Target Release: 3.5.5Flags: mgoldboi: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: ovirt-engine-3.5.5-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1239153 Environment:
Last Closed: 2015-10-26 18:33:03 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: 1239153    
Bug Blocks:    

Comment 1 Michal Skrivanek 2015-07-30 09:35:53 UTC
*** Bug 1248379 has been marked as a duplicate of this bug. ***

Comment 2 sefi litmanovich 2015-10-13 09:47:37 UTC
Verified on rhevm-3.5.5-0.1.el6ev.noarch according to steps in comment:

1. Create a VM and add a disk to it.
2. Create a template based on the VM above.
3. Create a Manual Pool based on the template above.
4. Enter User Portal.
5. Take a VM from the Pool and run it.
6. Return back to Admin Portal.
7. Ensure the user have taken ownership on the VM and new snapshot was created.
8. Shutdown the VM.

Got the expected results:

After shutting down the vm, snapshot still exits and user permission still exists.
After removing the user permission, snapashot is deleted.

Comment 4 errata-xmlrpc 2015-10-26 18:33:03 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/RHBA-2015-1938.html