Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 346281

Summary: [5.2] Disk cannot be attached by using virsh attach-disk.
Product: Red Hat Enterprise Linux 5 Reporter: Masayuki Sunou <fj1826dm>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.1CC: fukuta.saori, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0291 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 16:47:54 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 Masayuki Sunou 2007-10-23 06:31:24 UTC
Description of problem:
Virsh attach-disk fails when the disk is attached to the domain.
And error message displays that device_configure() failed.
  # virsh attach-disk PV_RH51RC_12 /dev/hda8 xvdb --driver phy
  libvir: Xen Daemon error : POST operation failed: (xend.err'device_configure
() takes exactly 2 arguments (3 given)')

Version-Release number of selected component (if applicable):
Revision of ChangeLog is '1.778'

How reproducible:
always

Steps to Reproduce:
1. Start a domain
   # virsh start 
2. Attach a disk by virsh attach-disk. 
   # virsh attach-disk PV_RH51RC_12 /dev/hda8 xvdb --driver phy

Actual results:
Virsh attach-disk fails 

Expected results:
Disk is attached to domain.

Additional info:

Comment 1 RHEL Program Management 2007-10-26 14:34:28 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Daniel Veillard 2007-11-06 13:30:26 UTC
Patch applied upstream:

https://www.redhat.com/archives/libvir-list/2007-November/msg00028.html

Daniel

Comment 4 Daniel Veillard 2007-12-11 15:12:09 UTC
libvirt-0.3.3-1.el5 has been built in dist-5E-qu-candidate with the fix
 
Daniel


Comment 7 errata-xmlrpc 2008-05-21 16:47:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0291.html