Katello 3.2 Documentation

Capsule Upgrade

Step 1 - 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 2 - Repositories

Update the Foreman and Katello release packages:

  • RHEL6 / CentOS 6 Foreman packages are not available yet:
  yum update -y http://fedorapeople.org/groups/katello/releases/yum/3.2/katello/el6/x86_64/katello-repos-latest.rpm
  yum update -y http://fedorapeople.org/groups/katello/releases/yum/foreman/1.13/el6/x86_64/foreman-release.rpm
  • RHEL7 / CentOS 7:
  yum update -y http://fedorapeople.org/groups/katello/releases/yum/3.2/katello/el7/x86_64/katello-repos-latest.rpm
  yum update -y http://yum.theforeman.org/releases/1.13/el7/x86_64/foreman-release.rpm

Step 3 - Update Packages

Clean the yum cache

yum clean all

Update packages:

yum update -y
yum install katello-capsule

Step 4 - Regenerate Certificates

On the Katello server, regenerate the certificates tarball for your capsule:

capsule-certs-generate --capsule-fqdn "mycapsule.example.com"\
                       --certs-tar    "~/mycapsule.example.com-certs.tar"

And copy them to your capsule:

scp ~/mycapsule.example.com-certs.tar mycapsule.example.com:

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.2

foreman-installer --scenario capsule --upgrade\
                  --capsule-certs-tar ~/mycapsule.example.com-certs.tar\
                  --certs-update-all --certs-regenerate --deploy

Congratulations! You have now successfully upgraded your Capsule to 3.2 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/capsule.log – if any of the “Upgrade step” tasks failed, you may try to run them manaully below to aid in troubleshooting.



Foreman 1.16.0 is now available, featuring Puppet 5 support, Netgroup LDAP authentication, a more performant Host API, VMWare SCSI controllers with per -disc configuration and many other enhancements. Read all about the changes in the release notes, and follow the quick start to install it.

A new bug fix release for Foreman 1.15 is available. See the Foreman 1.15.6 release notes for more details.