Este contenido no está disponible en el idioma seleccionado.

Chapter 7. cinder test


The cinder test applies to OpenStack products or components that implement features for the OpenStack Block Storage service only. The test uses Tempest Framework integrated with the Red Hat OpenStack Services on OpenShift (RHOSO) to test both operational and functional features.

The cinder test verifies the functionality of the cinder driver that you are certifying by running selected feature tests. The following feature groups are currently tested:

Note
  • The certification software automatically generates some configuration settings. Overrides can be applied using tempest-conf-overrides.
  • In the current RHOSO version, all the tests are executed, including both mandatory and optional tests, such as consistency groups and multi-attach volumes. The optional tests may fail if your driver does not support those features. This is acceptable and does not impact the overall certification process.

Prerequisites

  1. When deploying the Control plane, ensure that:

    1. You provide two instances of the backend you intend to certify.

      Note

      Having more than one hardware storage is not required; configuring both cinder backends to use the same hardware array is supported.

    2. Enabled the cinder-backup service during the RHOSO deployment.
    3. Configure Glance to use Cinder as its backend.

  2. Configure a public subnet before running the tempest tests.
  3. If your driver supports the multi-attach volume feature, perform the following steps before executing the cinder tests:

    1. Create a volume type named "multiattach" by following the procedure explained in Creating a multi-attach volume type.
    2. Ensure that Cinder’s default volume type is not configured to be the multi-attach volume type.

      Note

      You must use the name "multiattach" for the volume type.

7.1. cinder-volumes

The cinder-volumes test checks if the driver functionalities and base functionalities of cinder, such as volume actions, snapshots, boot, volume migrate, encryption, and clone are working. This test is mandatory.

7.2. cinder-backups

The cinder-backups test verifies the driver’s backup and restore functionality by testing the following:

  • Creating and restoring a backup from existing volume
  • Testing an incremental backup
  • Taking a backup of a volume snapshot

7.3. cinder-multi-attach-volume

The cinder-multi-attach-volume test checks if a single block storage volume can be attached to and accessed from multiple hosts or servers by running the following tests:

  • Booting a VM from a multi-attach volume
  • Resizing a server with a multi-attach volume
  • Listing volume attachments for a multi-attach volume
  • Creating a snapshot from a multi-attach volume
  • Attaching and detaching a multi-attach volume from a shelved or offloaded server
  • Deleting an attached multi-attach volume
  • Attaching a multi-attach volume to the same or a different server

7.4. cinder-consistency-groups

The cinder-consistency-groups test checks for disaster recovery by performing the following actions simultaneously:

  • Creating and deleting consistency groups
  • Creating and deleting consistency group snapshots
  • Creating a new consistency group from an existing consistency group snapshot
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat