[Openstack] [keystone] Keystone service creation (HTTP 500)

Boris Bobrov bbobrov at mirantis.com
Wed Feb 24 21:56:46 UTC 2016


Alexandr,

The problem is that the username and password in keystone.conf are wrong. 
Something is wrong with section [database] parameter "connection".

On Wednesday 24 February 2016 23:27:59 Alexandr Porunov wrote:
> Mohammed,
> 
> Do you know what values I have to assign to these variables?:
> export OS_USERNAME=???
> export OS_PASSWORD=???
> export OS_TENANT_NAME=???
> 
> I have assigned my username and password of controller node. This is my
> full list of variables:
> export OS_TOKEN=4b8548f5298c0d4c9049
> export OS_URL=http://controller:35357/v3
> export OS_IDENTITY_API_VERSION=3
> export OS_SERVICE_TOKEN=$OS_TOKEN
> export OS_SERVICE_ENDPOINT=$OS_URL
> export OS_USERNAME=root
> export OS_PASSWORD=root
> export OS_TENANT_NAME=root
> export OS_AUTH_URL=$OS_URL
> 
> But I can't run this command:
> openstack service create --name keystone --description "OpenStack Identity"
> identity
> 
> It always shows:
> An unexpected error prevented the server from fulfilling your request.
> (HTTP 500) (Request-ID: req-ec9569be-6698-47f9-b338-309c58eb1820)
> 
> /var/log/keystone/keystone.log as always shows:
> ...
> 016-02-24 23:14:29.889 1053 ERROR keystone.common.wsgi OperationalError:
> (_mysql_exceptions.OperationalError) (1045, "Access denied for user
> 'keystone'@'controller' (using password: YES)")
> ...
> 
> It is the full log file:
> http://paste.openstack.org/show/488107/
> 
> Best Regards, Alexandr

-- 
Regards,
Boris




More information about the Openstack mailing list