Skip to content

Commit

Permalink
Stop the OVN database during the cleanup script
Browse files Browse the repository at this point in the history
Closes-Issue: OSPRH-8118
  • Loading branch information
ralonsoh committed Jul 8, 2024
1 parent 39edd44 commit ebd1b11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/ovndbcluster/bin/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ if [[ "$(hostname)" != "{{ .SERVICE_NAME }}-0" ]]; then
# now that we left, the database file is no longer valid
cleanup_db_file
fi

# Stop the DB server gracefully; this will also end the pod running script.
/usr/share/ovn/scripts/ovn-ctl stop_${DB_TYPE}_ovsdb

0 comments on commit ebd1b11

Please sign in to comment.