dhcp-agent network namespace does not have a default route, can't use upstream dns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Carl Baldwin | ||
Grizzly |
Fix Released
|
Medium
|
Aaron Rosen |
Bug Description
The network namespace that dnsmasq runs in does not have a default route on creation (to the router for that network) and as such trying to use an upstream nameserver fails.
root@somehost# for i in $(ip netns | grep dhcp); do ip netns exec $i route -n; done
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.137.0 0.0.0.0 255.255.255.0 U 0 0 0 tap1a7c6129-07
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.224.0 0.0.0.0 255.255.255.0 U 0 0 0 tap43bd32a8-82
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.225.0 0.0.0.0 255.255.255.0 U 0 0 0 tap01947148-b2
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.129.1 0.0.0.0 UG 0 0 0 tapb4f816ac-a4
10.0.129.0 0.0.0.0 255.255.255.0 U 0 0 0 tapb4f816ac-a4
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.10.0 0.0.0.0 255.255.255.0 U 0 0 0 tapb5919ca3-bc
I have added the default route on only 1 of the namespaces, the 10.0.129.0/24 one but all others do not have them and can therefore not resolve their upstream servers.
Changed in quantum: | |
status: | New → Confirmed |
milestone: | none → havana-2 |
importance: | Undecided → Medium |
tags: | added: l3-ipam-dhcp |
tags: | added: low-hanging-fruit |
Changed in quantum: | |
assignee: | nobody → Jiajun Liu (ljjjustin) |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
Changed in neutron: | |
milestone: | havana-2 → 2013.2 |
tags: | removed: grizzly-backport-potential in-stable-grizzly |
Fix proposed to branch: master /review. openstack. org/31533
Review: https:/