此内容没有您所选择的语言版本。
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
dellsc, run:cinder type-create dellsc
$ cinder type-create dellscCopy to Clipboard Copied! Toggle word wrap Toggle overflow Map the new volume type to the new back end,
tripleo_dellsc, as defined through theCinderDellScBackendNameparameter in Chapter 3, Define a Single Back End:cinder type-key dellsc set volume_backend_name=tripleo_dellsc
$ cinder type-key dellsc set volume_backend_name=tripleo_dellscCopy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new 2GB volume on the new back end:
cinder create --volume-type dellsc 2
$ cinder create --volume-type dellsc 2Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information, see Accessing the Overcloud in the Director Installation and Usage guide.