Bug 1236391 - When removing a VM with its disks, shareable LUNs are also removed
Summary: When removing a VM with its disks, shareable LUNs are also removed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Idan Shaby
QA Contact: Ori Gofen
URL:
Whiteboard:
Depends On: 1234767
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-28 13:39 UTC by Allon Mureinik
Modified: 2016-03-10 12:06 UTC (History)
13 users (show)

Fixed In Version: ovirt-3.6.0-3
Doc Type: Bug Fix
Doc Text:
Previously when removing a virtual machine and its disks, shareable LUNs attached to the virtual machine were also removed, resulting in other virtual machines no longer being able to access them. Shareable LUNs are no longer removed, enabling virtual machines to continue using them.
Clone Of: 1234767
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 42730 0 None None None Never

Description Allon Mureinik 2015-06-28 13:39:25 UTC
+++ This bug was initially created as a clone of Bug #1234767 +++

Description of problem:
When removing a VM with its disks, shareable LUNs are also removed.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a direct LUN and mark it as shareable.
2. Create a VM and attach it the LUN you created.
3. Create another VM and attach it the LUN you created.
4. Remove the first VM using the webadmin (with the "Remove Disk(s)" check box checked).

Actual results:
The direct LUN is removed, and the second VM remains with no disks.

Expected results:
It shouldn't be removed since there might be other VMs that use it (like in this case).

Additional info:

--- Additional comment from Allon Mureinik on 2015-06-24 18:32:09 IDT ---

Idan, please add doctext explaining this bug.
--------------------------------------------------------------------------

This bug is a clone so RHEV's documentation can pick up the doctext.

Comment 1 Ori Gofen 2015-07-23 15:56:02 UTC
Verified

Comment 2 Allon Mureinik 2016-03-10 10:47:09 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 3 Allon Mureinik 2016-03-10 10:49:54 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 4 Allon Mureinik 2016-03-10 12:06:25 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE


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