[SOLVED] Virtual Machine Manager - QEMU/KVM - Not Connected

Kernels & Hardware, configuring network, installing services

[SOLVED] Virtual Machine Manager - QEMU/KVM - Not Connected

Postby k829king » 2020-09-08 11:58

I noted a recent update removed "libvirt-daemon-system" and now when I start Virtual Machine Manager the list of my VM's is missing and instead I see
QEMU/KVM - Not Connected
If I go to re-install libvirt-daemon-system I get a popup of additional changes required.
It is going to remove
nftables
and install
firewalld
ipset
and a bunch of other things

does anyone have an inkling of why this is happening .... am I safe to reinstall "libvirt-daemon-system" and allow these other changes?
Last edited by k829king on 2020-09-08 15:20, edited 1 time in total.
k829king
 
Posts: 68
Joined: 2018-08-26 09:47

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby CwF » 2020-09-08 12:29

Ahhh, specify a little better...upgraded what? What release?

libvirt-daemon-system requires iptables, check if installed.

Also check #libvirtd output for a line ...Authorization: Action org.libvirt.unix.manage is not registered
CwF
 
Posts: 769
Joined: 2018-06-20 15:16

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby k829king » 2020-09-08 12:36

Ahhh, specify a little better...upgraded what? What release?
As in from synaptic I chose reload, mark all upgrades, apply
libvirt-daemon-system requires iptables, check if installed.
It was before the upgrade, it also got removed at that time.
Also check #libvirtd output for a line ...Authorization: Action org.libvirt.unix.manage is not registered
can you elaborate, not sure what you are asking there.
k829king
 
Posts: 68
Joined: 2018-08-26 09:47

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby CwF » 2020-09-08 12:43

k829king wrote:It was before the upgrade, it also got removed at that time.

Reinstall iptables, required, sorry! nftables alone does not work.

output of libvirtd at a root terminal
Code: Select all
#  libvirtd
CwF
 
Posts: 769
Joined: 2018-06-20 15:16

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby k829king » 2020-09-08 12:49

thankyou will try later, unit in use at moment
re libvirtd
Code: Select all
$libvirtd
2020-09-08 13:33:41.912+0000: 24583: info : libvirt version: 5.0.0, package: 4+deb10u1 (Guido Günther <agx@sigxcpu.org> Thu, 05 Dec 2019 00:22:14 +0100)
2020-09-08 13:33:41.912+0000: 24583: info : hostname: ********
2020-09-08 13:33:41.912+0000: 24583: error : virFirewallValidateBackend:187 : direct firewall backend requested, but /usr/sbin/iptables is not available: No such file or directory
2020-09-08 13:33:41.912+0000: 24583: error : virFirewallApply:898 : internal error: Failed to initialize a valid firewall backend
2020-09-08 13:33:42.405+0000: 24583: error : virFirewallApply:898 : internal error: Failed to initialize a valid firewall backend
2020-09-08 13:33:42.496+0000: 24586: error : virFileReadAll:1438 : Failed to open file '/sys/class/net/virbr1-nic/operstate': No such file or directory
2020-09-08 13:33:42.496+0000: 24586: error : virNetDevGetLinkInfo:2481 : unable to read: /sys/class/net/virbr1-nic/operstate: No such file or directory
2020-09-08 13:33:42.590+0000: 24583: error : virFirewallApply:898 : internal error: Failed to initialize a valid firewall backend
2020-09-08 13:33:42.640+0000: 24586: error : virFileReadAll:1438 : Failed to open file '/sys/class/net/virbr0-nic/operstate': No such file or directory
2020-09-08 13:33:42.640+0000: 24586: error : virNetDevGetLinkInfo:2481 : unable to read: /sys/class/net/virbr0-nic/operstate: No such file or directory
2020-09-08 13:33:42.777+0000: 24583: error : virDirOpenInternal:2883 : cannot open directory '/var/lib/libvirt/images': No such file or directory
2020-09-08 13:33:42.777+0000: 24583: error : storageDriverAutostartCallback:216 : internal error: Failed to autostart storage pool 'default': cannot open directory '/var/lib/libvirt/images': No such file or directory
k829king
 
Posts: 68
Joined: 2018-08-26 09:47

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby CwF » 2020-09-08 12:55

k829king wrote:thankyou will try later, unit in use at moment

Re-establish iptables and you should be good...
CwF
 
Posts: 769
Joined: 2018-06-20 15:16

Re: Virtual Machine Manager - QEMU/KVM - Not Connected

Postby k829king » 2020-09-08 15:19

thankyou, sorted, though I have a mixture of buster and buster-backports so I had to install the iptables from backports
k829king
 
Posts: 68
Joined: 2018-08-26 09:47


Return to System configuration

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable