Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
k829king
Posts: 133
Joined: 2018-08-26 09:47

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

#1 Post by k829king »

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.

CwF
Global Moderator
Global Moderator
Posts: 2709
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

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

#2 Post by CwF »

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

k829king
Posts: 133
Joined: 2018-08-26 09:47

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

#3 Post by k829king »

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.

CwF
Global Moderator
Global Moderator
Posts: 2709
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

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

#4 Post by CwF »

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

k829king
Posts: 133
Joined: 2018-08-26 09:47

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

#5 Post by k829king »

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

CwF
Global Moderator
Global Moderator
Posts: 2709
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

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

#6 Post by CwF »

k829king wrote:thankyou will try later, unit in use at moment
Re-establish iptables and you should be good...

k829king
Posts: 133
Joined: 2018-08-26 09:47

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

#7 Post by k829king »

thankyou, sorted, though I have a mixture of buster and buster-backports so I had to install the iptables from backports

Post Reply