2013/3/8 Olivier Archer <olivier.arc...@ifremer.fr>: > Hi, > From the documentation here : > http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ap_installinggrizzlyubuntuprecise.html > > I've got problems with 'glance index' : > # glance index > Authorization Failed: Unable to communicate with identity service: > {"error": {"message": "An unexpected error prevented the server from > fulfilling your request. Command 'openssl' returned non-zero exit > status 3", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) > > /var/log/keystone/keystone.log give: > ERROR [keystone.common.cms] Signing error: Error opening signer > certificate /etc/keystone/ssl/certs/signing_cert.pem > > So I've run > # sudo keystone keystone-manage pki-setup > > to create certs file. > > But now, 'glance index' give me: > > Request returned failure status. > Invalid OpenStack Identity credentials. > > and keystone.log give: > WARNING [keystone.common.wsgi] Authorization failed. The request you > have made requires authentication. > > my configuration is like the one in the doc: > > creds: > export SERVICE_TOKEN=admin > export OS_TENANT_NAME=admin > export OS_USERNAME=admin > export OS_PASSWORD=openstack > export OS_AUTH_URL=http://100.10.10.115:5000/v2.0/ > export SERVICE_ENDPOINT=http://100.10.10.115:35357/v2.0/ > > i've reinstalled everything from the begining from a fresh installed > server, and i'm still stuck in this error... >
The error is different if i provide a non-existent username: root@:~# export OS_USERNAME=foo root@:~# glance index Unable to communicate with identity service: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}. (HTTP 401) with a good username/password: root@:~# export OS_USERNAME=admin root@:~# glance index ID Name Disk Format Container Format Size ------------------------------------ ------------------------------ -------------------- -------------------- -------------- Request returned failure status. Invalid OpenStack Identity credentials. and with a bad password: ~# export OS_PASSWORD=foo :~# glance index Unable to communicate with identity service: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}. (HTTP 401) -- Olivier Archer Océanographie spatiale - Ifremer 02 98 22 44 84 _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp