aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/octavia/octavia-api/extend_start.sh1
-rw-r--r--releasenotes/notes/octavia_persistence-9cae39010b28bcee.yaml5
2 files changed, 6 insertions, 0 deletions
diff --git a/docker/octavia/octavia-api/extend_start.sh b/docker/octavia/octavia-api/extend_start.sh
index 72bfe5775..3c45e2558 100644
--- a/docker/octavia/octavia-api/extend_start.sh
+++ b/docker/octavia/octavia-api/extend_start.sh
@@ -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
diff --git a/releasenotes/notes/octavia_persistence-9cae39010b28bcee.yaml b/releasenotes/notes/octavia_persistence-9cae39010b28bcee.yaml
new file mode 100644
index 000000000..cc03d56fb
--- /dev/null
+++ b/releasenotes/notes/octavia_persistence-9cae39010b28bcee.yaml
@@ -0,0 +1,5 @@
+---
+features:
+ - |
+ The octavia-api container image now also performs the upgrade
+ of the octavia_persistence database in bootstrap mode.