e7df43395c
This patch intends to make the transition of the OVN DevStack module easier by allowing both copies of it to exist at the same time, the one in Neutron repository and the one in the DevStack repository [0]. 1) Make create_public_bridge idempotent If we call this function more than once the second call and on will fail with the following error: 2020-07-13 09:12:53.885633 | controller | ++ /opt/stack/neutron/devstack/lib/ovn_agent:create_public_bridge:263 : sudo ip addr add 172.24.5.1/24 dev br-ex 2020-07-13 09:12:53.894247 | controller | RTNETLINK answers: File exists During the transiton of moving the OVN DevStack from the Neutron repository to the DevStack repository [0] this method is being invoked twice in the ovn job in the DevStack gate because it will be cause as part of the plugin being enabled and the normal code execution. This patch makes the method idempotent by calling "addr replace" instead of "addr add" to avoid the "RTNETLINK answers: File exists" error. 2) Move the setup of the tcpdump on br-ex to "extra" to it can start after the create_public_bridge is called. [0] https://review.opendev.org/#/c/734621/ Change-Id: I74b05ef245a343c7531fa45aeadb90060b2fd22e Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com> |
||
---|---|---|
.. | ||
dns | ||
fip_port_forwarding | ||
flavors | ||
l2_agent | ||
l2_agent_sriovnicswitch | ||
l3_agent | ||
l3_conntrack_helper | ||
log | ||
macvtap_agent | ||
ml2 | ||
network_segment_range | ||
octavia | ||
ovn_agent | ||
ovs | ||
placement | ||
qos | ||
segments | ||
tag_ports_during_bulk_creation | ||
trunk | ||
uplink_status_propagation |