scenario001: deploy Gnocchi with RBD backend
After Glance, Nova, Cinder, now we want to deploy Gnocchi with Ceph backend instead of file. Change-Id: I1f8c83da9d3dfcee597cec7643ebc0e09ecea30d
This commit is contained in:
parent
478f8208ad
commit
9d25445194
@ -40,7 +40,7 @@ scenario](#All-In-One).
|
||||
| cinder | rbd | iscsi | iscsi |
|
||||
| ceilometer | X | | |
|
||||
| aodh | X | | |
|
||||
| gnocchi | X | | |
|
||||
| gnocchi | rbd | | |
|
||||
| heat | | X | |
|
||||
| swift | | X | |
|
||||
| sahara | | X | |
|
||||
|
@ -25,7 +25,7 @@ class openstack_integration::ceph {
|
||||
'secret' => 'AQD7kyJQQGoOBhAAqrPAqSopSwPrrfMMomzVdw==',
|
||||
'mode' => '0644',
|
||||
'cap_mon' => 'allow r',
|
||||
'cap_osd' => 'allow class-read object_prefix rbd_children, allow rwx pool=cinder, allow rwx pool=nova, allow rwx pool=glance',
|
||||
'cap_osd' => 'allow class-read object_prefix rbd_children, allow rwx pool=cinder, allow rwx pool=nova, allow rwx pool=glance, allow rwx pool=gnocchi',
|
||||
},
|
||||
},
|
||||
osds => {
|
||||
@ -33,7 +33,7 @@ class openstack_integration::ceph {
|
||||
},
|
||||
}
|
||||
|
||||
$ceph_pools = ['glance', 'nova', 'cinder']
|
||||
$ceph_pools = ['glance', 'nova', 'cinder', 'gnocchi']
|
||||
ceph::pool { $ceph_pools: }
|
||||
|
||||
class { '::ceph::profile::mon': }
|
||||
|
@ -29,7 +29,12 @@ class openstack_integration::gnocchi {
|
||||
class { '::gnocchi::db::sync': }
|
||||
class { '::gnocchi::metricd': }
|
||||
class { '::gnocchi::storage': }
|
||||
class { '::gnocchi::storage::file': }
|
||||
class { '::gnocchi::storage::ceph':
|
||||
ceph_username => 'openstack',
|
||||
ceph_keyring => '/etc/ceph/ceph.client.openstack.keyring',
|
||||
}
|
||||
# make sure ceph pool exists before running gnocchi (dbsync & services)
|
||||
Exec['create-gnocchi'] -> Exec['gnocchi-db-sync']
|
||||
class { '::gnocchi::statsd':
|
||||
archive_policy_name => 'high',
|
||||
flush_delay => '100',
|
||||
|
Loading…
Reference in New Issue
Block a user