diff --git a/neutron/templates/bin/_db-sync.sh.tpl b/neutron/templates/bin/_db-sync.sh.tpl index f8704c0730..16c41893f5 100644 --- a/neutron/templates/bin/_db-sync.sh.tpl +++ b/neutron/templates/bin/_db-sync.sh.tpl @@ -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 }}