Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/microshift-cleanup-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ function clean_processes() {
for pname in conmon pause ovn-controller ovn-northd ; do
pkill -9 --exact ${pname} || true
done
# Stop OVS so the stale flow state left by the stopped ovsdb-server is cleared,
# otherwise OVN cannot reinitialize on the next MicroShift start.
systemctl stop openvswitch.service \
|| echo "WARN: failed to stop openvswitch.service; stale OVS flow state may persist" >&2
fi
}

Expand Down