Bug 1255252 - Remove of Cinder provider will cause VMs which have Cinder disks to be deleted.
Summary: Remove of Cinder provider will cause VMs which have Cinder disks to be deleted.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Maor
QA Contact: Ori Gofen
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-20 06:43 UTC by Maor
Modified: 2016-05-26 01:51 UTC (History)
9 users (show)

Fixed In Version: 3.6.0-11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 11:40:44 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine log (1.89 MB, text/plain)
2015-08-20 06:43 UTC, Maor
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 45214 0 master MERGED core: Add validation on provider remove. Never
oVirt gerrit 45229 0 ovirt-engine-3.6 MERGED core: Add validation on provider remove. Never

Description Maor 2015-08-20 06:43:56 UTC
Created attachment 1065120 [details]
engine log

Description of problem:
When trying to remove the Cinder provider from the providers main tab, there is no validation if there are VMs or Templates which use the Cinder disks.
The deletion of the Cinder provider will cause running VMs to be deleted from the engine.

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


How reproducible:
100%

Steps to Reproduce:
1. Add a Cinder provider
2. Add a VM + create and attach Cinder disk
3. Run the VM
4. Go to the providers main tab and try to delete the provider


Actual results:
The provider will be deleted and the VM will also be deleted.

Expected results:
a CDA message should block this operation

Additional info:
It should be the same behaviour being done as being done today through Storage Domain main tab.
until OVF_STORE disk will be introduced with Cinder we should block the detach operation entirely if there are any disks reside on the Cinder Storage Domain

Comment 1 Ori Gofen 2015-10-19 12:23:49 UTC
The operation of removing cinder domain with entities is blocked

Comment 2 Sandro Bonazzola 2015-11-04 11:40:44 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


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