6.7. Validate the Block Storage Service Installation
This procedure lists steps for validating that the block storage installation is complete and ready for use.
Procedure 6.12. Validating the Block Storage Service installation
Testing Locally
The steps outlined in this section of the procedure must be performed while logged in to the server hosting the block storage API service as therootuser or a user with access to akeystonerc_adminfile containing the credentials of the OpenStack administrator. Transfer thekeystonerc_adminfile to the system before proceeding.- Run the
sourcecommand on thekeystonerc_adminfile to populate the environment variables used for identifying and authenticating the user.#source ~/keystonerc_admin - Run the
cinder listcommand and verify that no errors are returned.#cinder list - Run the
cinder createcommand to create a volume.#cinder create SIZEReplace SIZE with the size of the volume to create in Gigabytes (GB). - Run the
cinder deletecommand to remove the volume.#cinder delete IDReplace ID with the identifier returned when the volume was created.
Testing Remotely
The steps outlined in this section of the procedure must be performed while logged in to a system other than the server hosting the block storage API service. Transfer thekeystonerc_adminfile to the system before proceeding.- Install the python-cinderclient package using the
yumcommand. You will need to authenticate as therootuser for this step.#yum install -y python-cinderclient - Run the
sourcecommand on thekeystonerc_adminfile to populate the environment variables used for identifying and authenticating the user.$source ~/keystonerc_admin - Run the
cinder listcommand and verify that no errors are returned.$cinder list - Run the
cinder createcommand to create a volume.$cinder create SIZEReplace SIZE with the size of the volume to create in Gigabytes (GB). - Run the
cinder deletecommand to remove the volume.$cinder delete IDReplace ID with the identifier returned when the volume was created.