I have a few CentOS 7 managed machines in Foreman.
I would like to run the leapp tool to upgrade them to Alma 8 or Rocky 8.
I don’t want to upgrade the Foreman host itself.
I would like to use Foreman to automate these inplace-upgrades using leapp.
I noticed there is a Foreman plugin for that purpose:
But I struggle to find documentation and I don’t understand how to use it.
Upgrade managed hosts from CentOS 7 to Alma 8 or Rocky 8 via leapp integration
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Rocky Linux 8.8
Other relevant data:
I too am interested in this. We have some CentOS 7 boxes that we need to replace. Would be interesting to see if we can do an in-place upgrade with this.
Red Hat provides the tool “leapp” for running in-place upgrades of RHEL.
Opensource communities have adopted this tool that allows in-place upgrades to any RHEL cloned distro (such as Alma Linux, Rock Linux, etc)
It can be found here:
However, when systems are managed by Foreman, it’s not clear how in-place upgrades should be done, as Foreman is managing its own yum repo.
It’s a great article, but it does not help solving this problem.
Remember I did some testing upgrading CentOS 7 to AlmaLinux 8.
Comes with a script I had to modify to make it understand that the sources was from the Foreman repo instead of a repo from Internet.
To make life easy and just want something working out of the box, just remove it from Foreman, use the standard repos on Internet, upgrade it, then join it to Foreman again.
Can not say I recommend the upgrade though, always better to just redeploy and start from scratch.