<html><body>
<p><font size="2" face="sans-serif">Are you able to execute cinder operations with a single backend?</font><br>
<br>
<font size="2" face="sans-serif">It looks like your permissions are not set up correctly.</font>
<p><font size="3" face="serif">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</font>
<p><font size="2" face="sans-serif">Are you able to issue commands like "cinder list" ? </font><br>
<br>
<font size="2" face="sans-serif">Regards,<br>
Bill Owen <br>
billowen@us.ibm.com<br>
GPFS and OpenStack<br>
520-799-4829<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=08BBF6D5DFE2063B8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Zhengguang Ou ---12/18/2013 05:45:02 AM---Hi all I want to configurate multi-backend driver in cinder"><font size="2" color="#424282" face="sans-serif">Zhengguang Ou ---12/18/2013 05:45:02 AM---Hi all I want to configurate multi-backend driver in cinder.</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Zhengguang Ou <zhengguangou@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack@lists.openstack.org</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">12/18/2013 05:45 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] configurate multi-backend in cinder</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi all</font>
<p><font size="3" face="serif">I want to configurate multi-backend driver in cinder.<br>
My configuration follow this:</font><a href="https://wiki.openstack.org/wiki/Cinder-multi-backend"><font size="3" color="#0000FF" face="serif"><u>https://wiki.openstack.org/wiki/Cinder-multi-backend</u></font></a>
<p><font size="3" face="serif">But, when I restart the cinder-volume, I got this issues:</font>
<p><font size="3" face="serif">2013-12-18 18:32:05.795 5000 ERROR cinder.service [req-a51c1896-46a7-4109-8363-f7f16f714c0e None None] Unhandled exception<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service Traceback (most recent call last):<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service self._child_process(wrap.server)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service launcher.run_server(server)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service server.start()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service self.binary)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service return IMPL.service_get_by_args(context, host, binary)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service return f(*args, **kwargs)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service result = model_query(context, models.Service).\<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service session = kwargs.get('session') or get_session()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service engine = get_engine(sqlite_fk=sqlite_fk)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service sqlite_fk=sqlite_fk)<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service engine.connect()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service return self._connection_cls(self, **kwargs)<br>
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__<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service self.__connection = connection or engine.raw_connection()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service return self.pool.unique_connection()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service return _ConnectionFairy(self).checkout()<br>
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__<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service rec = self._connection_record = pool._do_get()<br>
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<br>
2013-12-18 18:32:05.795 5000 TRACE cinder.service con = self._create_connection()<br>
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<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service return _ConnectionRecord(self)<br>
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__<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service self.connection = self.__connect()<br>
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<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service connection = self.__pool._creator()<br>
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<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service return dialect.connect(*cargs, **cparams)<br>
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<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service return self.dbapi.connect(*cargs, **cparams)<br>
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<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service return Connection(*args, **kwargs)<br>
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__<br>
2013-12-18 18:06:31.910 25883 TRACE cinder.service super(Connection, self).__init__(*args, **kwargs2)<br>
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</font>
<p><font size="3" face="serif">Anyone can help me?<br>
Thanks</font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
</font></tt>
<p></body></html>