M/N upgrade fail to restart nova-scheduler.
authorSofer Athlan-Guyot <chem@sathlan.org>
Fri, 19 Aug 2016 16:34:15 +0000 (18:34 +0200)
committerSofer Athlan-Guyot <chem@sathlan.org>
Wed, 24 Aug 2016 13:13:11 +0000 (15:13 +0200)
The nova api db need to be synchronized as well.

Change-Id: I2628b24ff1153c84cbf388455666ae42570cb10f
Closes-Bug: 1615042

extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh

index 643ae57..bc708cc 100755 (executable)
@@ -53,6 +53,7 @@ if [ "$(hiera -c /etc/puppet/hiera.yaml bootstrap_nodeid)" = "$(facter hostname)
     keystone-manage db_sync
     neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head
     nova-manage db sync
+    nova-manage api_db sync
 
     pcs resource enable memcached
     check_resource memcached started 600