Bug 927203 - engine [UPGRADE]: in 3.0 DC, we do not allow move of disk which is deactivated and attached to a running vm because we detect it as live storage migration
Summary: engine [UPGRADE]: in 3.0 DC, we do not allow move of disk which is deactivat...
Keywords:
Status: CLOSED DUPLICATE of bug 987783
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Ayal Baron
QA Contact: Dafna Ron
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-25 11:09 UTC by Dafna Ron
Modified: 2016-02-10 20:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-26 21:10:35 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (1.08 MB, application/x-gzip)
2013-03-25 11:09 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2013-03-25 11:09:36 UTC
Created attachment 715953 [details]
logs

Description of problem:

I have a 3.0 DC with a 3.1 cluster which allows hotPlug. 
in a running vm with 2 disks, I deactivated one of he disks and tried to move it. 
we do not allow this because engine detects this action as live storage migration although when the disk is deactivated its no longer live (vdsm log shows unplug of disk when we deactivate it) hence, this action should be allowed. 

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

sf11 
vdsm-4.10.2-12.0.el6ev.x86_64

How reproducible:

100%

Steps to Reproduce:
1. create a running vm with rhel installed, on iscsi storage with 3.0 DC and 3.1 cluster
2. attach a second disk to the vm 
3. deactivate disk and try to move it
  
Actual results:

move shows that we are trying to live migrate a disk although the disk is no longer active hence live migration should not be used). and we fail the move with canDoAction. 

Expected results:

if disk is deactivated we should be able to move the disk since this is not live storage migration. 

Additional info:logs

Comment 1 Ayal Baron 2013-03-26 21:10:35 UTC
(In reply to comment #0)
> Created attachment 715953 [details]
> logs
> 
> Description of problem:
> 
> I have a 3.0 DC with a 3.1 cluster which allows hotPlug. 
> in a running vm with 2 disks, I deactivated one of he disks and tried to
> move it. 
> we do not allow this because engine detects this action as live storage
> migration although when the disk is deactivated its no longer live (vdsm log
> shows unplug of disk when we deactivate it) hence, this action should be
> allowed. 
> 
> Version-Release number of selected component (if applicable):
> 
> sf11 
> vdsm-4.10.2-12.0.el6ev.x86_64
> 
> How reproducible:
> 
> 100%
> 
> Steps to Reproduce:
> 1. create a running vm with rhel installed, on iscsi storage with 3.0 DC and
> 3.1 cluster
> 2. attach a second disk to the vm 
> 3. deactivate disk and try to move it
>   
> Actual results:
> 
> move shows that we are trying to live migrate a disk although the disk is no
> longer active hence live migration should not be used). and we fail the move
> with canDoAction. 
> 
> Expected results:
> 
> if disk is deactivated we should be able to move the disk since this is not
> live storage migration. 
> 
> Additional info:logs

We never allowed to move a disk while the VM is running even if it was deactivated.
We will not add features for old compatibility levels.

Comment 2 Allon Mureinik 2015-01-24 09:42:31 UTC
This was actually solved as part of bug 987783.

*** This bug has been marked as a duplicate of bug 987783 ***


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