"identityv3" is not a recognized or supported service type. The correct
approach to this is to use unversioned endpoints in the catalog, which
python-keystoneclient doesn't fully support yet.

** Changed in: keystone
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1273713

Title:
  keystoneclient is using wrong management url if identity v2 and v3
  endpoint co-exists

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Steps to produce
  --
  1. configure service/endpoint for both identity v2 and v3

  $ keystone service-list | grep identity
  | 7fe9f96d595b420684fb53b3b17b281e |  keystone  |   identityv3   | Keystone 
Identity Service V3 |
  | b00c390065724cdfb66b4e954d295489 |  keystone  |    identity    |  Keystone 
Identity Service   |

  $ keystone endpoint-list | grep 35357
  | 5c1a0fdcfb5e435fafa73954c5b43dd0 | RegionOne |         
http://192.168.56.102:5000/v3         |         http://192.168.56.102:5000/v3   
      |         http://192.168.56.102:35357/v3        | 
7fe9f96d595b420684fb53b3b17b281e |
  | c985f1b3ee1440778194f036f00f575c | RegionOne |        
http://192.168.56.102:5000/v2.0        |        http://192.168.56.102:5000/v2.0 
       |        http://192.168.56.102:35357/v2.0       | 
b00c390065724cdfb66b4e954d295489 |

  2. issue an v3 api call, such as domain list, using python-
  openstackclient

  export OS_AUTH_URL="http://192.168.56.102:5000/v3";
  openstack -v --os-identity-api-version 3 domain list

  3. it returns "The resource could not be found. (HTTP 404)" as
  keystoneclient is still using v2.0 admin url, as indicated from
  following debug message.

  DEBUG: keystoneclient.session REQ: curl -i -X GET
  http://192.168.56.102:35357/v2.0/domains -H "User-Agent: python-
  keystoneclient" -H "X-Auth-Token: a171809d51974693bba8c880280cc7da"

  Expected result
  --
  Correct domain list result returned from "openstack -v 
--os-identity-api-version 3 domain list" command line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1273713/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to