Service depends on nova-db-sync
According to the multi-node install insturctions, the services should be started/restarted after the management objects are created and database is restarted.
This commit is contained in:
parent
39ee6ca780
commit
b97237db88
@ -1,6 +1,7 @@
|
||||
class nova::api($enabled=false) {
|
||||
|
||||
Exec['post-nova_config'] ~> Service['nova-api']
|
||||
Exec['nova-db-sync'] ~> Service['nova-api']
|
||||
|
||||
if $enabled {
|
||||
$service_ensure = 'running'
|
||||
|
@ -9,6 +9,7 @@ class nova::compute(
|
||||
) {
|
||||
|
||||
Exec['post-nova_config'] ~> Service['nova-compute']
|
||||
Exec['nova-db-sync'] ~> Service['nova-compute']
|
||||
|
||||
nova_config { 'libvirt_type': value => $libvirt_type }
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
class nova::network( $enabled=false ) {
|
||||
|
||||
Exec['post-nova_config'] ~> Service['nova-network']
|
||||
Exec['nova-db-sync'] ~> Service['nova-network']
|
||||
|
||||
if $enabled {
|
||||
$service_ensure = 'running'
|
||||
|
@ -1,6 +1,7 @@
|
||||
class nova::objectstore( $enabled=false ) {
|
||||
|
||||
Exec['post-nova_config'] ~> Service['nova-objectstore']
|
||||
Exec['nova-db-sync'] ~> Service['nova-objectstore']
|
||||
|
||||
if $enabled {
|
||||
$service_ensure = 'running'
|
||||
|
@ -1,6 +1,7 @@
|
||||
class nova::scheduler( $enabled ) {
|
||||
|
||||
Exec['post-nova_config'] ~> Service['nova-scheduler']
|
||||
Exec['nova-db-sync'] -> Service['nova-scheduler']
|
||||
|
||||
if $enabled {
|
||||
$service_ensure = 'running'
|
||||
|
Loading…
Reference in New Issue
Block a user