Add ceph-mgr to Ubuntu Xenial jobs

The Pike release of OpenStack now comes bundled with Ceph 12.x
which requires ceph-mgr in order to run properly.  This patch
installs it.

The ceph-mgr service is not available in 10.x which is what
CentOS ships, we can drop the conditional once CentOS ships
the latest stable Ceph release.

Change-Id: I9b9c63c835770f7632051ac114f8bf6b19e8e210
This commit is contained in:
Mohammed Naser 2017-09-02 12:36:33 -04:00 committed by Emilien Macchi
parent 8623a7d2ae
commit 2fa8fb84e1

@ -33,6 +33,7 @@ class openstack_integration::ceph (
osd_pool_default_size => '1',
osd_pool_default_min_size => '1',
mon_key => 'AQD7kyJQQGoOBhAAqrPAqSopSwPrrfMMomzVdw==',
mgr_key => 'AQD7kyJQQGoOBhAAqrPAqSopSwPrrfMMomzVdw==',
osd_max_object_name_len => 256,
osd_max_object_namespace_len => 64,
client_keys => {
@ -69,6 +70,13 @@ class openstack_integration::ceph (
$ceph_pools = ['glance', 'nova', 'cinder', 'gnocchi']
ceph::pool { $ceph_pools: }
# NOTE(mnaser): At the moment, the storage SIG packages do not ship 12.X
# however UCA is shipping it at the moment. This conditional
# should be dropped once we switch CentOS to 12.X
if $::osfamily != 'RedHat' {
class { '::ceph::profile::mgr': }
}
class { '::ceph::profile::mon': }
class { '::ceph::profile::osd': }