Katello 3.4 Documentation

Katello Upgrade

Pre-upgrade considerations

Before you upgrade, you need to run the upgrade check script that will check for any active tasks, your version of Katello, and if there are any content hosts that will be deleted (see below). This script is included in Katello 2.4.3.

To run the script:

foreman-rake katello:upgrade_check

Step 1 - Backup

If Katello is running on a Virtual Machine, we recommend to take a snapshot prior to upgrading. Otherwise, take a backup of the relevant databases by following the instructions here.

Step 2 - Operating System

Ensure your operating system is fully up-to-date:

yum -y update

NOTE: If kernel packages are updated here (e.g. upgrading el 6.6 to 6.7), you must reboot and ensure the new kernel and SELinux policy is loaded before upgrading Katello.

Step 3 - Repositories

Update the Foreman and Katello release packages:

  • RHEL7 / CentOS 7:
  yum update -y https://fedorapeople.org/groups/katello/releases/yum/3.4/katello/el7/x86_64/katello-repos-latest.rpm
  yum update -y https://yum.theforeman.org/releases/1.15/el7/x86_64/foreman-release.rpm
  yum update -y foreman-release-scl

Step 4 - Update Packages

Clean the yum cache

yum clean all

Update the required packages:

yum -y update

Step 5 - Run Installer

The installer with the –upgrade flag will run the right database migrations for all component services, as well as adjusting the configuration to reflect what’s new in Katello 3.4

foreman-installer --scenario katello --upgrade

Congratulations! You have now successfully upgraded your Katello to 3.4 For a rundown of what was added, please see release notes.!

If for any reason, the above steps failed, please review /var/log/foreman-installer/katello.log – if any of the “Upgrade step” tasks failed, you may try to run them manaully below to aid in troubleshooting.

Registration for Foreman Open Source Camp (November 7th) is open!

CFP for Config Management Camp and FOSDEM Infra Management room is open until November 3rd. CFP for Devconf.CZ closes November 1st. Submit your talks today!

Foreman 1.23.0 has been released! Follow the quick start to install it.

Foreman 1.22.1 has been released! Follow the quick start to install it.

Foreman 1.21.4 has been released! Follow the quick start to install it.