Noticed an update today for virt-manager. And I’ve noticed some changes. most noticeable was the xend daemon running again.
ps -A | egrep -i ‘xen|qemu|virt’ | sort
121 ? 00:00:00 xenwatch
122 ? 00:00:00 xenbus
1245 ? 00:00:00 xen_pciback_wor
1276 ? 00:00:00 xenstored
1285 ? 00:00:00 xenconsoled
1332 ? 00:00:00 qemu-system-i38
1362 ? 00:00:00 xend
1366 ? 00:00:01 xend
2163 ? 00:00:00 libvirtd
2908 ? 00:00:00 qemu-system-i38
3026 ? 00:01:32 qemu-system-i38
3190 ? 00:00:01 qemu-system-i38
When opening virt-manager as a user, I no longer get prompted for admin password, it also errors out as follows.
Unable to connect to libvirt.
Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Permission denied
Verify that:
- A Xen host kernel was booted
- The Xen service has been started
In Details:
Unable to connect to libvirt.
Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Permission denied
Verify that:
- A Xen host kernel was booted
- The Xen service has been started
Libvirt URI is: xen:///
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 1054, in _open_thread
self._backend.open(self._do_creds_password)
File “/usr/share/virt-manager/virtinst/connection.py”, line 158, in open
open_flags)
File “/usr/lib64/python2.7/site-packages/libvirt.py”, line 105, in openAuth
if ret is None:raise libvirtError(‘virConnectOpenAuth() failed’)
libvirtError: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Permission denied
However if I launch virt-manager as root from a shell or when logged in as root, it connects and shows the running vm’s that I started manually. However if I try to connect to a running machine I get the following;
Error launching details: ‘gi.repository.Vte’ object has no attribute ‘TerminalCursorBlinkMode’
Details:
rror launching details: ‘gi.repository.Vte’ object has no attribute ‘TerminalCursorBlinkMode’
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/engine.py”, line 828, in _show_vm_helper
details.activate_default_page()
File “/usr/share/virt-manager/virtManager/details.py”, line 1405, in activate_default_page
self.activate_default_console_page()
File “/usr/share/virt-manager/virtManager/details.py”, line 1399, in activate_default_console_page
self.console.activate_default_console_page()
File “/usr/share/virt-manager/virtManager/console.py”, line 1619, in activate_default_console_page
self._show_serial_tab(name, serialidx)
File “/usr/share/virt-manager/virtManager/console.py”, line 1678, in _show_serial_tab
serial = vmmSerialConsole(self.vm, target_port, name)
File “/usr/share/virt-manager/virtManager/serialcon.py”, line 319, in init
self.init_terminal()
File “/usr/share/virt-manager/virtManager/serialcon.py”, line 329, in init_terminal
self.terminal.set_cursor_blink_mode(Vte.TerminalCursorBlinkMode.ON)
File “/usr/lib64/python2.7/site-packages/gi/module.py”, line 320, in getattr
return getattr(self._introspection_module, name)
File “/usr/lib64/python2.7/site-packages/gi/module.py”, line 139, in getattr
self.name, name))
AttributeError: ‘gi.repository.Vte’ object has no attribute ‘TerminalCursorBlinkMode’
libvirtd started in this condition.
systemctl status -l libvirtd
libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
Active: active (running) since Mon 2014-11-10 22:52:42 EST; 9min ago
Docs: man:libvirtd(8)
http://libvirt.org
Main PID: 2163 (libvirtd)
CGroup: /system.slice/libvirtd.service
└─2163 /usr/sbin/libvirtd --listen
Nov 10 22:52:43 VERN libvirtd[2163]: Failed to query host NUMA topology, disabling NUMA capabilities
Nov 10 22:52:43 VERN libvirtd[2163]: Failed to get host CPU
Nov 10 22:52:43 VERN libvirtd[2163]: Failed to query host NUMA topology, disabling NUMA capabilities
And xend:
systemctl status -l xend
xend.service - Xend - Starts and stops the Xen management daemon
Loaded: loaded (/usr/lib/systemd/system/xend.service; enabled)
Active: active (running) since Mon 2014-11-10 22:52:29 EST; 50min ago
Process: 1212 ExecStart=/usr/sbin/xend start (code=exited, status=0/SUCCESS)
Process: 1178 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 1366 (xend)
CGroup: /system.slice/xend.service
├─1362 /usr/bin/python /usr/sbin/xend start
├─1364 blktapctrl
└─1366 /usr/bin/python /usr/sbin/xend start
Nov 10 22:52:29 VERN systemd[1]: xend.service: Supervising process 1366 which is not our child. We’ll most likely not notice when it exits.
After the failed attempt of virt-manager launched as a user, and again as root from libvirtd;
systemctl status -l libvirtd
libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
Active: active (running) since Mon 2014-11-10 22:52:42 EST; 45min ago
Docs: man:libvirtd(8)
http://libvirt.org
Main PID: 2163 (libvirtd)
CGroup: /system.slice/libvirtd.service
└─2163 /usr/sbin/libvirtd --listen
Nov 10 23:25:33 VERN wicked[4329]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:25:33 VERN wicked[4337]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:25:33 VERN wicked[4345]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:25:33 VERN wicked[4353]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:25:33 VERN wicked[4361]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:25:33 VERN libvirtd[2163]: this function is not supported by the connection driver: virConnectListAllDomains
Nov 10 23:25:33 VERN libvirtd[2163]: this function is not supported by the connection driver: virDomainGetMetadata
Nov 10 23:25:33 VERN libvirtd[2163]: this function is not supported by the connection driver: virDomainMemoryStats
Nov 10 23:25:34 VERN wicked[4414]: ifcfg-eth0: ignoring unspecified ip address 0.0.0.0
Nov 10 23:34:17 VERN libvirtd[2163]: this function is not supported by the connection driver: virDomainListAllSnapshots
Wil