yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17967
[Bug 1284684] Re: local_ip should be validated when ovs-agent starts
** Changed in: oslo
Status: Fix Committed => Fix Released
** Changed in: oslo
Milestone: None => juno-2
--
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):
In Progress
Status in Oslo - a Library of Common OpenStack Code:
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