Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 4. Updating Image Mode (bootc) data plane nodes


Important

This feature is available in this release as a Technology Preview, and therefore is not fully supported by Red Hat. It should only be used for testing, and should not be deployed in a production environment. For more information about Technology Preview features, see Scope of Coverage Details.

The update process for data plane nodes deployed with Image Mode (bootc) images differs from nodes using RPM-based images. Data plane nodes deployed with Image Mode images use a container-based operating system that is updated by switching to a new container image and rebooting the node.

Data plane nodes deployed with Image Mode images are updated using either a single or dual phase process:

  • The single phase process updates the system and services simultaneously.
  • The dual phase process updates the systems and services separately.

Both update processes require the use of the edpm_update_system_bootc_os_container_image Ansible variable. This variable contains the full URL to the container image to be used to update the node.

For information on configuring your environment to use Image Mode images, see Deploying data plane nodes using Image Mode (bootc) images in Customizing the Red Hat OpenStack Services on OpenShift deployment.

4.1. Updating Image Mode nodes in a single phase

Important

This feature is available in this release as a Technology Preview, and therefore is not fully supported by Red Hat. It should only be used for testing, and should not be deployed in a production environment. For more information about Technology Preview features, see Scope of Coverage Details.

You can update nodes provisioned with Image Mode (bootc) images in a single phase that includes updating the OVN services, data plane services, and the Image Mode image.

Procedure

  1. Update OVN services as described in Updating OVN services on the data plane.
  2. Update the remaining data plane services as described in Updating the remaining services on the data plane.
  3. Build and deploy the updated Image Mode container image as described in Building the Image Mode (bootc) container image in Customizing the Red Hat OpenStack Services on OpenShift deployment.
  4. Create an OpenStackDataPlaneDeployment CR to deploy the updated container image. The following is an example configuration:

    apiVersion: dataplane.openstack.org/v1beta1
    kind: OpenStackDataPlaneDeployment
    metadata:
      name: edpm-compute-bootc-update
    spec:
      nodeSets:
        - edpm-compute-bootc
      servicesOverride:
        - update
        - reboot
      ansibleVars:
        edpm_update_system_bootc_os_container_image: "<container_image_url>"
    • Replace <container_image_url> with the full URL to the updated container image.
  5. Save the OpenStackDataPlaneDeployment CR file.
  6. Apply the OpenStackDataPlaneDeployment CR to your environment.

    $ oc apply -f <deployment_cr_file>
    • Replace <deployment_cr_file> with the name of the OpenStackDataPlaneDeployment CR file.
  7. Verify the update completes successfully.

4.2. Updating Image Mode nodes in two phases

Important

This feature is available in this release as a Technology Preview, and therefore is not fully supported by Red Hat. It should only be used for testing, and should not be deployed in a production environment. For more information about Technology Preview features, see Scope of Coverage Details.

You can update nodes provisioned with Image Mode (bootc) images in two phases. The first phase updates service containers and essential packages. The second phase updates the Image Mode image used by the node.

Procedure

  1. Verify if a new version of openstack-selinux is available in your repositories.
  2. If a new version of openstack-selinux is available, perform the following tasks:

    1. Build and deploy the updated container image as described in Building the Image Mode (bootc) container image in Customizing the Red Hat OpenStack Services on OpenShift deployment.
    2. Create an OpenStackDataPlaneDeployment CR to deploy the updated container image. The following is an example configuration:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-update-system-selinux
      spec:
        nodeSets:
          - edpm-compute-bootc
        servicesOverride:
          - update-system
          - reboot
        ansibleVars:
          edpm_update_system_bootc_os_container_image: "<container_image_url>"
      • Replace <container_image_url> with the full URL to the updated container image.
    3. Save the OpenStackDataPlaneDeployment CR file.
    4. Apply the OpenStackDataPlaneDeployment CR to your environment.

      $ oc apply -f <deployment_cr_file>
      • Replace <deployment_cr_file> with the name of the OpenStackDataPlaneDeployment CR file.
    5. Create an OpenStackDataPlaneDeployment CR to update the data plane services. The following is an example configuration:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneDeployment
      metadata:
        name: edpm-update-services-bootc
      spec:
        nodeSets:
          - edpm-compute-bootc
        servicesOverride:
          - update-services
    6. Save the OpenStackDataPlaneDeployment CR file.
    7. Apply the OpenStackDataPlaneDeployment CR to your environment.

      $ oc apply -f <deployment_cr_file>
      • Replace <deployment_cr_file> with the name of the OpenStackDataPlaneDeployment CR file.
  3. Build and deploy the updated Image Mode container image as described in Building the Image Mode (bootc) container image in Customizing the Red Hat OpenStack Services on OpenShift deployment.
  4. Create an OpenStackDataPlaneDeployment CR to deploy the updated Image Mode container image. The following is an example configuration:

    apiVersion: dataplane.openstack.org/v1beta1
    kind: OpenStackDataPlaneDeployment
    metadata:
      name: edpm-update-bootc
    spec:
      nodeSets:
        - edpm-compute-bootc
      servicesOverride:
        - update-system
        - reboot
      ansibleVars:
        # Specify the new bootc image to switch to
        edpm_update_system_bootc_os_container_image: "<container_image_url>"
    • Replace <container_image_url> with the full URL to the updated container image.
  5. Save the OpenStackDataPlaneDeployment CR file.
  6. Apply the OpenStackDataPlaneDeployment CR to your environment.

    $ oc apply -f <deployment_cr_file>
    • Replace <deployment_cr_file> with the name of the OpenStackDataPlaneDeployment CR file.
  7. Verify the update completes successfully.
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat
Nach oben