Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 981503

Summary: Octal device number is offered in libvirtError when virt-install guest with duplicate --host-device options.
Product: Red Hat Enterprise Linux 6 Reporter: EricLee <bili>
Component: libvirtAssignee: Martin Kletzander <mkletzan>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: acathrow, bili, codong, cwei, dyuan, honzhang, hyao, lcui, mjenner, mkletzan, mzhan, slevine, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.10.2-20.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 967712 Environment:
Last Closed: 2013-11-21 09:04:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 967712    
Bug Blocks:    

Comment 2 Martin Kletzander 2013-07-10 14:59:38 UTC
Moving to POST:

http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-July/msg00228.html

Comment 4 EricLee 2013-07-16 09:06:24 UTC
Verifying this bug in libvirt-0.10.2-20.el6:

# lsusb | grep RSA
Bus 006 Device 008: ID 15e1:2007 RSA RSA SecurID (R) Authenticator
Bus 002 Device 009: ID 058f:6387 Alcor Micro Corp. Flash Drive

# virt-install -n demo -r 1024 -f /var/lib/libvirt/images/demo.img -s 8 -l http://tree.englab.nay.redhat.com/pub/rhel/released/RHEL-6/6.3/Server/x86_64/os/ --host-device 006.008 --host-device 006.008 --debug
...
Tue, 16 Jul 2013 17:03:48 DEBUG    Removing /var/lib/libvirt/boot/virtinst-vmlinuz.Tm37AA
Tue, 16 Jul 2013 17:03:48 DEBUG    Removing /var/lib/libvirt/boot/virtinst-initrd.img.9BsRBy
Tue, 16 Jul 2013 17:03:48 ERROR    internal error Device 006:008 is already in use
Tue, 16 Jul 2013 17:03:48 DEBUG    Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 629, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1223, in start_install
    noboot)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1291, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2639, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Device 006:008 is already in use
Tue, 16 Jul 2013 17:03:48 DEBUG    Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start demo
otherwise, please restart your installation.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start demo
otherwise, please restart your installation.

"libvirtError: internal error Device 006:008 is already in use" is the expected result.

So setting VERIFIED.

Comment 6 errata-xmlrpc 2013-11-21 09:04:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1581.html