Red Hat Bugzilla – Bug 967348
Packstack use wrong sql_connection for quantum in OVS plugin file
Last modified: 2016-04-26 16:03:23 EDT
Description of problem:
packstack use wrong sql connnection in OVS plugin file
It use ;
sql_connection = mysql://quantum:firstname.lastname@example.org/quantum
sql_connection = mysql://quantum:email@example.com/ovs_quantum
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install setup with packstack and quanutm + OVS
2. Check OVS plugin file and check the format of sql_connection
This isn't necessarily a bug as the name of the database doesn't really matter. 'quantum' is the default database name in the upstream quantum puppet module, so we just went with that.
With that said, the old setup scripts used ovs_quantum as the database name as does devstack. So, modifying the default to match that doesn't seem like a bad idea. Of course, if we do change this it could lead to someone installing with the version before this change went in, then adding a node later which would get the wrong database name.
IMHO, we go ahead and make the change right now. I'll go ahead and do it and post something for review. Shouldn't take long and if we decide not to make the change, it won't be much time wasted.
For Verification purposes, Please attach the answers file you used.
Alternatively, you can just list all Quantum related values you used.
Now it works correctly
# sql_connection = mysql://root:firstname.lastname@example.org:3306/ovs_quantum
sql_connection = mysql://quantum:PASSWROD@10.35.160.17/ovs_quantum
10.35.160.17 is the ip used in answer file
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.