yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25775
[Bug 1284684] Re: local_ip should be validated when ovs-agent starts
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1284684
Title:
local_ip should be validated when ovs-agent starts
Status in OpenStack Neutron (virtual network service):
Fix Released
Status in The Oslo library incubator:
Fix Released
Bug description:
https://github.com/openstack/neutron/blob/2702baed390d094b0eac07d0ae167ed236868d00/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py#L1327
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1284684/+subscriptions
References