Use --subproject instead of deprecated --service option

The --service option to neutron-db-manage is deprecated and will be
removed soon. Use --subproject instead.

Related-Bug: #1501380

Change-Id: I2f64634d6f01c06a071abf064caf11a134800d04
This commit is contained in:
Henry Gessau 2016-05-30 10:50:50 -04:00 committed by Henry Gessau
parent 330541fe6c
commit 95c7d83ea7

View File

@ -3,6 +3,6 @@
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases # Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty. # of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
neutron-db-manage --service lbaas --config-file /etc/neutron/neutron.conf upgrade head neutron-db-manage --subproject neutron-lbaas --config-file /etc/neutron/neutron.conf upgrade head
exit 0 exit 0
fi fi