Nova now requires an api database to be created

This enables the creation of the nova_api database that is now
mandatory since https://review.openstack.org/#/c/245828/

Related-Bug: #1539793
Change-Id: I65b840f1245579dd84623aa87018f0f22baba210
This commit is contained in:
David Moreau Simard 2016-02-05 10:05:05 -05:00
parent 9c942a604e
commit f954c0070c

@ -17,19 +17,23 @@ class openstack_integration::nova {
class { '::nova::db::mysql': class { '::nova::db::mysql':
password => 'nova', password => 'nova',
} }
class { '::nova::db::mysql_api':
password => 'nova',
}
class { '::nova::keystone::auth': class { '::nova::keystone::auth':
password => 'a_big_secret', password => 'a_big_secret',
} }
class { '::nova': class { '::nova':
database_connection => 'mysql+pymysql://nova:nova@127.0.0.1/nova?charset=utf8', database_connection => 'mysql+pymysql://nova:nova@127.0.0.1/nova?charset=utf8',
rabbit_host => '127.0.0.1', api_database_connection => 'mysql+pymysql://nova_api:nova@127.0.0.1/nova_api?charset=utf8',
rabbit_userid => 'nova', rabbit_host => '127.0.0.1',
rabbit_password => 'an_even_bigger_secret', rabbit_userid => 'nova',
glance_api_servers => 'localhost:9292', rabbit_password => 'an_even_bigger_secret',
verbose => true, glance_api_servers => 'localhost:9292',
debug => true, verbose => true,
notification_driver => 'messagingv2', debug => true,
notify_on_state_change => 'vm_and_task_state', notification_driver => 'messagingv2',
notify_on_state_change => 'vm_and_task_state',
} }
class { '::nova::api': class { '::nova::api':
admin_password => 'a_big_secret', admin_password => 'a_big_secret',
@ -39,6 +43,7 @@ class openstack_integration::nova {
osapi_compute_workers => 2, osapi_compute_workers => 2,
metadata_workers => 2, metadata_workers => 2,
default_floating_pool => 'public', default_floating_pool => 'public',
sync_db_api => true,
} }
class { '::nova::cert': } class { '::nova::cert': }
class { '::nova::client': } class { '::nova::client': }