Skip to main content

Posts

Showing posts from November, 2022

oVirt - Prepping AlmaLinux 8 to be used as host in oVirt 4.5

oVirt is a project that aims to provide a distributed / clustered virtualization solution for a huge scale. If for some reason you don't want to use the ovirt-node images provided by ovirt.org, you can install any EL8 (or EL9 for that matter) host to be a hypervisor and add them to the cluster as needed. In order to have it working as expected, there are a few things that have to be taken care of. First, add some repositories to the host: [root@ovirtnode01 ~]# cat >/etc/yum.repos.d/CentOS-Stream-Extras.repo <<'EOF' [cs8-extras] name=CentOS Stream $releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=8-stream&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/$contentdir/8-stream/extras/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official EOF [root@ovirtnode01 ~]# cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF'

Satellite - No updates available after leapp upgrade

I've found that this only happens when using rhel and rhel-satellite with leapp. The release is set to the latest 'major.minor' version instead of just 'major' which would allow for updating between versions seemlessly: [root@satellite ~]# subscription-manager release --show Release: 8.6 A list of all available releases can be gathered by using 'subscription-manager release --list', but I will just set it to '8': [root@satellite ~]# subscription-manager release --set 8 After you've set the release, clean up the cache and refresh the subscription: [root@satellite ~]# subscription-manager refresh [root@satellite ~]# dnf clean all [root@satellite ~]# rm -rf /var/cache/dnf /var/cache/yum When you're done, check for updates again: [root@satellite ~]# dnf -4y --refresh --disableplugin 'foreman-protector' check-update You should now see all the latest updates from rhel8 as well as the update to rhel 8.7. Feel free to comme