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

6.6. Validate the Block Storage Service Installation


6.6.1. Validate the Block Storage Service Installation Locally

Create and remove a volume locally to validate that the block storage installation is complete and ready for use. Perform this test on the server hosting the Block Storage API service, while logged in as the root user or a user with access to the keystonerc_admin file. Copy the keystonerc_admin file to the system before proceeding.

Procedure 6.10. Validating the Block Storage Service Installation Locally

  1. Populate the environment variables used for identifying and authenticating the administrative user:
    # source ~/keystonerc_admin
    Copy to Clipboard Toggle word wrap
  2. Verify that no errors are returned in the output of this command:
    # cinder list
    Copy to Clipboard Toggle word wrap
  3. Create a volume:
    # cinder create SIZE
    Copy to Clipboard Toggle word wrap
    Replace SIZE with the size of the volume to create in Gigabytes (GB).
  4. Remove the volume:
    # cinder delete ID
    Copy to Clipboard Toggle word wrap
    Replace ID with the identifier returned when the volume was created.

6.6.2. Validate the Block Storage Service Installation Remotely

Create and remove a volume using a remote machine to validate that the block storage installation is complete and ready for use. Perform this test on a server other than the server hosting the Block Storage API service, while logged in as the root user or a user with access to the keystonerc_admin file. Copy the keystonerc_admin file to the system before proceeding.

Procedure 6.11. Validating the Block Storage Service Installation Remotely

  1. Install the python-cinderclient package:
    # yum install -y python-cinderclient
    Copy to Clipboard Toggle word wrap
  2. Populate the environment variables used for identifying and authenticating the administrative user:
    # source ~/keystonerc_admin
    Copy to Clipboard Toggle word wrap
  3. Verify that no errors are returned in the output of this command:
    # cinder list
    Copy to Clipboard Toggle word wrap
  4. Create a volume:
    # cinder create SIZE
    Copy to Clipboard Toggle word wrap
    Replace SIZE with the size of the volume to create in gigabytes (GB).
  5. Remove the volume:
    # cinder delete ID
    Copy to Clipboard Toggle word wrap
    Replace ID with the identifier returned when the volume was created.
Nach oben
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

© 2025 Red Hat