Chapter 4. Updating the Overcloud
This process updates the overcloud.
Prerequisites
- You have updated the undercloud to the latest version.
4.1. Running the overcloud update preparation
The update requires running openstack overcloud update prepare command, which performs the following tasks:
- Updates the overcloud plan to OpenStack Platform 13
- Prepares the nodes for the update
Procedure
Source the
stackrcfile:$ source ~/stackrc
Run the update preparation command:
$ openstack overcloud update prepare \ --templates \ -e /home/stack/templates/overcloud_images.yaml \ -e <ENVIRONMENT FILE>Include the following options relevant to your environment:
-
Custom configuration environment files (
-e) -
The environment file with your new container image locations (
-e). Note that the update command might display a warning about using the--container-registry-file. You can ignore this warning as this option is deprecated in favor of using-efor the container image environment file. -
If applicable, your custom roles (
roles_data) file (--roles-file) -
If applicable, your composable network (
network_data) file (--networks-file)
-
Custom configuration environment files (
- Wait until the update preparation completes.
4.2. Updating all Controller nodes
This process updates all the Controller nodes to the latest OpenStack Platform 13 verson. The process involves running the openstack overcloud update run command and including the --nodes Controller option to restrict operations to the Controller nodes only.
Procedure
Source the
stackrcfile:$ source ~/stackrc
Run the update command:
$ openstack overcloud update run --nodes Controller
- Wait until the Controller node update completes.
4.3. Updating all Compute nodes
This process updates all Compute nodes to the latest OpenStack Platform 13 version. The process involves running the openstack overcloud update run command and including the --nodes Compute option to restrict operations to the Compute nodes only.
Procedure
Source the
stackrcfile:$ source ~/stackrc
Run the update command:
$ openstack overcloud update run --nodes Compute
- Wait until the Compute node update completes.
4.4. Updating all Ceph Storage nodes
This process updates the Ceph Storage nodes. The process involves:
-
Running the
openstack overcloud update runcommand and including the--nodes CephStorageoption to restrict operations to the Ceph Storage nodes only. -
Running the
openstack overcloud ceph-upgrade runcommand to perform an update to a containerized Red Hat Ceph Storage 3 cluster.
Procedure
Source the
stackrcfile:$ source ~/stackrc
Run the update command:
$ openstack overcloud update run --nodes CephStorage
- Wait until the node update completes.
Run the Ceph Storage update command. For example:
$ openstack overcloud ceph-upgrade run \ --templates \ -e <ENVIRONMENT FILE> \ -e /home/stack/templates/overcloud_images.yamlInclude the following options relevant to your environment:
-
Custom configuration environment files (
-e) -
The environment file with your container image locations (
-e). Note that the update command might display a warning about using the--container-registry-file. You can ignore this warning as this option is deprecated in favor of using-efor the container image environment file. -
If applicable, your custom roles (
roles_data) file (--roles-file) -
If applicable, your composable network (
network_data) file (--networks-file)
-
Custom configuration environment files (
- Wait until the Ceph Storage node update completes.
4.5. Finalizing the update
The update requires a final step to update the overcloud stack. This ensures the stack’s resource structure aligns with a regular deployment of OpenStack Platform 13 and allows you to perform standard openstack overcloud deploy functions in the future.
Procedure
Source the
stackrcfile:$ source ~/stackrc
Run the update finalization command:
$ openstack overcloud update converge \ --templates \ -e <ENVIRONMENT FILE>Include the following options relevant to your environment:
-
Custom configuration environment files (
-e). -
If applicable, your custom roles (
roles_data) file (--roles-file) -
If applicable, your composable network (
network_data) file (--networks-file)
-
Custom configuration environment files (
- Wait until the update finalization completes.
