After migration from ML2/OVS to ML2/OVN trunk subports which were created
by the neutron-ovs-agent to connect br-int with trunk bridges (tbr-)
aren't needed anymore and should be deleted.
Closes-Bug: #1946479
Change-Id: Ib1e3b78597ebdde1aa9d2b242e2005a05a7db89f
(cherry picked from commit bf6831e0d2ad33ff751f06d568abe6cedff4d717)
After migration from ML2/OVS to ML2/OVN tap ports which were created
by the DHCP agents and router ports (like e.g. qr- or qg-) which were
created by the L3 agents aren't needed at all and should be deleted.
Previously those ports were set to be DOWN only. With this patch
all such ports will be simply deleted from the openvswitch.
Related-bug: #1946479
Change-Id: I74cd5820389c86819c6884d3d61c9b2f7907cc88
(cherry picked from commit 5092f3fb98b4c6bf8334de0e71548ddd073f6234)
(cherry picked from commit 0c5a5ef921ac8e8b6d207484f720b7ec40a32b33)
TripleO used to uninstall services if the resources were set to None. It
was not intentional and TripleO no longer does that. This patch manually
removes dhcp, l3, metadata and ovs agents from controller and compute
nodes, including its systemd service files.
Closes-Bug: #1878358
Change-Id: I140ae0c476bf9e19b4429ce388ddc7cc3f4cd421
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
(cherry picked from commit 4d5b9a62b97dfa7245efc92cadda4e4c7d0e406a)
(cherry picked manually from
Neutron commit 9b0ca47c6dd8b2eca14452c477306d32fc3e2fa7)
The patch removes paunch and cleans network namespaces by iterating over
namespaces belonging to Neutron agents. It also clears side-car
containers spawned by Neutron using podman command.
Change-Id: I017e7b3c3674e065a523eff5ebbea352f619f45e
(cherry-picked from I017e7b3c3674e065a523eff5ebbea352f619f45e)
Ansible outputs JSON-encoded strings which does not work with
container clis (ex. docker). Write to a temp file instead.
Change-Id: I554d62265ecf0e890f9545d871afe85c0344f747
Closes-Bug: #1847707
(cherry picked from commit 63243f6cb0)
The correct path should be hashed-container-startup-config-step_4.json
instead of hashed-docker-container-startup-config-step_4.json in
cleanup-dataplane.yml.
When this file was originally commited the path was
hashed-docker-container-startup-config-step_4.json but we have changed
it a few releases ago.
Change-Id: I901eedf64f7bd4281f94c156c33489355ff97aee
During the migration process we were cleaning up all ml2/ovs
neutron agents, but, in some cases we still rely on the
neutron-dhcp-agents, and we need to avoid cleaning those up.
Change-Id: I6064bb207e27928f29d39773b30d98a2345efd43
Closes-bug: 1814812
- We only have dhcp and migration top level ymls
- Role default variables like 'var: "{{ var }}"' have been removed
- Containerless variables removed, as we don't provide support for that
since Queens.
Change-Id: I02b0b2c644e931592c14ade5b3de66ffbd136b03
Without this fix the "$port" weren't properly cleaned up, and
the subsequent ovs-vsctl calls failed (seen in the logs).
With this change it works.
Change-Id: I7acfc5ce7f584d99d4e4e041531191b6fd4e71ec
The changes in this commit make use of neutron-netns-cleanup within
the kolla containers used by tripleo to cleanup the neutron
resources as those are found in each host.
Also neutron security group filtering rules inserted in iptables
are removed.
Change-Id: I43fb721d9b73ff09e981f3c2555efa8aca067cf9