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

Alexandr Porunov alexandr.porunov at gmail.com
Thu Feb 25 08:22:27 UTC 2016


Nasir,

Thank you a lot!
I couldn't access with this command:
mysql -u keystone -h controller -p

I don't know why this command hasn't given me access:
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY
'KEYSTONE_DBPASS';

but this command has given me access:
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'192.168.56.111'
IDENTIFIED BY 'KEYSTONE_DBPASS';

Now I can create create the service entity for the Identity service.

Thanks for helping.

Sincerely, Alexandr

On Thu, Feb 25, 2016 at 10:20 AM, Alexandr Porunov <
alexandr.porunov at gmail.com> wrote:

> Nasir,
>
> Thank you a lot!
> I couldn't access with this command:
> mysql -u keystone -h controller -p
>
> I don't know why this command hasn't given me access:
> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY
> 'KEYSTONE_DBPASS';
>
> but this command has given me access:
> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'192.168.56.111'
> IDENTIFIED BY 'KEYSTONE_DBPASS';
>
> Now I can create create the service entity for the Identity service.
>
> Thanks for helping.
>
> Sincerely, Alexandr
>
> On Thu, Feb 25, 2016 at 9:19 AM, Nasir Mahmood <nasir.mahmood at gmail.com>
> wrote:
>
>> Last line of your logs says that keystone cant login to mysql server at
>> controller node which looks to me like a node recognition issue, is
>> controller node defined appropriately  and resolves back to a good ip
>> address?
>> Try loging into mysql uusing
>>
>> mysql -u keystone -h controller -p
>> On Feb 25, 2016 12:07 PM, "Alexandr Porunov" <alexandr.porunov at gmail.com>
>> wrote:
>>
>>> Hello everyone,
>>> Thanks for helping.
>>>
>>> mysql -u keystone -p KEYSTONE_DBPASS
>>>
>>> //loging successfully
>>>
>>> "keystone" database is created but there no exists any tables.
>>>
>>> "su -s /bin/sh -c "keystone-manage db_sync" keystone" or "/bin/sh -c
>>> "keystone-manage db_sync" keystone" commands do nothing.
>>>
>>> I have tried reexecute this commands:
>>> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \
>>>   IDENTIFIED BY 'KEYSTONE_DBPASS';
>>> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \
>>>   IDENTIFIED BY 'KEYSTONE_DBPASS';
>>>
>>> My exported 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=keystone
>>> export OS_PASSWORD=KEYSTONE_DBPASS
>>> export OS_TENANT_NAME=keystone
>>> export OS_AUTH_URL=$OS_URL
>>>
>>> /etc/keystone/keystone.conf:
>>> [DEFAULT]
>>> admin_token = 4b8548f5298c0d4c9049
>>> ...
>>> [database]
>>> ...
>>> connection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone
>>> ...
>>> [memcache]
>>> servers = localhost:11211
>>> ...
>>> [token]
>>> provider = uuid
>>> driver = memcache
>>> ...
>>> [revoke]
>>> driver = sql
>>> ...
>>>
>>> command still do not work..
>>> Log file as always:
>>> http://paste.openstack.org/show/488107/
>>>
>>> Best Regards, Alexandr
>>>
>>> On Thu, Feb 25, 2016 at 6:13 AM, Adam Young <ayoung at redhat.com> wrote:
>>>
>>>> On 02/24/2016 04:29 PM, Alexandr Porunov wrote:
>>>>
>>>> Also there is a strange thing. This command:
>>>> su -s /bin/sh -c "keystone-manage db_sync" keystone
>>>>
>>>> shows:
>>>> No handlers could be found for logger "oslo_config.cfg"
>>>>
>>>>
>>>> That is just a warning, and can be silenced by setting verboes = false
>>>> in the keystone conf file.
>>>>
>>>>
>>>> On Wed, Feb 24, 2016 at 11:27 PM, Alexandr Porunov <
>>>> <alexandr.porunov at gmail.com>alexandr.porunov at gmail.com> 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/>
>>>>> http://paste.openstack.org/show/488107/
>>>>>
>>>>> Best Regards, Alexandr
>>>>>
>>>>> On Wed, Feb 24, 2016 at 11:25 PM, Alexandr Porunov <
>>>>> <alexandr.porunov at gmail.com>alexandr.porunov at gmail.com> 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/>
>>>>>> http://paste.openstack.org/show/488107/
>>>>>>
>>>>>> Best Regards, Alexandr
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 24, 2016 at 5:17 PM, Mohammed Naser <mnaser at vexxhost.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Alexandr,
>>>>>>>
>>>>>>> That’s fine.  The suggested way of deploying Keystone is via Apache
>>>>>>> now, so you should just let it live in a WSGI application as it
>>>>>>> should
>>>>>>>
>>>>>>> M
>>>>>>>
>>>>>>> On Wed, Feb 24, 2016 at 10:17 AM, Alexandr Porunov
>>>>>>> <alexandr.porunov at gmail.com> wrote:
>>>>>>> > Mohammed,
>>>>>>> >
>>>>>>> > Also I haven't mentioned that "systemctl start openstack-keystone"
>>>>>>> doesn't
>>>>>>> > want to start just because httpd already running and if I
>>>>>>> understand they
>>>>>>> > share the same port
>>>>>>> >
>>>>>>> > On Wed, Feb 24, 2016 at 5:07 PM, Mohammed Naser <
>>>>>>> <mnaser at vexxhost.com>mnaser at vexxhost.com> wrote:
>>>>>>> >>
>>>>>>> >> Alexandr,
>>>>>>> >>
>>>>>>> >> You should make sure to hit “Reply all” so that it goes back to
>>>>>>> the
>>>>>>> >> mailing list, but I’m not sure why it’s not connected.  I’d try
>>>>>>> >> connecting from the mysql CLI client and see what happens
>>>>>>> >>
>>>>>>> >> Mohammed
>>>>>>> >>
>>>>>>> >> On Wed, Feb 24, 2016 at 10:04 AM, Alexandr Porunov
>>>>>>> >> < <alexandr.porunov at gmail.com>alexandr.porunov at gmail.com> wrote:
>>>>>>> >> > Hello Mohammed,
>>>>>>> >> >
>>>>>>> >> > I don't know why my keystone is not able to authenticate with
>>>>>>> the MySQL
>>>>>>> >> > server. I have created a user like in the tutorial:
>>>>>>> >> >
>>>>>>> >> > GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost'
>>>>>>> IDENTIFIED
>>>>>>> >> > BY
>>>>>>> >> > 'KEYSTONE_DBPASS';
>>>>>>> >> > GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%'
>>>>>>> IDENTIFIED BY
>>>>>>> >> > 'KEYSTONE_DBPASS'
>>>>>>> >> >
>>>>>>> >> > But it doesn't work
>>>>>>> >> >
>>>>>>> >> > On Wed, Feb 24, 2016 at 4:26 PM, Mohammed Naser <
>>>>>>> <mnaser at vexxhost.com>mnaser at vexxhost.com>
>>>>>>> >> > wrote:
>>>>>>> >> >>
>>>>>>> >> >> Hi Alexandr,
>>>>>>> >> >>
>>>>>>> >> >> The key error to check:
>>>>>>> >> >>
>>>>>>> >> >> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >> OperationalError:
>>>>>>> >> >> (_mysql_exceptions.OperationalError) (1045, "Access denied for
>>>>>>> user
>>>>>>> >> >> 'keystone'@'controller' (using password: YES)")
>>>>>>> >> >>
>>>>>>> >> >> You'll need to make sure you address and resolve this, your
>>>>>>> keystone is
>>>>>>> >> >> not able to authenticate with your MySQL server.
>>>>>>> >> >>
>>>>>>> >> >> Mohammed
>>>>>>> >> >>
>>>>>>> >> >> On Wednesday, 24 February 2016, Alexandr Porunov
>>>>>>> >> >> < <alexandr.porunov at gmail.com>alexandr.porunov at gmail.com>
>>>>>>> wrote:
>>>>>>> >> >>>
>>>>>>> >> >>> Hello everyone,
>>>>>>> >> >>>
>>>>>>> >> >>> I am trying to pass this tutorial:
>>>>>>> >> >>>
>>>>>>> >> >>>
>>>>>>> >> >>>
>>>>>>> <http://docs.openstack.org/liberty/install-guide-rdo/keystone-services.html>
>>>>>>> http://docs.openstack.org/liberty/install-guide-rdo/keystone-services.html
>>>>>>> >> >>> but without success.
>>>>>>> >> >>>
>>>>>>> >> >>> It is my /etc/hosts file:
>>>>>>> >> >>> 127.0.0.1 me
>>>>>>> >> >>> 192.168.56.111 controller
>>>>>>> >> >>> 192.168.56.131 compute1
>>>>>>> >> >>> 192.168.56.141 block1
>>>>>>> >> >>> 192.168.56.151 object1
>>>>>>> >> >>> 192.168.56.152 object2
>>>>>>> >> >>> 192.168.56.50 ns1.porunov.com ns1
>>>>>>> >> >>>
>>>>>>> >> >>> I am using CentOS 7 in all nodes.
>>>>>>> >> >>>
>>>>>>> >> >>> When I try to create the service entity for the Identity
>>>>>>> service I
>>>>>>> >> >>> always
>>>>>>> >> >>> gets an error 500:
>>>>>>> >> >>> openstack service create  --name keystone --description
>>>>>>> "OpenStack
>>>>>>> >> >>> Identity" identity
>>>>>>> >> >>>
>>>>>>> >> >>> An unexpected error prevent the server from fulfilling your
>>>>>>> request.
>>>>>>> >> >>> (HTTP 500) (Request-ID:
>>>>>>> req-12dc5717-71b4-4311-87e9-b0cfd4e90837)
>>>>>>> >> >>>
>>>>>>> >> >>> Request-ID always changes.
>>>>>>> >> >>>
>>>>>>> >> >>> This is my /var/log/keystone/keystone.log:
>>>>>>> >> >>> 2016-02-24 15:09:45.922 4518 INFO oslo_service.service [-]
>>>>>>> Caught
>>>>>>> >> >>> SIGTERM, stopping children
>>>>>>> >> >>> 2016-02-24 15:09:45.923 4518 INFO oslo_service.service [-]
>>>>>>> Waiting on
>>>>>>> >> >>> 4
>>>>>>> >> >>> children to exit
>>>>>>> >> >>> 2016-02-24 15:09:45.926 4528 INFO eventlet.wsgi.server
>>>>>>> >> >>> [req-550473ac-acff-4581-af0f-1e02a66e4f66 - - - - -] (4528)
>>>>>>> wsgi
>>>>>>> >> >>> exited,
>>>>>>> >> >>> is_accepting=True
>>>>>>> >> >>> 2016-02-24 15:09:45.931 4529 INFO eventlet.wsgi.server [-]
>>>>>>> (4529) wsgi
>>>>>>> >> >>> exited, is_accepting=True
>>>>>>> >> >>> 2016-02-24 15:09:45.933 4530 INFO eventlet.wsgi.server [-]
>>>>>>> (4530) wsgi
>>>>>>> >> >>> exited, is_accepting=True
>>>>>>> >> >>> 2016-02-24 15:09:45.936 4531 INFO eventlet.wsgi.server [-]
>>>>>>> (4531) wsgi
>>>>>>> >> >>> exited, is_accepting=True
>>>>>>> >> >>> 2016-02-24 15:09:45.942 4518 INFO oslo_service.service [-]
>>>>>>> Child 4528
>>>>>>> >> >>> exited with status 0
>>>>>>> >> >>> 2016-02-24 15:09:45.943 4518 INFO oslo_service.service [-]
>>>>>>> Child 4529
>>>>>>> >> >>> exited with status 0
>>>>>>> >> >>> 2016-02-24 15:09:45.943 4518 INFO oslo_service.service [-]
>>>>>>> Child 4530
>>>>>>> >> >>> exited with status 0
>>>>>>> >> >>> 2016-02-24 15:09:45.944 4518 INFO oslo_service.service [-]
>>>>>>> Child 4531
>>>>>>> >> >>> exited with status 0
>>>>>>> >> >>> 2016-02-24 15:09:45.947 4518 INFO oslo_service.service [-]
>>>>>>> Caught
>>>>>>> >> >>> SIGTERM, stopping children
>>>>>>> >> >>> 2016-02-24 15:18:29.074 1123 INFO keystone.common.wsgi
>>>>>>> >> >>> [req-00fd181c-00ea-4b74-a16a-3ab8c1c38e24 - - - - -] POST
>>>>>>> >> >>> <http://controller:35357/v3/services>
>>>>>>> http://controller:35357/v3/services
>>>>>>> >> >>> 2016-02-24 15:18:29.075 1123 WARNING
>>>>>>> keystone.common.controller
>>>>>>> >> >>> [req-00fd181c-00ea-4b74-a16a-3ab8c1c38e24 - - - - -] RBAC:
>>>>>>> Bypassing
>>>>>>> >> >>> authorization
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> [req-00fd181c-00ea-4b74-a16a-3ab8c1c38e24 - - - - -]
>>>>>>> >> >>> (_mysql_exceptions.OperationalError) (1045, "Access denied
>>>>>>> for user
>>>>>>> >> >>> 'keystone'@'controller' (using password: YES)")
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> Traceback
>>>>>>> >> >>> (most
>>>>>>> >> >>> recent call last):
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py",
>>>>>>> line 248,
>>>>>>> >> >>> in
>>>>>>> >> >>> __call__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  result =
>>>>>>> >> >>> method(context, **params)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/common/controller.py", line
>>>>>>> >> >>> 163,
>>>>>>> >> >>> in inner
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> f(self, context, *args, **kwargs)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/common/validation/__init__.py",
>>>>>>> >> >>> line 71, in wrapper
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> func(*args, **kwargs)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/catalog/controllers.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 272, in create_service
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  ref =
>>>>>>> >> >>> self.catalog_api.create_service(ref['id'], ref, initiator)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib/python2.7/site-packages/keystone/catalog/core.py",
>>>>>>> line 187,
>>>>>>> >> >>> in
>>>>>>> >> >>> create_service
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  ref =
>>>>>>> >> >>> self.driver.create_service(service_id, service_ref)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/catalog/backends/sql.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 205, in create_service
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  session =
>>>>>>> >> >>> sql.get_session()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line
>>>>>>> >> >>> 192, in
>>>>>>> >> >>> get_session
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>>
>>>>>>> _get_engine_facade().get_session(expire_on_commit=expire_on_commit)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line
>>>>>>> >> >>> 176, in
>>>>>>> >> >>> _get_engine_facade
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> _engine_facade = db_session.EngineFacade.from_config(CONF)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 1015, in from_config
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> expire_on_commit=expire_on_commit, _conf=conf)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 943, in __init__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> slave_connection=slave_connection)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 338, in _start
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> engine_args,
>>>>>>> >> >>> maker_args)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 362, in _setup_for_connection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> sql_connection=sql_connection, **engine_kwargs)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line
>>>>>>> >> >>> 152,
>>>>>>> >> >>> in create_engine
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  test_conn
>>>>>>> >> >>> =
>>>>>>> >> >>> _test_connection(engine, max_retries, retry_interval)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line
>>>>>>> >> >>> 326,
>>>>>>> >> >>> in _test_connection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> engine.connect()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 2018,
>>>>>>> >> >>> in connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> self._connection_cls(self, **kwargs)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 72, in
>>>>>>> >> >>> __init__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi     if
>>>>>>> >> >>> connection
>>>>>>> >> >>> is not None else engine.raw_connection()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 2104,
>>>>>>> >> >>> in raw_connection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> self.pool.unique_connection, _connection)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 2078,
>>>>>>> >> >>> in _wrap_pool_connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi     e,
>>>>>>> >> >>> dialect,
>>>>>>> >> >>> self)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 1401,
>>>>>>> >> >>> in _handle_dbapi_exception_noconnection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> util.raise_from_cause(newraise, exc_info)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line
>>>>>>> >> >>> 200, in
>>>>>>> >> >>> raise_from_cause
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> reraise(type(exception), exception, tb=exc_tb)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line
>>>>>>> >> >>> 2074,
>>>>>>> >> >>> in _wrap_pool_connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> fn()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 318, in
>>>>>>> >> >>> unique_connection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> _ConnectionFairy._checkout(self)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 713, in
>>>>>>> >> >>> _checkout
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  fairy =
>>>>>>> >> >>> _ConnectionRecord.checkout(pool)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 480, in
>>>>>>> >> >>> checkout
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  rec =
>>>>>>> >> >>> pool._do_get()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 1060, in
>>>>>>> >> >>> _do_get
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> self._dec_overflow()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 60, in __exit__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> compat.reraise(exc_type, exc_value, exc_tb)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 1057, in
>>>>>>> >> >>> _do_get
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> self._create_connection()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 323, in
>>>>>>> >> >>> _create_connection
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> _ConnectionRecord(self)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 449, in
>>>>>>> >> >>> __init__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> self.connection = self.__connect()
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line
>>>>>>> 607, in
>>>>>>> >> >>> __connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  connection
>>>>>>> >> >>> =
>>>>>>> >> >>> self.__pool._invoke_creator(self)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/strategies.py",
>>>>>>> >> >>> line
>>>>>>> >> >>> 97, in connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> dialect.connect(*cargs, **cparams)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>>
>>>>>>> "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py",
>>>>>>> >> >>> line 385,
>>>>>>> >> >>> in connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> self.dbapi.connect(*cargs, **cparams)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/MySQLdb/__init__.py",
>>>>>>> line 81, in
>>>>>>> >> >>> Connect
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>>  return
>>>>>>> >> >>> Connection(*args, **kwargs)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi   File
>>>>>>> >> >>> "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py",
>>>>>>> line 187,
>>>>>>> >> >>> in
>>>>>>> >> >>> __init__
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> super(Connection, self).__init__(*args, **kwargs2)
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>> OperationalError:
>>>>>>> >> >>> (_mysql_exceptions.OperationalError) (1045, "Access denied
>>>>>>> for user
>>>>>>> >> >>> 'keystone'@'controller' (using password: YES)")
>>>>>>> >> >>> 2016-02-24 15:18:29.100 1123 ERROR keystone.common.wsgi
>>>>>>> >> >>>
>>>>>>> >> >>> Please, help me to figure out what is going on.
>>>>>>> >> >>>
>>>>>>> >> >>> Sincerely, Alexandr Porunov
>>>>>>> >> >>
>>>>>>> >> >>
>>>>>>> >> >>
>>>>>>> >> >> --
>>>>>>> >> >> Mohammed Naser — vexxhost
>>>>>>> >> >> -----------------------------------------------------
>>>>>>> >> >> D. 514-316-8872
>>>>>>> >> >> D. 800-910-1726 ext. 200 <800-910-1726%20ext.%20200>
>>>>>>> >> >> E. <mnaser at vexxhost.com>mnaser at vexxhost.com
>>>>>>> >> >> W. <http://vexxhost.com>http://vexxhost.com
>>>>>>> >> >>
>>>>>>> >> >
>>>>>>> >>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> --
>>>>>>> >> Mohammed Naser — vexxhost
>>>>>>> >> -----------------------------------------------------
>>>>>>> >> D. 514-316-8872
>>>>>>> >> D. 800-910-1726 ext. 200 <800-910-1726%20ext.%20200>
>>>>>>> >> E. <mnaser at vexxhost.com>mnaser at vexxhost.com
>>>>>>> >> W. <http://vexxhost.com>http://vexxhost.com
>>>>>>> >
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Mohammed Naser — vexxhost
>>>>>>> -----------------------------------------------------
>>>>>>> D. 514-316-8872
>>>>>>> D. 800-910-1726 ext. 200 <800-910-1726%20ext.%20200>
>>>>>>> E. mnaser at vexxhost.com
>>>>>>> W. http://vexxhost.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to     : openstack at lists.openstack.org
>>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to     : openstack at lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160225/c5f06eb9/attachment.html>


More information about the Openstack mailing list