Bug 513358

Summary: after virtual disk hotplug,shutdown,the virtual disk just added disappear.(xen)
Product: Red Hat Enterprise Linux 5 Reporter: jiyang <jiyang>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: clalance, lihuang, ndai, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-14 02:08:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jiyang 2009-07-23 09:39:31 UTC
Description of problem:
run a fv VM,when it's running,add some virtual disk,then shutdown,the virtual disk just added disappear or reboot first to verify the virtual disk is added successfully,then shutdown,the virtual disk just added also disappear.

Version-Release number of selected component (if applicable):
virt-manager -0.6.1-7.el5
xen-3.0.3-90.el5
libvirt-0.6.3-15.el5

host:RHEL5 Server x86_64,RHEL5 Client x86_64,RHEL5 Server i386,RHEL5 Client
i386,RHEL5 IA64


How reproducible:
100%

Steps to Reproduce:
1.Launch virt-manager: #virt-manager
2.Double-click a vm (FV)and click the Run button in the Virtual Machine Details
window.
3.when it fully activated ,Click the Hardware tab.
4.click add hardware to add some virtual disk
5'.shutdown then view the hardware list 
5".reboot to verify the virtual is added succussfully,then shutdown view the hardware list
6.run again the vm

  
Actual results:
1.after 5',the virtual disk just added not display on hardware list
2.after 5",the virtual disk just added not display on hardware list
3.after 6,the virtual disk just added not display on hardware list


Expected results:
1.after 5',the virtual disk just added display on hardware list
2.after 5",the virtual disk just added display on hardware list
3.after 6,the virtual disk just added display on hardware list


Additional info:

Comment 1 Cole Robinson 2009-10-19 15:30:03 UTC
Hmm. This is due to how libvirt/xen handle hotplugging, and how virt-manager exposes it to the user. virt-manager should ensure that any hotplug operation is persistent across VM start/shutdown.

This is fixed in upstream virt-manager, but it might be a pretty invasive/substancial backport. I'll have to look at possibly minimizing the risk.

Comment 3 Cole Robinson 2009-12-14 02:08:20 UTC

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

Comment 4 Chris Lalancette 2010-07-19 13:50:47 UTC
Clearing out old flags for reporting purposes.

Chris Lalancette