Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41088 - [virt-manager] cannot create VM's with VNC display on remote systems (qemu+ssh)
Attached to Project:
Community Packages
Opened by ray65526 (ray65536) - Friday, 04 July 2014, 12:17 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 January 2016, 16:51 GMT
Opened by ray65526 (ray65536) - Friday, 04 July 2014, 12:17 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 January 2016, 16:51 GMT
|
DetailsDescription:
When I'm trying to create new VM with "Graphics: VNC", I get: Error adding device: internal error unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7fab2ac43650>' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/addhardware.py", line 1308, in add_device self.vm.add_device(self._dev) File "/usr/share/virt-manager/virtManager/domain.py", line 558, in add_device self.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/site-packages/libvirt.py", line 3335, in defineXML if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) libvirtError: internal error unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7fab2ac43650>' Additional info: * package version(s) virt-manager 1.0.1-1 * remote system is Ubuntu 12.04. I _can_ do the same without any problems, connecting from another Ubuntu to the same server * remote libvirt version is 0.9.8 * virt-manager 0.9.1 (from Ubuntu) works fine. Steps to reproduce: 1) connect in Virtual Manager to remote Ubuntu 12.04 (qemu+ssh) 2.1) create/import VM with display type "VNC" or 2.2) try to change display type from Spice to VNC or 2.3) try to add VNC display to existing VM without display of any type. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Tuesday, 05 January 2016, 16:51 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed
Tuesday, 05 January 2016, 16:51 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed
Seems to be fixed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1083899
But no new stable source code package has been released yet.
See http://koji.fedoraproject.org/koji/rpminfo?rpmID=4984088 for patches:
0001-gfxdetails-Show-port-number-for-active-autoport-VM-b.patch
0002-connection-Hook-into-domain-balloon-event-bz-1081424.patch
0003-details-Fix-showing-vcpus-values-in-customize-dialog.patch
0004-details-Fix-changing-graphics-type-bz-1083903.patch <-- This one fixed the bug reported here.
0005-createpool-Clarify-iscsi-IQN-fields-bz-1084011.patch
0006-error-Don-t-log-redundant-details-bits.patch
0007-engine-More-work-to-fix-cascading-error-dialogs.patch
0008-filesystem-Fix-target-validation-when-editing-device.patch
0009-details-Explicit-warn-that-format-doesn-t-change-ima.patch
0010-snapshots-Fix-screenshot-with-qxl-spice-bz-1089780.patch
0011-Fix-using-storage-when-the-directory-name-contains-w.patch
0012-packageutils-Fix-install-when-one-package-is-already.patch
# virsh edit $vmname
And add this line inside 'device' block:
<graphics type='spice' autoport='yes'/>
References:
http://people.freedesktop.org/~teuf/spice-doc/html/ch02s03.html
http://libvirt.org/formatdomain.html#elementsGraphics