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

Bug 1113550

Summary: Can't activate direct LUN while VM is running
Product: Red Hat Enterprise Virtualization Manager Reporter: Aharon Canan <acanan>
Component: vdsmAssignee: Allon Mureinik <amureini>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: amureini, bazulay, gklein, iheim, lpeer, pbonzini, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-06 06:52:30 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
logs none

Description Aharon Canan 2014-06-26 12:13:11 UTC
Created attachment 912408 [details]
logs

Description of problem:
Can't activate direct disk while VM is running

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

How reproducible:
100

Steps to Reproduce:
1. Create a VM with a direct LUN attached
2. Start the VM
3. Deactivate the disk
4. Activate the disk

Actual results:
activation fails

Expected results:
should succeed  

Additional info:
-------------------
internal error unable to execute QEMU command 'device_add': Device 'virtio-blk-pci' could not be initialized

Comment 1 Aharon Canan 2014-06-26 12:26:44 UTC
no OS installed on guest

Comment 3 Xavi Francisco 2014-07-01 10:54:43 UTC
IIRC to fully hot-unplug the disk, collaboration from the underlying guest host OS is needed to free the resources.

@Paolo, can you confirm that's the case (as you told me so once)?

Comment 4 Paolo Bonzini 2014-07-04 08:11:07 UTC
Yes.

Comment 5 Allon Mureinik 2014-07-06 06:52:30 UTC
(In reply to Aharon Canan from comment #1)
> no OS installed on guest

(In reply to Xavi Francisco from comment #3)
> IIRC to fully hot-unplug the disk, collaboration from the underlying guest
> host OS is needed to free the resources.
> 
> @Paolo, can you confirm that's the case (as you told me so once)?

(In reply to Paolo Bonzini from comment #4)
> Yes.

Given the above, closing.