IBM Cloud Orchestrator, Version 2.5

Configuring V3 API endpoints for Keystone

You must create Keystone V3 endpoints and delete V2 endpoints for IBM® Cloud Orchestrator.

Before you begin

Ensure that the IBM Cloud Orchestrator extensions for Horizon are installed on each OpenStack Controller, as described in Installing the IBM Cloud Orchestrator extensions for Horizon.

Ensure that you copied the configure_endpoints.sh script from the IBM Cloud Orchestrator server, as described in Copying the IBM Cloud Orchestrator scripts to the OpenStack servers.

About this task

You must run the configure_endpoints.sh on the OpenStack server where the Keystone service is running. You must run the script only once.

The script creates endpoints for the Keystone V3 API and deletes the endpoints for Keystone V2 API. It does this operations for all the regions.

In this procedure, the example scripts directory on the OpenStack server is /opt/ico_scripts. Replace this value with the appropriate value for your installation.

Procedure

  1. Log on to the OpenStack server as a root user.
  2. Change directory to the directory where you store the IBM Cloud Orchestrator scripts:
    cd /opt/ico_scripts
  3. Set the environment to the correct OpenStack values and run the following command:
    source /root/openrc
    If the /root/openrc file is not provided by your OpenStack distribution, set the values manually, 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/v2.0
    export OS_REGION_NAME=kvm-allinone2
    export OS_VOLUME_API_VERSION=2
  4. Run the script:
    ./configure_endpoints.sh

Results

Keystone V3 endpoints are created and V2 endpoints are deleted.