[Openstack] Failing to upload image via glance.
Ken D'Ambrosio
ken at jots.org
Thu Nov 20 04:11:31 UTC 2014
Hi, all. Stepping through the Juno install docs for Ubuntu, trying to
fire up my first-time install. At page 41 in the PDF, where it has me:
* Source my credentials file, then
* lance image-create --name "cirros-0.3.3-x86_64" --file
cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare
--is-public True --progress
I'm getting:
[=============================>] 100%
Request returned failure status 401.
Invalid OpenStack Identity credentials.
My /var/log/glance/api.log file gives me:
2014-11-19 22:46:04.493 9961 INFO urllib3.connectionpool [-] Starting
new HTTP connection (1): openstack-controller
2014-11-19 22:46:04.580 9961 INFO keystonemiddleware.auth_token [-] Auth
Token confirmed use of v2.0 apis
2014-11-19 22:46:04.583 9961 INFO urllib3.connectionpool [-] Starting
new HTTP connection (1): openstack-controller
2014-11-19 22:46:04.784 9961 WARNING keystonemiddleware.auth_token [-]
Unexpected response from keystone service: {u'error': {u'message': u'The
request you have made requires authentication.', u'code': 401, u'title':
u'Unauthorized'}}
2014-11-19 22:46:04.785 9961 WARNING keystonemiddleware.auth_token [-]
Authorization failed for token
2014-11-19 22:46:04.787 9961 INFO keystonemiddleware.auth_token [-]
Invalid user token - deferring reject downstream
2014-11-19 22:46:04.888 9961 INFO glance.wsgi.server [-] 192.168.21.169
- - [19/Nov/2014 22:46:04] "POST /v1/images HTTP/1.1" 401 485 0.427956
keystone-all.log gives me:
2014-11-19 23:05:07.856 6039 WARNING keystone.common.wsgi [-]
Authorization failed. The request you have made requires authentication.
from 192.168.21.169
--------------------
Clearly, something isn't (no duh) authenticating properly. Since there
were roughly 10 zillion steps leading up to this verification step, can
anyone point me in the direction of the file(s) I should be paying
special attention to?
Thanks!
-Ken
More information about the Openstack
mailing list