*** This bug is a duplicate of bug 1176817 ***
    https://bugs.launchpad.net/bugs/1176817

** This bug has been marked a duplicate of bug 1176817
   Give priority to CLI args

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1175530

Title:
  cinder-manage ignores --sql_connection parameter

Status in Cinder:
  In Progress
Status in OpenStack Image Registry and Delivery Service (Glance):
  Confirmed

Bug description:
  cinder-manage ignores --sql_connection parameter and uses some default. Not 
sure from where, because this option is commented in cinder.conf:
  [para@virtual-rhel packstack]$ sudo cat /etc/cinder/cinder.conf | grep 
connection
  #connection_type=<None>
  #sql_connection=mysql://cinder:cinder@localhost/cinder
  #sql_connection_debug=0

  I've added "print 'used connection: %s' % FLAGS.sql_connection" to 
cinder/db/sqlalchemy/session.py:113 and output is following:
  [para@virtual-rhel packstack]$ sudo cinder-manage 
--sql_connection=mysql://cinder:[email protected]/cinder db sync
  used connection: mysql://cinder:cinder@localhost/cinder
  2013-05-02 11:57:48 10457 WARNING cinder.db.sqlalchemy.session [-] SQL 
connection failed. 10 attempts left.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1175530/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to