Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
15.3. Create the Shared File System Service Identity Records
After installing the necessary packages, create the Identity records required for the Shared File System service. Perform the following procedure on the Identity service host, or on any machine onto which you have copied the
keystonerc_admin
file.
Note
For more details about the
keystonerc_admin
file, see Section 3.5, “Create an Administrator Account and the Identity Service Endpoint”.
Procedure 15.1. Creating Identity Records for the Shared File System Service
- Set up the shell to access the Identity service as an administrative user.
source ~/keystonerc_admin
# source ~/keystonerc_admin
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manila
service user:[(keystone_admin)]# openstack user create --password MANILAPASS --email manila@localhost manila
[(keystone_admin)]# openstack user create --password MANILAPASS --email manila@localhost manila
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace MANILAPASS with a password that will be used by the Shared File System service when authenticating with the Identity service. - Add the
admin
role to themanila
user.[(keystone_admin)]# openstack role add --project services --user manila admin
[(keystone_admin)]# openstack role add --project services --user manila admin
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manila
service entities:[(keystone_admin)]# openstack service create --name manila --description "OpenStack Shared Filesystems" share
[(keystone_admin)]# openstack service create --name manila --description "OpenStack Shared Filesystems" share
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manila
endpoint entry:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace MANILAIP with the IP of the Controller node.