nova my_ip incorrectly formatted for ipv6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Juju Charms Collection) |
Fix Released
|
Critical
|
Edward Hope-Morley |
Bug Description
With the following in my nova.conf (created by current Openstack charms in ipv6 mode):
mysq_ip=
which gives:
mysql> select host_ip from compute_nodes;
+------
| host_ip |
+------
| [2001:db8:
+------
But Nova does not like that:
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
2015-09-25 08:56:43.703 12988 TRACE nova.openstack.
Removing the [] fixes the problem.
Related branches
- Billy Olsen: Approve
-
Diff: 46 lines (+13/-4)2 files modifiedhooks/nova_compute_context.py (+2/-2)
unit_tests/test_nova_compute_contexts.py (+11/-2)
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
status: | New → In Progress |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Ftr I hit this issue with Kilo.