Questo contenuto non è disponibile nella lingua selezionata.
14.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”.
Procedure 14.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_adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manilaservice user:[(keystone_admin)]# keystone user-create --name manila --pass MANILAPASS --enabled true --email manila@localhost
[(keystone_admin)]# keystone user-create --name manila --pass MANILAPASS --enabled true --email manila@localhostCopy 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
adminrole to themanilauser.[(keystone_admin)]# keystone user-role-add --user manila --tenant services --role admin
[(keystone_admin)]# keystone user-role-add --user manila --tenant services --role adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manilaservice entities:[(keystone_admin)]# keystone service-create --name manila --type share --description "OpenStack Shared Filesystems"
[(keystone_admin)]# keystone service-create --name manila --type share --description "OpenStack Shared Filesystems"Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
manilaendpoint entry:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace MANILAIP with the IP of the Controller node.