← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1486436] [NEW] Keystone failes with default V3 API calls

 

Public bug reported:

hi,


Keystone doesn't work well with default setup  in KILO release. 

The OpenStack documentation says to use the V3 API in rc files which
makes the keystone to fail. here is an extraction..


root@controller:~# keystone tenant-list
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-80047d40-28f4-494e-8c41-3a1b6482fa0d)
root@controller:~#


this is failing as my demo-openrc.sh contains default values like...

root@controller:~#  more demo-openrc.sh
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=proj
export OS_TENANT_NAME=proj
export OS_USERNAME=proj
export OS_PASSWORD=proj
export OS_AUTH_URL=http://controller:5000/v3
export OS_IMAGE_API_VERSION=2
root@controller:~# 

However, after setting the OS_AUTH_URL to v2.0, I get proper response.

root@controller:~# export OS_AUTH_URL=http://controller:5000/v2.0
root@controller:~# keystone tenant-list
+----------------------------------+---------+---------+
|                id                |   name  | enabled |
+----------------------------------+---------+---------+
| 75ea11d3d66644daa2554d14d033a764 |  admin  |   True  |
| 126090d43b9148f483252763bde2d7c4 |   demo  |   True  |
| 5a912e8a43a942069fae6eda1efcdfa1 | proj  |   True  |
| db057324ad1d44fda2fc2d5d0241b1ed |    ha   |   True  |
| b865a31f6098436199bccde120e45ac3 | service |   True  |
+----------------------------------+---------+---------+
root@controller:~#


please take look at this. Thanks

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: api keystone v2 v3

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

Title:
  Keystone failes with default V3 API calls

Status in Keystone:
  New

Bug description:
  hi,

  
  Keystone doesn't work well with default setup  in KILO release. 

  The OpenStack documentation says to use the V3 API in rc files which
  makes the keystone to fail. here is an extraction..

  
  root@controller:~# keystone tenant-list
  Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-80047d40-28f4-494e-8c41-3a1b6482fa0d)
  root@controller:~#

  
  this is failing as my demo-openrc.sh contains default values like...

  root@controller:~#  more demo-openrc.sh
  export OS_PROJECT_DOMAIN_ID=default
  export OS_USER_DOMAIN_ID=default
  export OS_PROJECT_NAME=proj
  export OS_TENANT_NAME=proj
  export OS_USERNAME=proj
  export OS_PASSWORD=proj
  export OS_AUTH_URL=http://controller:5000/v3
  export OS_IMAGE_API_VERSION=2
  root@controller:~# 

  However, after setting the OS_AUTH_URL to v2.0, I get proper response.

  root@controller:~# export OS_AUTH_URL=http://controller:5000/v2.0
  root@controller:~# keystone tenant-list
  +----------------------------------+---------+---------+
  |                id                |   name  | enabled |
  +----------------------------------+---------+---------+
  | 75ea11d3d66644daa2554d14d033a764 |  admin  |   True  |
  | 126090d43b9148f483252763bde2d7c4 |   demo  |   True  |
  | 5a912e8a43a942069fae6eda1efcdfa1 | proj  |   True  |
  | db057324ad1d44fda2fc2d5d0241b1ed |    ha   |   True  |
  | b865a31f6098436199bccde120e45ac3 | service |   True  |
  +----------------------------------+---------+---------+
  root@controller:~#


  please take look at this. Thanks

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


Follow ups