Fix enable-ceph sample environment
authorBen Nemec <bnemec@redhat.com>
Thu, 13 Jul 2017 15:44:16 +0000 (10:44 -0500)
committerEmilien Macchi <emilien@redhat.com>
Wed, 26 Jul 2017 13:36:52 +0000 (13:36 +0000)
The necessary resource registry entries were missing from this env
and the old environment was not deprecated.

Change-Id: I6a9b148514fc5da1f96b9fd7fe09f564c2f82419

environments/puppet-ceph.yaml
environments/storage/enable-ceph.yaml
sample-env-generator/storage.yaml

index 57af540..2b4dfa0 100644 (file)
@@ -1,3 +1,7 @@
+# ****************************************************************************
+# DEPRECATED: Use tripleo-heat-templates/environments/storage/enable-ceph.yaml
+# instead.
+# ****************************************************************************
 resource_registry:
   OS::TripleO::Services::CephMon: ../puppet/services/ceph-mon.yaml
   OS::TripleO::Services::CephOSD: ../puppet/services/ceph-osd.yaml
index c629f74..596ec16 100644 (file)
@@ -33,3 +33,7 @@ parameter_defaults:
   # Type: boolean
   NovaEnableRbdBackend: True
 
+resource_registry:
+  OS::TripleO::Services::CephClient: ../../puppet/services/ceph-client.yaml
+  OS::TripleO::Services::CephMon: ../../puppet/services/ceph-mon.yaml
+  OS::TripleO::Services::CephOSD: ../../puppet/services/ceph-osd.yaml
index aa0385c..dc4fbb1 100644 (file)
@@ -26,6 +26,10 @@ environments:
       NovaEnableRbdBackend: True
       GlanceBackend: rbd
       GnocchiBackend: rbd
+    resource_registry:
+      OS::TripleO::Services::CephMon: ../../puppet/services/ceph-mon.yaml
+      OS::TripleO::Services::CephOSD: ../../puppet/services/ceph-osd.yaml
+      OS::TripleO::Services::CephClient: ../../puppet/services/ceph-client.yaml
     description: |
       Include this environment to enable Ceph as the backend for
       Cinder, Nova, Gnocchi, and Glance.