Neutron: Perform full db migrations when TaaS enabled

This PS fixes the neutron db sync job to perform full db migrations
in addaion to tap-as-a-service when enabled.

Change-Id: Ieab54649344fb8737e2d8855f00a9ed574ace5ee
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-12-15 18:42:46 -06:00
parent fbe95c1a6e
commit c90df9d6d5

View File

@ -21,7 +21,12 @@ set -ex
neutron-db-manage \
--config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini \
{{- if .Values.conf.plugins.taas.taas.enabled }}
--subproject tap-as-a-service \
{{- end }}
upgrade head
{{- if .Values.conf.plugins.taas.taas.enabled }}
neutron-db-manage \
--config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini \
--subproject tap-as-a-service \
upgrade head
{{- end }}