Upgrading Contrail Networking Release 1912.L4 or 2011.L3 with RHOSP 13 or RHOSP 16.1 to Contrail Networking Release 21.4 with RHOSP 16.2
The goal of this topic is to provide a combined procedure to upgrade Red Hat OpenStack Platform (RHOSP) from RHOSP 13 or RHOSP 16.1 to RHOSP 16.2 by leveraging Red Hat Fast Forward Upgrade (FFU) procedure while simultaneously upgrading Contrail Networking from Release 1912.L4 or 2011.L3 to Release 21.4.
The downtime will be reduced by not requiring extra server reboots in addition to the ones that the RHOSP FFU procedure already requires for Kernel/RHEL upgrades.
Before upgrading overcloud, refer Chapter 20—Speeding up an overcloud upgrade.
Refer to Framework for Upgrades (13 to 16.2) documentation for details on RHOSP 13 to RHOSP 16.2 Fast Forward Upgrade (FFU) procedure of OpenStack Platform environment from one long life version to the next long life version.
Refer to Keeping Red Hat OpenStack Platform Updated documentation for details on RHOSP 16.1 to RHOSP 16.2 to perform minor updates of Red Hat OpenStack Platform.
When to Use This Procedure
The procedure in this document has been validated for the following Contrail Networking upgrade scenarios:
Current Version |
Target Version |
---|---|
RHOSP 13 |
RHOSP 16.2 |
RHOSP 16.1 |
RHOSP 16.2 |
Contrail Networking Release 1912.L4 |
Contrail Networking Release 21.4 |
Contrail Networking Release 2011.L3 |
Contrail Networking Release 21.4 |
Prerequisites
This document makes the following assumptions about your environment:
A Contrail Networking deployment using Red Hat OpenStack version 13 (RHOSP 13) or RHOSP 16.1 as the orchestration platform is already operational.
The overcloud nodes in the RHOSP 13 or RHOSP 16.1 environment have an enabled Red Hat Enterprise Linux (RHEL) subscription.
Your environment is running Contrail Release 1912.L4 or 2011.L3 and upgrading to Contrail Release 21.4.
If you are updating Red Hat OpenStack simultaneously with Contrail Networking, we assume that the undercloud node is updated to the latest minor version and that new overcloud images are prepared for an upgrade. See the Chapter 2—Updating the undercloud section of the Keeping Red Hat OpenStack Platform Updated guide from Red Hat. If the undercloud has been updated and a copy of the heat templates are used for the deployment, update the copy of the heat template from the Red Hat’s core heat template collection at /usr/share/openstack-tripleo-heat-templates. For more information on this process, see the Understanding Heat Templates chapter from Red Hat.
Per Red Hat OpenStack support guidelines, do not change IP addresses during this upgrade.
New Contrail Control plane is deployed on K8s/OpenShift cluster with a self-signed root CA:
You should generate a self-signed root CA and a key: k8s-root-ca.pem and k8s-root-ca-key.pem.
You must deploy Contrail with the generated self-signed root CA and key as a Contrail root CA.
Example of input environment variables for deploying new Contrail Control plane on K8s/OpenShift cluster with a self-signed root CA:
export SSL_CACERT=$(cat ~/k8s-root-ca.pem) export SSL_CAKEY=$(cat ~/k8s-root-ca-key.pem) ... other actions to deploy from tf-operator ...
Use CA bundle, if RHOSP uses IPA for the certificate management cluster. Example of how to prepare CA bundle and use as Contrail root CA:
cat k8s-root-ca.pem /etc/ipa/ca.crt > ca-bundle.pem export SSL_CACERT=$(cat ~/ca-bundle.pem) export SSL_CAKEY=$(cat ~/k8s-root-ca-key.pem) ... other actions to deploy from tf-operator ...
Before You Begin
We recommend performing these procedures before you start the update:
Backup your Contrail configuration database before starting this procedure, see:
Each compute node agent will go down during this procedure, causing some compute node downtime. The estimated downtime for a compute node varies by environment, but typically took between 12 and 15 minutes in our testing environments.
If you have compute nodes with workloads that cannot tolerate this downtime, consider migrating workloads or taking other steps to accommodate this downtime in your environment.
Obtain ContrailImageTag from:
Upgrade Contrail Networking Release 1912.L4 or 2011.L3 with RHOSP 13 or RHOSP 16.1 to Contrail Networking Release 21.4 with RHOSP 16.2
To perform the upgrade: