Update DB migration command for Queens

Per the Neutron install docs[0], the migration commands are slightly
different.

[0] https://docs.openstack.org/neutron/queens/install/controller-install-ubuntu.html

Change-Id: Ic4724b9cfb718680effc062cabb624768008f98d
This commit is contained in:
Samuel Cassiba 2018-03-25 22:28:11 -07:00
parent 526ea82f5e
commit 9371f35e29
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ bash 'migrate network database' do
timeout timeout
migrate_command = 'neutron-db-manage --config-file /etc/neutron/neutron.conf'
code <<-EOF
#{migrate_command} upgrade heads
#{migrate_command} upgrade head
EOF
end
@ -35,7 +35,7 @@ bash 'migrate vpnaas database' do
timeout timeout
migrate_command = "neutron-db-manage --subproject neutron-vpnaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
code <<-EOF
#{migrate_command} upgrade heads
#{migrate_command} upgrade head
EOF
end
@ -45,7 +45,7 @@ bash 'migrate fwaas database' do
timeout timeout
migrate_command = "neutron-db-manage --subproject neutron-fwaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
code <<-EOF
#{migrate_command} upgrade heads
#{migrate_command} upgrade head
EOF
end
@ -55,6 +55,6 @@ bash 'migrate lbaas database' do
timeout timeout
migrate_command = "neutron-db-manage --subproject neutron-lbaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
code <<-EOF
#{migrate_command} upgrade heads
#{migrate_command} upgrade head
EOF
end