Bug 1108242 - Force remove storage domain from data center causes data corruption to remaining vm's which had disks on the removed domain
Summary: Force remove storage domain from data center causes data corruption to remain...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Maor
QA Contact: Ori Gofen
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-11 15:05 UTC by Ori Gofen
Modified: 2016-05-26 01:49 UTC (History)
11 users (show)

Fixed In Version: ovirt-engine-3.5.0_beta
Doc Type: Bug Fix
Doc Text:
Clone Of:
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 28537 0 master MERGED core:Force remove should not delete VMs/Tempaltes with MSD. Never

Description Ori Gofen 2014-06-11 15:05:29 UTC
Created attachment 907689 [details]
vdsm+engine logs

Description of problem:

Force remove storage domain(aka destroy) from a DC with 2 or more storage domain
can cause disappearance of the vm from a DC without any pop-up warning or error on logs, or in the case of vm that is in status: "up", it becomes external, all the disks he had becomes floating disks and all attempts to add or attach them back is block by CanDoAction:
"Cannot add Virtual Machine Disk. This VM is not managed by the engine"
the result is the loss of what can be a vital data since all Virtual Machine Memory is deleted,or cannot be accessed. 


Version-Release number of selected component (if applicable):
av9.5
vdsm-4.14.7-3.el6ev.x86_64
rhevm-3.4.0-0.21.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:

case 1:make vm disappear
Setup:
one host
two domains
1.create vm + 2 disks (one on each domain)
2.make sure the vm is down
3.force remove one domain

case 2:make vm an external vm
Setup:
one host
two domains
1.create vm + 2 disks (one on each domain)
2.make sure the vm is up
3.deactivate one disk
4.force remove the domain with the deactivated disk

Actual results:

all of vm's virtual ram is lost

Expected results:
a warning window should notify the user in case of deleted/external vm
or
this operation shouldn't cause any damage to vm (more probably)

Additional info:

I have attached the logs

Comment 1 Ori Gofen 2014-07-15 08:49:11 UTC
verified on oVirt-beta

Comment 2 Allon Mureinik 2015-02-16 19:14:00 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 3 Allon Mureinik 2015-02-16 19:14:02 UTC
RHEV-M 3.5.0 has been released, closing this bug.


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