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 1288690 - Error message misleads users when 2 or more IDE controllers are configured
Summary: Error message misleads users when 2 or more IDE controllers are configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.2
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-05 02:30 UTC by Yang Yang
Modified: 2016-11-03 18:34 UTC (History)
4 users (show)

Fixed In Version: libvirt-1.3.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 18:34:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2577 0 normal SHIPPED_LIVE Moderate: libvirt security, bug fix, and enhancement update 2016-11-03 12:07:06 UTC

Description Yang Yang 2015-12-05 02:30:34 UTC
Description of problem:
When 2 or more IDE controllers are configured, the error message does not make sense.
error: unsupported configuration: Only a single IDE controller is unsupported for this machine type

Version-Release number of selected component (if applicable):
libvirt-1.2.17-13.el7_2.2.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start a domain with 2 IDE controllers
#virsh dumpxml vm1 | grep ide -a3
<controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='ide' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </controller>

#virsh start vm1
error: Failed to start domain vm1
error: unsupported configuration: Only a single IDE controller is unsupported for this machine type

2.
3.

Actual results:


Expected results:
Error message should like "Only a single IDE controller is supported..."

Additional info:

Comment 1 Pavel Hrdina 2015-12-05 12:25:12 UTC
Upstream commit:

commit e4ab3b5d38bfbaef3cfe9da07ffafca0904e69da
Author: Guido Günther <agx>
Date:   Sat Nov 21 19:58:56 2015 +0100

    qemu: handle more machines with a single builtin IDE controller
    
    like I440FX by moving the condition into qemuDomainMachineHasBuiltinIDE
    and adding more machines.
    
    Reference: http://bugs.debian.org/805189

Comment 4 Yang Yang 2016-02-24 03:16:47 UTC
Verified on libvirt-1.3.1-1.el7.x86_64

Steps
start guest with I440FX machine type and 2 ide controller
<os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.2.0'>hvm</type>
  </os>
<controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='ide' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </controller>

# virsh start vm1
error: Failed to start domain vm1
error: unsupported configuration: Only a single IDE controller is supported for this machine type

Also tested with sun4u, malta, g3beige machine type, passed
1. sun4u machine type and 2 IDE controller
<os>
    <type arch='x86_64' machine='pc-sun4u-rhel7.2.0'>hvm</type>
  </os>
<controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='ide' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </controller>

# virsh start vm1
error: Failed to start domain vm1
error: unsupported configuration: Only a single IDE controller is supported for this machine type

2. malta machine type and 2 IDE controller
<os>
<type arch='x86_64' machine='pc-malta-rhel7.2.0'>hvm</type>
</os>
<controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='ide' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </controller>

# virsh start vm1
error: Failed to start domain vm1
error: unsupported configuration: Only a single IDE controller is supported for this machine type

3. g3beige machine type and 2 IDE controller
<os>
    <type arch='x86_64' machine='pc-g3beige-rhel7.2.0'>hvm</type>
  </os>
 <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='ide' index='1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </controller>

# virsh start vm1
error: Failed to start domain vm1
error: unsupported configuration: Only a single IDE controller is supported for this machine type

Comment 6 errata-xmlrpc 2016-11-03 18:34:55 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.

https://rhn.redhat.com/errata/RHSA-2016-2577.html


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