Creating a Keystone HCP tenant and user

Once you have an HCP tenant, a Keystone HCP tenant with a name identical to the HCP tenant needs to be created. In order to create a Keystone HCP tenant:

1.In the Keystone client, enter keystone tenant-create --name hcp-tenant-name

Note: The tenant you create on Keystone needs to have a name that is identical to its HCP counterpart.

2.Add a user to the tenant by entering keystone user-create --name tenant_username --pass tenant-password

3.Once the user is created, grant the user the admin role by entering keystone user-role-add --user tenant_user --tenant hcp-tenant-name --role admin

Admin is the only Keystone role that HCP recognizes. If Keystone does not have the admin role then it needs to be defined.

Trademark and LegalDisclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.