glanceclient/shell.py:592: raise exc.CommandError("Invalid OpenStack Identity credentials.")

Bug #1387055 reported by Trung Trinh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Won't Fix
Undecided
Unassigned
Glance Client
Won't Fix
Undecided
Unassigned
devstack
Invalid
Undecided
Unassigned

Bug Description

When using DevStack to install OpenStack, I got the following error:

2014-10-29 15:06:45.890 | ++ glance --os-auth-token 12a7b1359dc044ff9e9e1c81a2390152 --os-image-url http://192.168.56.101:9292 image-create --name cirros-0.3.1-x86_64-uec-kernel --is-public True --container-format aki --disk-format aki
2014-10-29 15:06:45.915 | ++ read data
2014-10-29 15:06:50.456 | Invalid OpenStack Identity credentials.
2014-10-29 15:06:50.584 | + KERNEL_ID=
2014-10-29 15:06:50.640 | + '[' -n /home/xtrutri/Work/devstack/files/images/cirros-0.3.1-x86_64-uec/cirros-0.3.1-x86_64-initrd ']'
2014-10-29 15:06:50.657 | ++ glance --os-auth-token 12a7b1359dc044ff9e9e1c81a2390152 --os-image-url http://192.168.56.101:9292 image-create --name cirros-0.3.1-x86_64-uec-ramdisk --is-public True --container-format ari --disk-format ari
2014-10-29 15:06:50.681 | ++ grep ' id '
2014-10-29 15:06:50.690 | ++ get_field 2
2014-10-29 15:06:50.699 | ++ read data
2014-10-29 15:06:55.658 | Invalid OpenStack Identity credentials.
2014-10-29 15:06:55.733 | + RAMDISK_ID=
2014-10-29 15:06:55.783 | + glance --os-auth-token 12a7b1359dc044ff9e9e1c81a2390152 --os-image-url http://192.168.56.101:9292 image-create --name cirros-0.3.1-x86_64-uec --is-public True --container-format ami --disk-format ami
2014-10-29 15:07:00.966 | Invalid OpenStack Identity credentials.
xtrutri@ubuntu:~/Work/devstack$ 2014-10-29 15:07:01.061 | + exit_trap

DevStack version: at commit 8cedabcea8bb446f1c29aab42fbcbf5a87218f7f (Sat May 10 12:24:16 2014 +0000)
KeyStone version: 2014.2.rc1-106-gf45b3e5
GlanceClient version: 0.14.1-11-gcfe0623
Glance version: 2014.2.rc1-91-gded0852

Here is the traceback:

2014-10-29 15:06:57.263 16394 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning process_request /opt/stack_stable_juno/glance/glance/api/middleware/version_negotiation.py:57
2014-10-29 15:06:57.265 16394 DEBUG glance.api.middleware.version_negotiation [-] Matched version: v1 process_request /opt/stack_stable_juno/glance/glance/api/middleware/version_negotiation.py:69
2014-10-29 15:06:57.266 16394 DEBUG glance.api.middleware.version_negotiation [-] new path /v1/images process_request /opt/stack_stable_juno/glance/glance/api/middleware/version_negotiation.py:70
2014-10-29 15:06:57.267 16394 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /opt/stack_stable_juno/python-keystoneclient/keystoneclient/session.py:162
2014-10-29 15:06:57.270 16394 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: Unable to establish connection to http://127.0.0.1:35357/
2014-10-29 15:06:57.772 16394 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /opt/stack_stable_juno/python-keystoneclient/keystoneclient/session.py:162
2014-10-29 15:06:57.775 16394 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: Unable to establish connection to http://127.0.0.1:35357/
2014-10-29 15:06:58.777 16394 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /opt/stack_stable_juno/python-keystoneclient/keystoneclient/session.py:162
2014-10-29 15:06:58.782 16394 WARNING keystonemiddleware.auth_token [-] Retrying on HTTP connection exception: Unable to establish connection to http://127.0.0.1:35357/
2014-10-29 15:07:00.793 16394 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /opt/stack_stable_juno/python-keystoneclient/keystoneclient/session.py:162
2014-10-29 15:07:00.803 16394 ERROR keystonemiddleware.auth_token [-] HTTP connection exception: Unable to establish connection to http://127.0.0.1:35357/
2014-10-29 15:07:00.807 16394 WARNING keystonemiddleware.auth_token [-] Authorization failed for token

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

Closing due to inactivity. Latest devstack has been installed successfully.

Changed in glance:
status: New → Won't Fix
Changed in python-glanceclient:
status: New → Won't Fix
Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.