Bug 1121154

Summary: Virt-Manager 1.0.1 use spice with error unknown graphics device type
Product: [Community] Virtualization Tools Reporter: Neil How <neilhhw>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, berrange, crobinso, gscrivan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-18 14:12:40 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:

Description Neil How 2014-07-18 13:52:23 UTC
Description of problem:
I use virt-manager 1.0.1 with spice-client-gtk fully installed. When I start to change display server from VNC to spice, it shows below error. I did not get it, when I use 0.9.5, spice works fine. VNC also works fine for me in 1.0.1.
unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f3504081f50>'

Version-Release number of selected component (if applicable):
1.0.1

How reproducible:


Steps to Reproduce:
1. Install latest virt-manager 1.0,1
2. Change already exists guest display configuration from VNC to spice
3.

Actual results:
Change VM configuration error:unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Expected results:
It should be OK

Additional info:
Change VM configuration error:unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 2310, in _change_config_helper
    self.vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 213, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 238, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 230, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1012, in _define
    self.conn.define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 787, in define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3237, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Comment 1 Cole Robinson 2014-07-18 14:12:40 UTC
This is fixed in virt-manager git, we just haven't done a new release yet