use_single_default_gateway does not function correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Joe Breu | ||
Folsom |
Fix Released
|
Medium
|
Vish Ishaya | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using version ESSEX.
flatDHCP mode , MultiNIC (tree NICs per VM) environment.
If set to use_single_
When you start to four VM, nova-br10 [1-3]. Opts file might look like the following.
There is no problem in the first unit VM 1, Gateway of the second and subsequent VM is not set.
[nova-br100.opts]
NW-183, 3
NW-186, 3
NW-189, 3
[nova-br101.opts]
NW-157, 3
NW-184, 3
NW-187, 3
NW-190, 3
[nova-br102.opts]
NW-158, 3
NW-185, 3
NW-188, 3
NW-191, 3
nova / network / linux_net.py
609 def get_dhcp_opts (context, network_ref):
· · ·
629 for datum in data:
630 if instance_id in default_gw_vif:
631 # we don't want default gateway for this fixed ip
632 if default_gw_vif [instance_id] = datum ['vif_id']:
633 hosts.append (_host_dhcp_opts (datum))
But what I think should be in the following manner.
609 def get_dhcp_opts (context, network_ref):
· · ·
629 for datum in data:
*ADD* instance_id = datum ['instance_id']
630 if instance_id in default_gw_vif:
631 # we don't want default gateway for this fixed ip
632 if default_gw_vif [instance_id] = datum ['vif_id']:
633 hosts.append (_host_dhcp_opts (datum))
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 121 lines (+100/-4)1 file modifieddebian/changelog (+100/-4)
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
assignee: | nobody → Joseph W. Breu (breu) |
tags: | removed: folsom-backport-potential |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
Changed in nova (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
tags: |
added: verification-done removed: verification-needed |
no longer affects: | nova/essex |
Fix proposed to branch: master /review. openstack. org/16227
Review: https:/