microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.28k stars 538 forks source link

Libvirt built with mariner specs does not support qemu and lacks binaries #1836

Closed aostapenko closed 10 months ago

aostapenko commented 2 years ago

Libvirt lacks runtime binaries:

Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 systemd[1]: Starting Virtualization daemon... Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 systemd[1]: Started Virtualization daemon. Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: libvirt version: 6.1.0 Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: hostname: cbl-mariner-9MLCouLpY9t3 Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: Cannot check dnsmasq binary dnsmasq: No such file or directory Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: internal error: Failed to initialize a valid firewall backend Jan 04 19:38:04 cbl-mariner-9MLCouLpY9t3 libvirtd[654]: internal error: Failed to find path for dmidecode binary

Libvirt lacks qemu support: user@cbl-mariner-9MLCouLpY9t3 [ ~ ]$ sudo virsh capabilities

a4c53cef-7bcf-4be9-8fe6-7bc30b20204b x86_64 3897928 none 0 exe 64 /usr/libexec/libvirt_lxc exe 32 /usr/libexec/libvirt_lxc
PawelWMS commented 2 years ago

Hey, Andrii,

Thanks for finding that and the PR. We're currently updating libvirt to the latest version and the update should hopefully address that issue (among other things).

aostapenko commented 2 years ago

Hey, yes I just saw your pull request - Thanks! Will check it out.

christopherco commented 10 months ago

Looks to be fixed. Closing out the issue. Please open a new issue if the problem is still present.