Skip to main content

Posts

Showing posts from December, 2022

Foreman - Upgrade to Foreman 3.4 and Katello 4.6

NOTE: this guide exists for Upgrading from v3.2 to v3.3 as well --> here With the current version, the official documentation is quite good and can be referenced. I would recommend executing all of these commands in a tmux session so that your session will remain on the server in case anything happens to your workstation. Start by checking for running tasks that would prohibit an update: [root@katello01 ~]# foreman-rake katello:upgrade_check Next, update the katello host and reboot if yum tells you to: [root@katello01 ~]# dnf -4y --refresh update [root@katello01 ~]# dnf needs-restarting -r If there were any updates to foreman-related packages, make sure foreman is in a consistent state: [root@katello01 ~]# foreman-maintain service stop [root@katello01 ~]# foreman-installer --scenario katello When the katello services have started again, upgrade the repositories: [root@katello01 ~]# dnf -4y update https://yum.theforeman.org/releases/3.4/el8/x86_64/foreman-release.rpm

Foreman - Enable oVirt and Proxmox Compute Resources

I've recently been looking at virtualization solutions again and I decided to take a closer look at proxmox this time aswell. Now one major requirement for me is integration with foreman/katello since I want to have foreman take control of creating and provisioning vms. By default, there is no option to use proxmox as a compute resource so we'll have to make it available to foreman. oVirt does have a built-in integration which can ben activated passing the option '--enable-foreman-compute-ovirt' to the installer. First, we'll search for any proxmox-related packages available in the repositories: [archy@katello01 ~]$ sudo dnf -4y --refresh search proxmox ======================== Name & Summary Matched: proxmox ======================== rubygem-fog-proxmox.noarch : Module for the 'Fog' gem to support Proxmox VE rubygem-fog-proxmox-doc.noarch : Documentation for rubygem-fog-proxmox rubygem-foreman_fog_proxmox.noarch : Foreman plugin that adds Pr