Avoid using internal exec resources for dependencies
... so that we can refactor resources in ceph::pool.
Change-Id: I98c66422b92a5a1b64ab90f646713f60b175645e
(cherry picked from commit 9e4cd7852e)
This commit is contained in:
4 changed files with 5 additions and 5 deletions
@@ -162,7 +162,7 @@ class openstack_integration::cinder (
manage_volume_type => true,
}
#makesurecephpoolexistsbeforerunningCinderVolume
Exec['create-cinder']->Service['cinder-volume']
Ceph::Pool['cinder']->Service['cinder-volume']
}
default:{
fail("Unsupported backend (${backend})")
@@ -191,7 +191,7 @@ class openstack_integration::cinder (
backup_ceph_user => 'openstack',
}
#makesurecephpoolexistsbeforerunningCinderBackup
Exec['create-backups']->Service['cinder-backup']
Ceph::Pool['backups']->Service['cinder-backup']
}
default:{}
}
@@ -70,7 +70,7 @@ class openstack_integration::glance (
rbd_store_pool => 'glance',
}
#makesurecephpoolexistsbeforerunningGlanceAPI
Exec['create-glance']->Service['glance-api']
Ceph::Pool['glance']->Service['glance-api']
$default_backend='rbd1'
}
'swift':{
@@ -108,7 +108,7 @@ class openstack_integration::gnocchi (
manage_rados => true,
}
#makesurecephpoolexistsbeforerunninggnocchi(dbsync&services)
Exec['create-gnocchi']->Exec['gnocchi-db-sync']
Ceph::Pool['gnocchi']->Anchor['gnocchi::dbsync::begin']
}
'swift':{
class { 'gnocchi::storage::swift':
@@ -265,7 +265,7 @@ class openstack_integration::nova (
manage_ceph_client => false,
}
#makesurecephpoolexistsbeforerunningnova-compute
Exec['create-nova']->Service['nova-compute']
Ceph::Pool['nova']->Service['nova-compute']
}else{
include openstacklib::iscsid
Service['iscsid'] -> Service['nova-compute']
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.