Questo contenuto non è disponibile nella lingua selezionata.
Chapter 5. Test the Configured Back End
After you deploy the back end, test that you can successfully create volumes on it.
Procedure
-
Log in to the undercloud node as the
stackuser. Source the
overcloudrccredentials file:source /home/stack/overcloudrc
$ source /home/stack/overcloudrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new volume type that you can use to specify the new back end. Run the following command to create a volume type called netapp:
cinder type-create netapp
$ cinder type-create netappCopy to Clipboard Copied! Toggle word wrap Toggle overflow Map the new volume type to the new back end,
tripleo_netapp, as defined through theCinderNetappBackendNameparameter in Chapter 3, Define the Back End:cinder type-key netapp set volume_backend_name=tripleo_netapp
$ cinder type-key netapp set volume_backend_name=tripleo_netappCopy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new 2GB volume on the new back end:
cinder create --volume-type netapp 2
$ cinder create --volume-type netapp 2Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information, see Accessing the Overcloud in the Director Installation and Usage guide.