[neutron] Do not migrate all subprojects

Instead of migrating all Neutron subprojects at bootstrap time, target
specifically the neutron, neutron-fwaas, and neutron-vpnaas subprojects
speficially. If a subproject is not specified, all subprojects are
migrated, which is not the intended behavior.

Change-Id: Icb8d572b7f084804e0423a8a3171dd66646b3885
This commit is contained in:
Jason 2019-04-30 11:44:53 -05:00 committed by Jason Anderson
parent f53fcc7e5b
commit f36d7aacf2
No known key found for this signature in database
GPG Key ID: 9207452BF63947DD

View File

@ -4,7 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
OPTS="--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini"
neutron-db-manage ${OPTS} upgrade head
neutron-db-manage ${OPTS} --subproject neutron upgrade head
neutron-db-manage ${OPTS} --subproject neutron-fwaas upgrade head
neutron-db-manage ${OPTS} --subproject neutron-vpnaas upgrade head
exit 0