From 3a6938c9ea86522a8f4b3c6c6409278ec59fefba Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Mon, 6 May 2024 10:56:44 +0200 Subject: [PATCH] Cleanup of tripleo services Creates dataplane service 'tripleo-cleanup' which stops, disables and finally removes unit files of tripleo systemd services. The step is executed as last during dataplane adoption. Signed-off-by: Jiri Podivin --- .../roles/dataplane_adoption/tasks/main.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/tests/roles/dataplane_adoption/tasks/main.yaml b/tests/roles/dataplane_adoption/tasks/main.yaml index ce55a3fbb..92ffaae21 100644 --- a/tests/roles/dataplane_adoption/tasks/main.yaml +++ b/tests/roles/dataplane_adoption/tasks/main.yaml @@ -560,3 +560,67 @@ - name: Adopted Neutron and OVN agents post-checks ansible.builtin.include_tasks: file: neutron_verify.yaml + +- name: Remove leftover OOO services + block: + - name: Create OpenStackDataPlaneService/tripleo-cleanup + no_log: "{{ use_no_log }}" + ansible.builtin.shell: | + {{ shell_header }} + {{ oc_header }} + oc apply -f - <