Do not migrate the database on db_joined(). Allow nova-c-c to do this.

This commit is contained in:
Adam Gandelman 2012-10-11 13:12:13 -07:00
parent 48386bfcc5
commit ee4f0bcf07
2 changed files with 2 additions and 4 deletions

View File

@ -96,9 +96,7 @@ function db_changed {
juju-log "$CHARM - db_changed: Configuring nova.conf for access to $nova_db"
set_or_update sql_connection "mysql://$db_user:$db_password@$db_host/$nova_db"
service_ctl all stop
/usr/bin/nova-manage db sync
service_ctl all start
service_ctl all restart
}
function nova-network_changed {

View File

@ -1 +1 @@
64
65