Update ci environment for multinode jobs to support Ceph
authorGiulio Fidente <gfidente@redhat.com>
Thu, 16 Feb 2017 15:51:01 +0000 (16:51 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 16 Feb 2017 15:51:01 +0000 (16:51 +0100)
Adds the CephMon and CephOSD services on the Controller role so
that we can test Ceph if the services are enabled via registry.

Change-Id: I73ee5380b88bf7643ba425a0c833922e330ecade

ci/environments/multinode.yaml

index 212f6a2..4fba0ed 100644 (file)
@@ -4,6 +4,8 @@ resource_registry:
 
 parameter_defaults:
   ControllerServices:
+    - OS::TripleO::Services::CephMon
+    - OS::TripleO::Services::CephOSD
     - OS::TripleO::Services::CinderApi
     - OS::TripleO::Services::CinderScheduler
     - OS::TripleO::Services::CinderVolume
@@ -44,5 +46,9 @@ parameter_defaults:
     nova::compute::libvirt::libvirt_virt_type: qemu
     # Required for Centos 7.3 and Qemu 2.6.0
     nova::compute::libvirt::libvirt_cpu_mode: 'none'
+    #NOTE(gfidente): not great but we need this to deploy on ext4
+    #http://docs.ceph.com/docs/jewel/rados/configuration/filesystem-recommendations/
+    ceph::profile::params::osd_max_object_name_len: 256
+    ceph::profile::params::osd_max_object_namespace_len: 64
   SwiftCeilometerPipelineEnabled: False
   Debug: True