OndrejHome / fast-vm

'fast-vm' is a script for defining VMs from images provided in thin LVM pool.
GNU General Public License v3.0
22 stars 14 forks source link

RHEL 8 compatibility check #46

Closed OndrejHome closed 4 years ago

OndrejHome commented 5 years ago

Idea: Check what needs to be changed for fast-vm to run properly on RHEL 8.

TODO

OndrejHome commented 5 years ago

Seems that RHEL 8 contains the libvirt that uses firewalld zones, but it actually doesn't put the custom names interfaces into libvirt zone that allows forwarding of traffic, DHCP and other usual services for NAT libvirt network. There is a short list of 10 most common bridge names defined in the /usr/lib/firewalld/zones/libvirt.xml. For any custom named bridge the following commands are needed to get it into working libvirt zone.

firewall-cmd --zone=libvirt --change-interface=fastvm-nat
firewall-cmd --zone=libvirt --change-interface=fastvm-nat --permanent
OndrejHome commented 5 years ago

As of testing now with RHEL 8.0 it seems that firewall is OK. All packages libvirt-daemon-driver-network.x86_64 starting from version 4.5.0-23.module+el8+2800+2d311f65 seems to be OK.

OndrejHome commented 4 years ago

old images works well even at RHEL/CentOS 8 if there is qemu with megaraid SCSI support. Getting that builded automatically is however quite painful as the COPR seems to be broken for EPEL 8 and qemu related packages. The issue is the missing 'libssh2-devel' which is not accepted even when provided from same repository so there is no nice/easy way to distribute the RPMs that are needed. Still following the PACKAGING document is a way how to build the needed things. As this is not directly impacting fast-vm I will close this issue because this was the last thing on list here.