kolla/docker/nova/nova-conductor/extend_start.sh

18 lines
327 B
Bash

#!/bin/bash
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
nova-manage db sync --local_cell
nova-manage db online_data_migrations
exit 0
fi
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
nova-manage db sync --local_cell
exit 0
fi
if [[ "${!KOLLA_OSM[@]}" ]]; then
nova-manage db online_data_migrations
exit 0
fi