[SOLVED] Cannot start any VM/container after upgrade

Pedan

New Member
Nov 25, 2021
2
0
1
28
After upgrading from 6.4 to 7.1 I cannot run any VM or container anymore.

VMs show errors that there is no virtualization enabled anymore and containers show that they are not able to create network devices.

BIOS settings haven't been changed and I am unable to verify the current settings, because my servers are hosted by Hetzner and I need to order a LARA remote console in order to change any BIOS settings.

Please let me know if there are any logs you need to see.

The errors from start actions:
Bash:
netdev_configure_server_veth: 659 Operation not supported - Failed to create veth pair "veth105i0" and "vethBQ4sQq"
lxc_create_network_priv: 3418 Operation not supported - Failed to create network device
lxc_spawn: 1844 Failed to create the network
__lxc_start: 2073 Failed to spawn container "105"

Code:
TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.

Code:
kvm: CPU model 'host' requires KVM or HVF
TASK ERROR: start failed: QEMU exited with code 1
 
hi,

have you rebooted after the upgrades? please do if you haven't.

what do you get from ls -al /dev/kvm on your PVE host?
 
  • Like
Reactions: Pedan
Hi Oguz,

thank you for your reply.
All that happened after I rebooted the server after the upgrade.

Bash:
[root@pve1 ~]$ ls -al /dev/kvm
ls: cannot access '/dev/kvm': No such file or directory

I did another reboot and now everything is working.

Bash:
[root@pve1 ~]$ ls -al /dev/kvm
crw-rw---- 1 root kvm 10, 232 Nov 25 17:28 /dev/kvm

Next time I will panic less and do just another restart :confused:

Thank you!