Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 834014

Summary: [rhevm] [engine-core] floating disks: remove disk with snapshot should collapse disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Haim <hateya>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED NOTABUG QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, amureini, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---Keywords: Reopened
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-31 10:40:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Haim 2012-06-20 15:19:09 UTC
Description of problem:

- create vm1 
- create disk1
- create snapshot
- deactivate disk 
- remove disk 
- create vm2
- attach disk1 to vm2

current results:
- system allows you to detach the disk, one losses all its snapshots 

excepted results:
- system should block you (CAN_DO_ACTION) from doing it

Comment 1 Haim 2012-06-20 15:20:26 UTC
Created attachment 593241 [details]
engine.log

Comment 2 Itamar Heim 2012-06-28 21:07:40 UTC
iirc, you should be able to detach the disk and we merge them for that disk (not affecting the snapshot on the VM for other disks, if exist.

Comment 3 Ayal Baron 2012-06-28 22:04:44 UTC
(In reply to comment #2)
> iirc, you should be able to detach the disk and we merge them for that disk
> (not affecting the snapshot on the VM for other disks, if exist.

Correct.
Haim, this is by design. What is the problem?