此内容没有您所选择的语言版本。

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
  2. Verify that no errors are returned in the output of this command:
    # cinder list
    Copy to Clipboard
  3. Create a volume:
    # cinder create SIZE
    Copy to Clipboard
    Replace SIZE with the size of the volume to create in Gigabytes (GB).
  4. Remove the volume:
    # cinder delete ID
    Copy to Clipboard
    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
  2. Populate the environment variables used for identifying and authenticating the administrative user:
    # source ~/keystonerc_admin
    Copy to Clipboard
  3. Verify that no errors are returned in the output of this command:
    # cinder list
    Copy to Clipboard
  4. Create a volume:
    # cinder create SIZE
    Copy to Clipboard
    Replace SIZE with the size of the volume to create in gigabytes (GB).
  5. Remove the volume:
    # cinder delete ID
    Copy to Clipboard
    Replace ID with the identifier returned when the volume was created.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat