[virt-tools-list] virt-manager does not save connections

Cole Robinson crobinso at redhat.com
Fri Sep 26 13:45:43 UTC 2014


On 09/26/2014 08:22 AM, Maria Tsiolakki wrote:
> Hello
> 
> we have installed centos 7 minimal on a new server. We have also installed the
> virt-manager (Version: 0.10.0, Release : 20.el7) on a management server. This
> server is not a KVM Host, is just a management server we want to run the
> virt-manager in order to connect to remote KVM Hosts.
> virt-manager, runs fine, we can create "new connection" to our KVM hosts (with
> ssh method), we are able to connect and view our kvm clients. The problem is
> that, if you exit the virt-manager, and start it up again, the connections
> established during previous login, are not there.
> 
> If you execute the command
> /bin/systemctl status libvirtd.service
> 
> libvirtd.service - Virtualization daemon
> Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
> Active: active (running) since Thu 2014-09-25 15:39:51 EEST; 10s ago
> Main PID: 18822 (libvirtd)
> CGroup: /system.slice/libvirtd.service
> ââ 2707 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
> ââ18822 /usr/sbin/libvirtd
> 
> Sep 25 15:39:51 server.in.cs.ucy.ac.cy systemd[1]: Started Virtualization daemon.
> Sep 25 15:39:51 server.in.cs.ucy.ac.cy libvirtd[18822]: libvirt version:
> 1.1.1, package: 29.el7_0.1 (CentOS BuildSystem <http://bugs.centos.org>,
> 2014-07-22-19:38:59, worker1.bsys.centos.org)
> Sep 25 15:39:51 server.in.cs.ucy.ac.cy libvirtd[18822]: Unable to lookup
> SELinux process context: Invalid argument
> Sep 25 15:39:58 server.in.cs.ucy.ac.cy dnsmasq[2707]: read /etc/hosts - 2
> addresses
> Sep 25 15:39:58 server.in.cs.ucy.ac.cy dnsmasq[2707]: read
> /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
> Sep 25 15:39:58 server.in.cs.ucy.ac.cy dnsmasq-dhcp[2707]: read
> /var/lib/libvirt/dnsmasq/default.hostsfile
> 
> SELinux has been disabled on the system.
> 
> I am not sure what the problem is.
> 
> Has anybody installed this version of virt-manager on centos 7?
> 
> Any suggestions?
> 
> Thank you in advance

Hmm. Try running virt-manager --debug and seeing what the output is. However I
bet it's because dconf isn't installed. The virt-manager RPM was missing a
dependency on dconf in 0.10.0, we fixed it in fedora but forgot to fix it in
RHEL7.0 (it will be fixed in 7.1)

So just do 'sudo yum install dconf dbus-x11', restart virt-manager, enter the
connections again, and they should stick.

- Cole




More information about the virt-tools-list mailing list