Chapter 1. Preparing for a minor update Keep your Red Hat OpenStack Services on OpenShift (RHOSO) 18.0 environment updated with the latest packages and containers on the control plane and data plane. 1.1. Prerequisites You have the oc command line tool installed on your workstation. You are authorized to access the Red Hat OpenShift Container Platform (RHOCP) cluster. You have updated your Red Hat OpenStack Services on OpenShift (RHOSO) Operators by using the Operator Lifecycle Manager. For more information, see Updating installed Operators in the RHOCP 4.16 documentation. You enabled the repositories for your data plane nodes. For more information, see Creating a set of data plane nodes in the Deploying Red Hat OpenStack Services on OpenShift guide. You backed up your current environment with your preferred third-party backup and recovery tool. For more information about certified backup and recovery tools, see the Red Hat Ecosystem Catalog . Your Compute nodes are running either Red Hat Enterprise Linux (RHEL) 9.2 or RHEL 9.4. 1.2. Known issues Review the following known issues that might affect a successful update: Updating from 18.0.3 to 18.0.4 fails due to /var/lib/openstack/config/nova/nova_statedir_ownership.py: no such file or directory If your deployment includes Compute services, an update from Red Hat OpenStack Platform 18.0.3 to 18.0.4 fails because of the following error: /var/lib/openstack/config/nova/nova_statedir_ownership.py: no such file or directory Workaround : When you create the openstack-edpm-update-services.yaml file, add the nova service to the servicesOverride field. You must run the nova service first, as shown in the following example: For more information about creating the openstack-edpm-update-services.yaml file, see Creating the files for the data plane update . 1.3. Creating the files for the data plane update You can apply an update to one or more sets of data plane nodes. For example, you can update specific nodes within one maintenance window while workloads run on other nodes. Before you update the data plane, decide which data plane nodes that you want to update, and then specify them by creating two files that include a set of OpenStackDataPlaneNodeSet custom resources (CRs): openstack-edpm-update-ovn.yaml - You use this file to update your OVN services. You must update OVN services before the OpenStack Operator can begin the automatic update of the remaining control plane services. openstack-edpm-update-services.yaml - You use this file to update the remaining control plane packages, services, and container images on the data plane nodes. Procedure Create a file named openstack-edpm-update-ovn.yaml file on your workstation and include the following content: Replace <nodeSet_name> with the names of the OpenStackDataPlaneNodeSet CRs that you want to include in your data plane minor update, for example, preprovisioned_node_set . Note The servicesOverride field is set to include only ovn because the ovn service must be updated first in isolation. If you are using a custom service to manage OVN, use the custom service name instead of ovn in the servicesOverride field. Additionally, if you must update other custom services at the same time as OVN, you can include them in the servicesOverride field. Save the openstack-edpm-update-ovn.yaml deployment file. Create a file named openstack-edpm-update-services.yaml on your workstation and include the following content: Note The servicesOverride field is set to include only update . The update service applies only the tasks that are needed to update the packages and containers on the data plane nodes. If you are using custom services, include them in the servicesOverride field as well, or their equivalent custom services that apply the needed update tasks. Save the openstack-edpm-update-services.yaml deployment file.

Commands:
apiVersion: dataplane.openstack.org/v1beta1 kind: OpenStackDataPlaneDeployment metadata: name: edpm-deployment-ipam-update-dataplane-services spec: nodeSets: - <nodeSet_name> - <nodeSet_name> - - <nodeSet_name> servicesOverride: - nova - update
apiVersion: dataplane.openstack.org/v1beta1 kind: OpenStackDataPlaneDeployment metadata: name: edpm-deployment-ipam-ovn-update spec: nodeSets: - <nodeSet_name> - <nodeSet_name> - - <nodeSet_name> servicesOverride: - ovn
apiVersion: dataplane.openstack.org/v1beta1 kind: OpenStackDataPlaneDeployment metadata: name: edpm-deployment-ipam-update-dataplane-services spec: nodeSets: - <nodeSet_name> - <nodeSet_name> - - <nodeSet_name> servicesOverride: - update