Browse Source

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
Samuel Cassiba 1 year ago
parent
commit
9371f35e29
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      recipes/db_migration.rb

+ 4
- 4
recipes/db_migration.rb View File

@@ -25,7 +25,7 @@ bash 'migrate network database' do
25 25
   timeout timeout
26 26
   migrate_command = 'neutron-db-manage --config-file /etc/neutron/neutron.conf'
27 27
   code <<-EOF
28
-#{migrate_command} upgrade heads
28
+#{migrate_command} upgrade head
29 29
 EOF
30 30
 end
31 31
 
@@ -35,7 +35,7 @@ bash 'migrate vpnaas database' do
35 35
   timeout timeout
36 36
   migrate_command = "neutron-db-manage --subproject neutron-vpnaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
37 37
   code <<-EOF
38
-#{migrate_command} upgrade heads
38
+#{migrate_command} upgrade head
39 39
 EOF
40 40
 end
41 41
 
@@ -45,7 +45,7 @@ bash 'migrate fwaas database' do
45 45
   timeout timeout
46 46
   migrate_command = "neutron-db-manage --subproject neutron-fwaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
47 47
   code <<-EOF
48
-#{migrate_command} upgrade heads
48
+#{migrate_command} upgrade head
49 49
 EOF
50 50
 end
51 51
 
@@ -55,6 +55,6 @@ bash 'migrate lbaas database' do
55 55
   timeout timeout
56 56
   migrate_command = "neutron-db-manage --subproject neutron-lbaas --config-file /etc/neutron/neutron.conf --config-file #{plugin_config_file}"
57 57
   code <<-EOF
58
-#{migrate_command} upgrade heads
58
+#{migrate_command} upgrade head
59 59
 EOF
60 60
 end

Loading…
Cancel
Save