Chapter 21. Performing post-upgrade actions
After you have completed the overcloud upgrade, you must perform some post-upgrade configuration to ensure that your environment is fully supported and ready for future operations.
21.1. Removing unnecessary packages from the undercloud
After the Leapp upgrade, some unnecessary packages remain on the undercloud. Remove these packages.
Remove the unnecessary packages
$ sudo dnf -y remove python2*
21.2. Validating the post-upgrade functionality
Run the post-upgrade validation group to check the post-upgrade functionality.
$ source ~/stackrc
openstack tripleo validator runcommand with the --group post-upgrade option:
$ openstack tripleo validator run --group post-upgrade
Review the results of the validation report. To view detailed output from a specific validation, run the
openstack tripleo validator show runcommand against the UUID of the specific validation from the report:
$ openstack tripleo validator show run <UUID>
FAILED validation does not prevent you from deploying or running Red Hat OpenStack Platform. However, a
FAILED validation can indicate a potential issue with a production environment.
21.3. Upgrading the overcloud images
You must replace your current overcloud images with new versions. The new images ensure that the director can introspect and provision your nodes using the latest version of OpenStack Platform software.
- You have upgraded the undercloud to the latest version.
Log in to the undercloud as the
$ source ~/stackrc
Install the packages containing the overcloud QCOW2 archives:
$ sudo dnf install rhosp-director-images rhosp-director-images-ipa
Remove any existing images from the
imagesdirectory on the
stackuser’s home (
$ rm -rf ~/images/*
Extract the archives:
$ cd ~/images $ for i in /usr/share/rhosp-director-images/overcloud-full-latest-16.1.tar /usr/share/rhosp-director-images/ironic-python-agent-latest-16.1.tar; do tar -xvf $i; done $ cd ~
Import the latest images into the director:
$ openstack overcloud image upload --update-existing --image-path /home/stack/images/
Configure your nodes to use the new images:
$ openstack overcloud node configure $(openstack baremetal node list -c UUID -f value)
When you deploy overcloud nodes, ensure that the overcloud image version corresponds to the respective heat template version. For example, use the OpenStack Platform 16.1 images only with the OpenStack Platform 16.1 heat templates.
overcloud-full image replaces the old
overcloud-full image. If you made changes to the old image, you must repeat the changes in the new image, especially if you want to deploy new nodes in the future.
21.4. Migrating to Open Virtual Network (OVN)
Open Virtual Network (OVN) is an Open vSwitch-based software-defined networking (SDN) solution for supplying network services to instances. OVN provides platform-neutral support for the full OpenStack Networking API. You can use OVN to connect groups of guest instances programatically into private L2 and L3 networks. OVN uses a standard approach to virtual networking that can extend to other Red Hat platforms and solutions.
After you upgrade to Red Hat Enterprise Linux 16.1, migrate the OpenStack Networking (neutron) service on your overcloud from the ML2/OVS driver to the ML2/OVN driver. For more information on migrating to ML2/OVN, see "Migrating from ML2/OVS to ML2/OVN".