5.5. Updating the control plane


After you have deployed the data plane at the central location, you must update the control plane to integrate the newly deployed data plane.

Prerequisites

  • You have deployed a node set at the central location using Red Hat OpenStack services on OpenShift.
  • You have deployed Red Hat Ceph Storage (RHCS).

Procedure

  1. Optional: Configure the Block Storage backup service in your openstack_control_plane.yaml file:

          cinderBackup:
            customServiceConfig: |
              [DEFAULT]
              backup_driver = cinder.backup.drivers.ceph.CephBackupDriver
              backup_ceph_pool = backups
              backup_ceph_user = openstack

    For more information about configuring the Block Storage backup service, see Configuring the Block Storage backup service.

  2. Update the Block Storage cinder volume service in your openstack_control_plane.yaml file:

          cinderVolumes:
            az0:
              customServiceConfig: |
                [DEFAULT]
                enabled_backends = ceph
                glance_api_servers = https://glance-az0-internal.openstack.svc:9292
                [ceph]
                volume_backend_name = ceph
                volume_driver = cinder.volume.drivers.rbd.RBDDriver
                rbd_ceph_conf = /etc/ceph/az0.conf
                rbd_user = openstack
                rbd_pool = volumes
                rbd_flatten_volume_from_snapshot = False
                rbd_secret_uuid = 795dcbca-e715-5ac3-9b7e-a3f5c64eb89f
                rbd_cluster_name = az0
                backend_availability_zone = az0

    For more information about configuring the Block Storage volume service, see Configuring the Block Storage volume service component.

  3. Add the extraMounts field to your openstack_control_plane.yaml file to define the services that require access to the Red Hat Ceph Storage secret:

      extraMounts:
      - extraVol:
        - extraVolType: Ceph
          mounts:
          - mountPath: /etc/ceph
            name: ceph
            readOnly: true
          propagation:
          - az0
          - CinderBackup
          volumes:
          - name: ceph
            projected:
              sources:
              - secret:
                  name: ceph-conf-az-0
  4. Update the Image service (glance) in your openstack_control_plane.yaml file to configure the Block Storage service as the backend:

          glanceAPIs:
            az0:
              customServiceConfig: |
                [DEFAULT]
                enabled_import_methods = [web-download,copy-image,glance-direct]
                enabled_backends = az0:rbd
                [glance_store]
                default_backend = az0
                [az0]
                rbd_store_ceph_conf = /etc/ceph/az0.conf
                store_description = "az0 RBD backend"
                rbd_store_pool = images
                rbd_store_user = openstack
                rbd_thin_provisioning = True
  5. Apply the changes made to the OpenStackControlPlane CR:

    oc apply -f openstack_control_plane.yaml
  6. Add the AZ to a host aggregate. This allows OpenStack administrators to schedule workloads to a geographical location based on image metadata.

    1. Open a terminal to the openstackclient pod:

      # oc rsh openstackclient
    2. Create a new OpenStack aggregate:

      $ openstack aggregate create <aggregate_name>
    3. Label the OpenStack aggregate with the name of the AZ:

      $ openstack aggregate set --zone <availability_zone> <aggregate_name>
    4. Add each host in the AZ to the aggregate:

      $ openstack aggregate add host <aggregate_name> <compute_node_1>
      $ openstack aggregate add host <aggregate_name> <compute_node_2>
      ...
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部