[Openstack] configurate multi-backend in cinder
Bill Owen
billowen at us.ibm.com
Thu Dec 19 20:53:46 UTC 2013
Are you able to execute cinder operations with a single backend?
It looks like your permissions are not set up correctly.
2013-12-18 18:06:31.910 25883 TRACE cinder.service OperationalError:
(OperationalError) (1045, "Access denied for user
'cinder'@'localhost' (using password: YES)") None None
Are you able to issue commands like "cinder list" ?
Regards,
Bill Owen
billowen at us.ibm.com
GPFS and OpenStack
520-799-4829
From: Zhengguang Ou <zhengguangou at gmail.com>
To: openstack at lists.openstack.org
Date: 12/18/2013 05:45 AM
Subject: [Openstack] configurate multi-backend in cinder
Hi all
I want to configurate multi-backend driver in cinder.
My configuration follow this:
https://wiki.openstack.org/wiki/Cinder-multi-backend
But, when I restart the cinder-volume, I got this issues:
2013-12-18 18:32:05.795 5000 ERROR cinder.service
[req-a51c1896-46a7-4109-8363-f7f16f714c0e None None] Unhandled exception
2013-12-18 18:32:05.795 5000 TRACE cinder.service Traceback (most recent
call last):
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/service.py", line 228, in
_start_child
2013-12-18 18:32:05.795 5000 TRACE cinder.service self._child_process
(wrap.server)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/service.py", line 205, in
_child_process
2013-12-18 18:32:05.795 5000 TRACE cinder.service launcher.run_server
(server)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/service.py", line 96, in
run_server
2013-12-18 18:32:05.795 5000 TRACE cinder.service server.start()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/service.py", line 364, in start
2013-12-18 18:32:05.795 5000 TRACE cinder.service self.binary)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/db/api.py", line 131, in
service_get_by_args
2013-12-18 18:32:05.795 5000 TRACE cinder.service return
IMPL.service_get_by_args(context, host, binary)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/db/sqlalchemy/api.py", line 120,
in wrapper
2013-12-18 18:32:05.795 5000 TRACE cinder.service return f(*args,
**kwargs)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/db/sqlalchemy/api.py", line 387,
in service_get_by_args
2013-12-18 18:32:05.795 5000 TRACE cinder.service result = model_query
(context, models.Service).\
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/db/sqlalchemy/api.py", line 179,
in model_query
2013-12-18 18:32:05.795 5000 TRACE cinder.service session = kwargs.get
('session') or get_session()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/openstack/common/db/sqlalchemy/session.py",
line 376, in get_session
2013-12-18 18:32:05.795 5000 TRACE cinder.service engine = get_engine
(sqlite_fk=sqlite_fk)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/openstack/common/db/sqlalchemy/session.py",
line 498, in get_engine
2013-12-18 18:32:05.795 5000 TRACE cinder.service sqlite_fk=sqlite_fk)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib/python2.6/site-packages/cinder/openstack/common/db/sqlalchemy/session.py",
line 601, in create_engine
2013-12-18 18:32:05.795 5000 TRACE cinder.service engine.connect()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py",
line 2472, in connect
2013-12-18 18:32:05.795 5000 TRACE cinder.service return
self._connection_cls(self, **kwargs)
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py",
line 878, in __init__
2013-12-18 18:32:05.795 5000 TRACE cinder.service self.__connection =
connection or engine.raw_connection()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py",
line 2558, in raw_connection
2013-12-18 18:32:05.795 5000 TRACE cinder.service return
self.pool.unique_connection()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 183, in unique_connection
2013-12-18 18:32:05.795 5000 TRACE cinder.service return
_ConnectionFairy(self).checkout()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 387, in __init__
2013-12-18 18:32:05.795 5000 TRACE cinder.service rec =
self._connection_record = pool._do_get()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 741, in _do_get
2013-12-18 18:32:05.795 5000 TRACE cinder.service con =
self._create_connection()
2013-12-18 18:32:05.795 5000 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 188, in _create_connection
2013-12-18 18:06:31.910 25883 TRACE cinder.service return
_ConnectionRecord(self)
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 270, in __init__
2013-12-18 18:06:31.910 25883 TRACE cinder.service self.connection =
self.__connect()
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/pool.py",
line 330, in __connect
2013-12-18 18:06:31.910 25883 TRACE cinder.service connection =
self.__pool._creator()
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/strategies.py",
line 80, in connect
2013-12-18 18:06:31.910 25883 TRACE cinder.service return
dialect.connect(*cargs, **cparams)
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.8-py2.6-linux-x86_64.egg/sqlalchemy/engine/default.py",
line 281, in connect
2013-12-18 18:06:31.910 25883 TRACE cinder.service return
self.dbapi.connect(*cargs, **cparams)
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in
Connect
2013-12-18 18:06:31.910 25883 TRACE cinder.service return Connection
(*args, **kwargs)
2013-12-18 18:06:31.910 25883 TRACE cinder.service File
"/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in
__init__
2013-12-18 18:06:31.910 25883 TRACE cinder.service super(Connection,
self).__init__(*args, **kwargs2)
2013-12-18 18:06:31.910 25883 TRACE cinder.service OperationalError:
(OperationalError) (1045, "Access denied for user
'cinder'@'localhost' (using password: YES)") None None
Anyone can help me?
Thanks_______________________________________________
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/20131219/9a9b2a0c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131219/9a9b2a0c/attachment.gif>
More information about the Openstack
mailing list