Why do I Receive Errors "Could not find a suitable endpoint for client version: 3" When Using Keystone v3 and Ansible Openstack Modules?

Solution In Progress - Updated -

Environment

  • Ansible Engine >=2.4

Issue

Receiving the following error when using keystone's v3 API endpoint with Ansible Engine:

Could not find a suitable endpoint for client version: 3

Resolution

Modify the clouds.yaml configuration as follows:

FROM

clouds:
  devstack:
    auth:
      auth_url: https://openstack.example.com:5000/v3
      domain_name: Default
      project_name: some_tenant
      username: some_user
      password: some_password

TO

clouds:
  devstack:
    auth:
      auth_url: https://openstack.example.com:5000
      domain_name: Default
      project_name: some_tenant
      username: some_user
      password: some_password
    identity_api_version: '3'
    identity_endpoint_override: 'https://openstack.example.com:5000/v3'

Root Cause

Suggested in this openstack commit.

Diagnostic Steps

"msg": "Could not find a suitable endpoint for client version: 3"

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments