IBM Cloud Orchestrator, Version 2.5.0.8

Creating a new RC file for Keystone V3

This topic describes how to create a new RC file for Keystone V3.

Most OpenStack distributions provide an RC file containing OpenStack values, for example /root/openrc or /root/keystonerc. You can use this file to load the correct OpenStack values for the command line clients to interact with the services. After the change to Keystone V3, the existing file does not work any more. Add and change the values in the existing RC file, for example:
export OS_USERNAME=admin
export OS_PASSWORD=openstack1
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://192.0.2.68:5000/v3
export OS_REGION_NAME=kvm-allinone2
export OS_VOLUME_API_VERSION=2
export OS_IDENTITY_API_VERSION=3
export OS_USER_DOMAIN_NAME=${OS_USER_DOMAIN_NAME:-"Default"}
export OS_PROJECT_DOMAIN_NAME=${OS_PROJECT_DOMAIN_NAME:-"Default"}
Change the OS_AUTH_URL value and add the last 3 lines.

Also, the Keystone command line client only supports keystone V2 API. After the change, use the openstack client.

After you edited your RC file, run the following command:
source <name_of_your_RC_file>