my_ip needs to be set when multiple network present

Bug #1391313 reported by Liang Chen
6
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

Liang Chen (cbjchen)
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
Revision history for this message
James Page (james-page) wrote :

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.

Changed in nova-compute (Juju Charms Collection):
status: In Progress → Incomplete
importance: Undecided → Low
Revision history for this message
Liang Chen (cbjchen) wrote :

Hi James,
This issue is reported from a customer at salesforce 00074645 where they have two networks connecting the openstack hosts, and they would like one of them to be dedicated for openstack inter service communication and the other one for some general administration usage. The bootstrap process picked up the right network, thus all the service endpoint setting getting the right one. But my_ip is by default the ip connecting to default gateway. In the case of salesforce 00074645, the default my_ip points at the general administration network, which is not what the customer wants. And also in general it can create an inconsistency for the network usage of inter openstack service communication - the service endpoints and my_ip should at least use the same network connection.

Revision history for this message
Liang Chen (cbjchen) wrote :

This also needs to be fixed in nova-cloud-controller.

Changed in nova-cloud-controller (Ubuntu):
assignee: nobody → Liang Chen (cbjchen)
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
Liang Chen (cbjchen)
tags: added: backport-potential
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
milestone: none → 15.01
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.