local_ip should be validated when ovs-agent starts
Bug #1284684 reported by
Darragh O'Reilly
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Jakub Libosvar | ||
oslo-incubator |
Fix Released
|
Wishlist
|
Jakub Libosvar |
Bug Description
The ovs agent will currently accepts anything for local_ip, and sends it to the plugin with the sync_tunnels rpc, and then all other agents will try to make tunnel ports using it as the remote_ip. Then the only way to get rid of it is to manually delete the row in the DB.
If tunneling is enabled, netaddr.IPAddress() could be used to validate that local_ip is a proper IP address. Only IPv4 tunnels are currently supported for GRE - not sure about VxLAN. Maybe a check that local_ip actually exists on the host too.
tags: | added: low-hanging-fruit ovs |
Changed in neutron: | |
assignee: | nobody → Daniel Gollub (d-gollub) |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-3 |
Changed in neutron: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in neutron: | |
status: | In Progress → Triaged |
milestone: | icehouse-rc1 → none |
Changed in neutron: | |
status: | Triaged → In Progress |
Changed in oslo: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
assignee: | nobody → Jakub Libosvar (libosvar) |
status: | Triaged → In Progress |
Changed in oslo: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | none → kilo-1 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/77100
Review: https:/