my_ip needs to be set when multiple network present
Bug #1391313 reported by
Liang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-cloud-controller (Ubuntu) |
Fix Committed
|
Medium
|
Liang Chen | ||
nova-compute (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen |
Bug Description
The nova-compute charm doesn't set my_ip config option. This can be problematic when there are multiple network connections on the compute node. Because nova-compute will just pick the IP that assocates to the NIC connected to the outside world (NIC to default gateway) by default, and that may not be the desired one for communications between openstack services.
Related branches
lp:~cbjchen/charms/trusty/nova-compute/my_ip_setting
- Edward Hope-Morley: Approve
-
Diff: 104 lines (+33/-2)5 files modifiedhooks/nova_compute_context.py (+18/-1)
hooks/nova_compute_utils.py (+3/-1)
templates/havana/nova.conf (+1/-0)
templates/juno/nova.conf (+1/-0)
unit_tests/test_nova_compute_contexts.py (+10/-0)
lp:~cbjchen/charms/trusty/nova-cloud-controller/my_ip_setting
- Edward Hope-Morley: Approve
-
Diff: 72 lines (+12/-3)4 files modifiedhooks/nova_cc_context.py (+9/-1)
templates/havana/nova.conf (+1/-0)
templates/icehouse/nova.conf (+1/-1)
tests/basic_deployment.py (+1/-1)
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → Liang Chen (cbjchen) |
tags: | added: cts openstack |
Changed in nova-compute (Juju Charms Collection): | |
status: | New → In Progress |
Changed in nova-cloud-controller (Ubuntu): | |
status: | New → In Progress |
Changed in nova-compute (Juju Charms Collection): | |
status: | Incomplete → In Progress |
Changed in nova-cloud-controller (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nova-compute (Juju Charms Collection): | |
importance: | Low → Medium |
Changed in nova-cloud-controller (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
tags: | added: backport-potential |
Changed in nova-compute (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Liang
Your proposed change looks OK, but I'd like to understand exactly what issues this is causing you before we land it; this might overlap with the network splits work we delivered last cycle.