Skip to content

Commit efdc4c6

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Run nova api_db sync before db sync" into stable/stein
2 parents 4923e71 + 09226a5 commit efdc4c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/nova/nova-api/extend_start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
44
# of the KOLLA_BOOTSTRAP variable being set, including empty.
55
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
6-
nova-manage db sync
76
nova-manage api_db sync
7+
nova-manage db sync
88
nova-manage db online_data_migrations
99
exit 0
1010
fi
1111

1212
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
13-
nova-manage db sync
1413
nova-manage api_db sync
14+
nova-manage db sync
1515
exit 0
1616
fi
1717

0 commit comments

Comments
 (0)