"sql_connection = ://:@/" is left when database relation is not ready
Bug #1414547 reported by
Nobuto Murata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quantum-gateway (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen |
Bug Description
parts/database is not conditioned by "{% if database_host -%}". So "sql_connection = ://:@/" will be left in nova.conf when database relation is not ready.
http://
> sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
Also is it necessary to have database access from nova-api-metadata? I can get metadata without database relation.
Related branches
lp:~cbjchen/charms/trusty/neutron-gateway/metadata-api-config-fix
- James Page: Approve
-
Diff: 38 lines (+1/-5)3 files modifiedhooks/neutron_utils.py (+1/-3)
templates/havana/nova.conf (+0/-1)
tests/basic_deployment.py (+0/-1)
tags: | added: cts openstack |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 15.04 |
Changed in quantum-gateway (Juju Charms Collection): | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in quantum-gateway (Juju Charms Collection): | |
milestone: | 15.04 → 15.07 |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in quantum-gateway (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Nobuto
I think that you are probably correct - metadata is probably retrieved using RPC + the nova conductor.