Run DB sync in nova-api element post configure.

We want to DB sync on each deploy.

Change-Id: I02b062499d7230aea3bdd3e97c979b03c160125d
This commit is contained in:
Dan Prince 2013-11-16 08:32:26 -05:00
parent ac0d6607ec
commit 5779a7c797
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ chown -R nova:nova /var/run/openstack
mkdir -p /var/run/nova
chown -R nova:nova /var/run/nova
/opt/stack/venvs/nova/bin/nova-manage db sync
service nova-conductor restart
service nova-api restart
service nova-cert restart