Chapter 5. Creating a basic share type
Whenever you create a new share, you must specify a share type. If you do not specify a share type, the share creation process fails.
Director does not support automatic configuration or creation of the default
share type during installation. However, director does set the manila.conf
configuration option default_share_type
to default
. You must create the default
share type after the overcloud has been deployed.
To create a basic share type named default
, run the following commands as the stack
user on the undercloud:
$ source ~/overcloudrc
$ manila type-create default false
In Chapter 3, Creating the NetApp back end environment file, you set ManilaNetappDriverHandlesShareServers to false. In this example, manila type-create default is therefore also false, because the NetApp driver is not required to handle the life cycle of the share servers. If you set the ManilaNetappDriverHandlesShareServers parameter to true
, you must also set the default share type to true
. For more information about share types, see Creating and Managing Share Types in the Red Hat OpenStack Platform Storage Guide.