Glance fails to authenticate unless directly passed an os_auth_token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
James Kyle |
Bug Description
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
ii glance 2012.1-0ubuntu2
ii glance-api 2012.1-0ubuntu2
ii glance-client 2012.1-0ubuntu2
ii glance-common 2012.1-0ubuntu2
ii glance-registry 2012.1-0ubuntu2
ii keystone 2012.1-0ubuntu1
ii python-glance 2012.1-0ubuntu2
ii python-keystone 2012.1-0ubuntu1
ii python-
Behavior: Glance throws a 404 object not found error unless os_auth_token is retrieved manually and explicitly passed.
Environment:
% env | grep "OS\_"
OS_REGION_
OS_PASSWORD=ospass
OS_AUTH_
OS_AUTH_URL=http://
OS_USERNAME=myadmin
OS_TENANT_
Example:
% glance index
Failed to show index. Got error:
An object with the specified identifier was not found.
Details: 404 Not Found
The resource could not be found.
Retrieve auth token using same username and pass:
curl -d '{"auth": {"tenantName": "openstackDemo", "passwordCreden
"token": {
"id": "25768987345c43
}
Now, use the token:
% glance --os_auth_
ID Name Disk Format Container Format Size
-------
92bb79d1-
ecd759d8-
====EDIT======
I inserted a print(self.
description: | updated |
Changed in glance: | |
assignee: | nobody → james@jameskyle.org (jkyle) |
Changed in glance: | |
status: | Incomplete → Invalid |
Patch incoming.