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:
parent
9c942a604e
commit
f954c0070c
@ -17,11 +17,15 @@ 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',
|
||||||
|
api_database_connection => 'mysql+pymysql://nova_api:nova@127.0.0.1/nova_api?charset=utf8',
|
||||||
rabbit_host => '127.0.0.1',
|
rabbit_host => '127.0.0.1',
|
||||||
rabbit_userid => 'nova',
|
rabbit_userid => 'nova',
|
||||||
rabbit_password => 'an_even_bigger_secret',
|
rabbit_password => 'an_even_bigger_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': }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user