Comment 16 for bug 1549095

Revision history for this message
Dave Walker (davewalker) wrote :

It should be valid in most circumstances to use OS_TOKEN... I'm not sure if this is the same bug, or a different one.. but OS_AUTH_TYPE=token also fails weirdly..

$ env | grep ^OS
OS_USER_DOMAIN_NAME=TEST
OS_PROJECT_NAME=Test
OS_IDENTITY_API_VERSION=3
OS_AUTH_TYPE=token
OS_AUTH_URL=http://<REDACTED>:35357/v3
OS_TOKEN=eca36e2f30f84a8d82bbbf499d77ccb0
OS_USERNAME=walkerd

$ openstack image list
__init__() got an unexpected keyword argument 'user_domain_name'

$ unset OS_USER_DOMAIN_NAME

$ openstack image list
Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-3d65a287-2b40-47c2-a5c4-7eb4c43d8066)

(Ugh! Can't win.)