octavia: bootstrap octavia_persistence database

Change-Id: I141dbf2f5338ce3ce8f66d0b948463a084b94f56
This commit is contained in:
Christian Berendt 2023-07-14 17:30:41 +02:00
parent 00cebc3cde
commit 77cfb749d1
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
octavia-db-manage upgrade head
octavia-db-manage upgrade_persistence
exit 0
fi

View File

@ -0,0 +1,5 @@
---
features:
- |
The octavia-api container image now also performs the upgrade
of the octavia_persistence database in bootstrap mode.