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 671319 - Improper error message for unsupported graphics type such as 'rdp', 'desktop'
Summary: Improper error message for unsupported graphics type such as 'rdp', 'desktop'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Osier Yang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-21 07:20 UTC by Cui Chun
Modified: 2011-05-19 13:26 UTC (History)
9 users (show)

Fixed In Version: libvirt-0.8.7-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:26:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0596 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-05-18 17:56:36 UTC

Description Cui Chun 2011-01-21 07:20:49 UTC
Description of problem:

libvirt unsupported graphics types include 'sdl', 'rdp', 'desktop'. 

'sdl' error message has been fixed in bug 633326. However, the error message for 'rdp' and 'desktop' are different from 'sdl'  

Version-Release number of selected component (if applicable):
libvirt-0.8.7-3.el6
qemu-kvm-0.12.1.2-2.129.el6


How reproducible:
Always

Steps to Reproduce:

1. Configure rdp and desktop respectively by changing the guest's XML from
    <graphics type='vnc port='-1' autoport='yes' listen='0.0.0.0'
keymap='en-us'/>
to
    <graphics type='rdp'>

    <graphics type='desktop'>

2. Start the guest and check error message


Actual results:

# virsh start cc
error: Failed to start domain cc
error: internal error unsupported graphics type 'desktop'

# virsh start cc
error: Failed to start domain cc
error: internal error unsupported graphics type 'rdp'


Expected results:

Output the uniform error message with 'sdl'.

Additional info:

The error message for 'sdl' are:

# virsh start cc
error: Failed to start domain cc
error: unsupported configuration: sdl not supported by '/usr/libexec/qemu-kvm'

Comment 2 Osier Yang 2011-01-21 08:17:47 UTC
patch posted to upstream to fix the problem:

http://www.redhat.com/archives/libvir-list/2011-January/msg00883.html

Comment 3 Osier Yang 2011-01-27 09:18:05 UTC
http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-January/msg01408.html

patch sent to rhvirt-patches.

Comment 5 Min Zhan 2011-01-28 04:44:02 UTC
Verified with passed with below environment:
# uname -a
Linux dhcp-65-85.nay.redhat.com 2.6.32-99.el6.x86_64 #1 SMP Fri Jan 14 10:46:00 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

libvirt-0.8.7-4.el6.x86_64
kernel-2.6.32-99.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64

-----desktop----
In guest xml
...
 <graphics type='desktop'>
...

# virsh start <guest>
error: Failed to start domain <guest>
error: unsupported configuration: unsupported graphics type 'desktop'

----rdp-------
In guest xml,
...
 <graphics type='rdp'>
...

# virsh start <guest>
error: Failed to start domain <guest>
error: unsupported configuration: unsupported graphics type 'rdp'

Comment 6 Vivian Bian 2011-04-18 06:05:06 UTC
Tested with 
libvirt-0.8.7-17.el6.x86_64
qemu-kvm-0.12.1.2-2.158.el6.x86_64
kernel-2.6.32-131.0.1.el6.x86_64

---error message----
# virsh start cc
error: Failed to start domain cc
error: internal error unsupported graphics type 'desktop'

# virsh start cc
error: Failed to start domain cc
error: internal error unsupported graphics type 'rdp'

# virsh start cc
error: Failed to start domain cc
error: unsupported configuration: sdl not supported by '/usr/libexec/qemu-kvm'

Meet the expected result . So keep the VERIFIED status .

Comment 9 errata-xmlrpc 2011-05-19 13:26:02 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 therefore 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-2011-0596.html


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