KVM libvirt virt-manager failing to request root password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm having trouble creating new VM's on Mandriva One 2009.1.

The problem seems to be that the Virtual Machine Manager does not request the root password and as a result I am unable to create new VMs.

I've attached a copy of the relevant virt-manager log file with my comments added.

Can you advise me how to proceed?

Many thanks,
RichH

Hello,

Iḿ trying to setup a virtual machine on Mandriva One 2009.1 running on an
Intel Core2 Duo CPU E6850. Iḿ using KVM, qemu, libvirt and virt-manager 
from Mandrivaâ??s repositories.

When I start the Virtual Machine Manager from Tools - Emulators it
already has a localhost with ID qemu and Status Active (RO).

Double clicking on the localhost does nothing. My understanding is 
that it should ask for the root password at this stage. Clicking on
the ´New' button brings up a New VM window ready to accept a name for the new VM,
but the choice of how to install the operating system is greyed out as are the
Forward and Back arrows.


By way of preparation I followed Frederik´s blog at
http://artipc10.vub.ac.be/wordpress/mandriva/using-kvm-on-mandriva-20090.html

In the file /etc/sysconfig/udev_net I have added virbr* and vnet* to the 
BLACKLIST_ALL line.
I installed the kvm, qemu and virt-manager packages.
The libvirtd service is running.
I started the Virtual Machine Manager from Tools â?? Emulators. 

Frederik says ¨Choose File â?? Add Connection and set up a Local QEMU connection.¨
The local qemeu connection was already made but it is in read only status.

Frederik says ¨Double click on the localhost/qemu connection in the virtual machine manager, 
and enter your root password.¨
Double clicking doesn´t provide an opportunity to enter the root password.

Frederik says ¨You can now create new virtual machines by clicking on the New button.¨
I can´t!!


I´ve attached part of the virt-manager.log file which appears to show that
an error occurs at the point where an attempt is made to get the root password ie.
´Doing policykit for org.libvirt.unix.manage´


Are you able to advise me if perhaps I have a file missing or need to configure something
differently in Mandriva?

Many thanks,
RichH



Email list address: et-mgmt-tools@xxxxxxxxxx



[Wed, 15 Jul 2009 12:11:41 virt-manager 834] INFO (virt-manager:144) Application startup
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (engine:81) About to connect to uris []
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:145) Bonding masters are: []
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_ca_a9_57_b2_a3_c1
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:231) Adding net device virbr0 ca:a9:57:b2:a3:c1 /sys/class/net/virbr0 (bridge: None)
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/virbr0
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_00_1e_8c_9c_09_79
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:231) Adding net device eth1 00:1e:8c:9c:09:79 /sys/class/net/eth1 (bridge: None)
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/eth1
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_computer_loopback
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:231) Adding net device lo 00:00:00:00:00:00 /sys/class/net/lo (bridge: None)
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/lo
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (engine:320) window counter incremented to 1
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:455) Scheduling background open thread for qemu:///system
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:585) Background thread is running
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:465) Doing policykit for org.libvirt.unix.manage
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:477) Falling back to org.gnome.PolicyKit
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] ERROR (connection:550) Failed to get credentials 'qemu:///system':
<class 'dbus.exceptions.DBusException'> org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.PolicyKit was not provided by any .service files
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 535, in _do_creds
    return self._do_creds_polkit(creds[0][1])
  File "/usr/share/virt-manager/virtManager/connection.py", line 479, in _do_creds_polkit
    obj = bus.get_object("org.gnome.PolicyKit", "/org/gnome/PolicyKit/Manager")
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.PolicyKit was not provided by any .service files

[Wed, 15 Jul 2009 12:11:42 virt-manager 835] ERROR (connection:576) Read/write connection failed for qemu:///system, falling back on read-only.
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 565, in _try_open
    None], flags)
  File "/usr/lib/python2.6/site-packages/libvirt.py", line 98, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to collect auth credentials
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:623) Background open thread complete, scheduling notify
[Wed, 15 Jul 2009 12:11:42 virt-manager 835] DEBUG (connection:632) Notifying open result
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connect:258) Connection to open is qemu:///system
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:145) Bonding masters are: []
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_ca_a9_57_b2_a3_c1
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:231) Adding net device virbr0 ca:a9:57:b2:a3:c1 /sys/class/net/virbr0 (bridge: None)
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/virbr0
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_00_1e_8c_9c_09_79
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:231) Adding net device eth1 00:1e:8c:9c:09:79 /sys/class/net/eth1 (bridge: None)
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/eth1
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:171) Got physical net device /org/freedesktop/Hal/devices/net_computer_loopback
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:231) Adding net device lo 00:00:00:00:00:00 /sys/class/net/lo (bridge: None)
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:203) Checking for VLANs on /sys/class/net/lo
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:455) Scheduling background open thread for qemu:///system
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:585) Background thread is running
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:465) Doing policykit for org.libvirt.unix.manage
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:477) Falling back to org.gnome.PolicyKit
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] ERROR (connection:550) Failed to get credentials 'qemu:///system':
<class 'dbus.exceptions.DBusException'> org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.PolicyKit was not provided by any .service files
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 535, in _do_creds
    return self._do_creds_polkit(creds[0][1])
  File "/usr/share/virt-manager/virtManager/connection.py", line 479, in _do_creds_polkit
    obj = bus.get_object("org.gnome.PolicyKit", "/org/gnome/PolicyKit/Manager")
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.PolicyKit was not provided by any .service files

[Wed, 15 Jul 2009 12:14:56 virt-manager 835] ERROR (connection:576) Read/write connection failed for qemu:///system, falling back on read-only.
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 565, in _try_open
    None], flags)
  File "/usr/lib/python2.6/site-packages/libvirt.py", line 98, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to collect auth credentials
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:623) Background open thread complete, scheduling notify
[Wed, 15 Jul 2009 12:14:56 virt-manager 835] DEBUG (connection:632) Notifying open result
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux