Deprecate the old mergepy overcloud templates
authorDan Prince <dprince@redhat.com>
Mon, 23 Feb 2015 19:22:12 +0000 (14:22 -0500)
committerDan Prince <dprince@redhat.com>
Tue, 24 Feb 2015 01:50:59 +0000 (20:50 -0500)
This patch moves all the related mergepy templates for the
overcloud into a deprecated directory. The Makefile has
been updated so that overcloud.yaml is still generated
at the top level so this shouldn't break end users.

This is to reduce confusion for new users who are learning the
TripleO heat templates and find the fact that we have two full
implementations very confusing.

Change-Id: I0848aca4dee3e37cb4c6089c5f655ad22ac6c5fd

Makefile
deprecated/block-storage.yaml [moved from block-storage.yaml with 100% similarity]
deprecated/nfs-source.yaml [moved from nfs-source.yaml with 100% similarity]
deprecated/nova-compute-config.yaml [moved from nova-compute-config.yaml with 100% similarity]
deprecated/nova-compute-instance.yaml [moved from nova-compute-instance.yaml with 100% similarity]
deprecated/overcloud-source.yaml [moved from overcloud-source.yaml with 99% similarity]
deprecated/overcloud-vlan-port.yaml [moved from overcloud-vlan-port.yaml with 100% similarity]
deprecated/ssl-source.yaml [moved from ssl-source.yaml with 100% similarity]
deprecated/swift-deploy.yaml [moved from swift-deploy.yaml with 100% similarity]
deprecated/swift-source.yaml [moved from swift-source.yaml with 100% similarity]
deprecated/swift-storage-source.yaml [moved from swift-storage-source.yaml with 100% similarity]

index dd7e5fb..6ead708 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ generated_templates =                         \
         undercloud-vm-ironic.yaml             \
         undercloud-vm-ironic-vlan.yaml
 
-# Files included in overcloud-source.yaml via FileInclude
-overcloud_source_deps = nova-compute-instance.yaml
+# Files included in deprecated/overcloud-source.yaml via FileInclude
+overcloud_source_deps = deprecated/nova-compute-instance.yaml
 
 all: $(generated_templates)
 VALIDATE := $(patsubst %,validate-%,$(generated_templates))
@@ -18,8 +18,8 @@ $(VALIDATE):
 # You can define in CONTROLEXTRA one or more additional YAML files to further extend the template, some additions could be:
 # - overcloud-vlan-port.yaml to activate the VLAN auto-assignment from Neutron
 # - nfs-source.yaml to configure Cinder with NFS
-overcloud.yaml: overcloud-source.yaml block-storage.yaml swift-deploy.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml nova-compute-config.yaml $(overcloud_source_deps)
-       python ./tripleo_heat_merge/merge.py --hot --scale NovaCompute=$${COMPUTESCALE:-'1'} --scale controller=$${CONTROLSCALE:-'1'} --scale SwiftStorage=$${SWIFTSTORAGESCALE:-'0'} --scale BlockStorage=$${BLOCKSTORAGESCALE:-'0'} --scale CephStorage=$${CEPHSTORAGESCALE:-'0'} overcloud-source.yaml block-storage.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml swift-deploy.yaml nova-compute-config.yaml ${CONTROLEXTRA} > $@.tmp
+overcloud.yaml: deprecated/overcloud-source.yaml deprecated/block-storage.yaml deprecated/swift-deploy.yaml deprecated/swift-source.yaml deprecated/swift-storage-source.yaml deprecated/ssl-source.yaml deprecated/nova-compute-config.yaml $(overcloud_source_deps)
+       python ./tripleo_heat_merge/merge.py --hot --scale NovaCompute=$${COMPUTESCALE:-'1'} --scale controller=$${CONTROLSCALE:-'1'} --scale SwiftStorage=$${SWIFTSTORAGESCALE:-'0'} --scale BlockStorage=$${BLOCKSTORAGESCALE:-'0'} --scale CephStorage=$${CEPHSTORAGESCALE:-'0'} deprecated/overcloud-source.yaml deprecated/block-storage.yaml deprecated/swift-source.yaml deprecated/swift-storage-source.yaml deprecated/ssl-source.yaml deprecated/swift-deploy.yaml deprecated/nova-compute-config.yaml ${CONTROLEXTRA} > $@.tmp
        mv $@.tmp $@
 
 undercloud-vm.yaml: undercloud-source.yaml undercloud-vm-nova-config.yaml undercloud-vm-nova-deploy.yaml
similarity index 100%
rename from nfs-source.yaml
rename to deprecated/nfs-source.yaml
similarity index 99%
rename from overcloud-source.yaml
rename to deprecated/overcloud-source.yaml
index f73206d..91b6b7f 100644 (file)
@@ -1,5 +1,4 @@
-description: Nova API,Keystone,Heat Engine and API,Glance,Neutron,Dedicated MySQL
-  server,Dedicated RabbitMQ Server,Group of Nova Computes
+description: Deprecated. Please migrate to use overcloud-without-mergepy instead.
 heat_template_version: 2013-05-23
 parameters:
   AdminPassword:
@@ -416,7 +415,7 @@ resources:
         get_param: RabbitCookieSalt
   NovaCompute0Deployment:
     type: FileInclude
-    Path: nova-compute-instance.yaml
+    Path: deprecated/nova-compute-instance.yaml
     SubKey: resources.NovaCompute0Deployment
     parameters:
         DefaultSignalTransport:
@@ -456,23 +455,23 @@ resources:
             get_param: NeutronL3HA
   NovaCompute0AllNodesDeployment:
     type: FileInclude
-    Path: nova-compute-instance.yaml
+    Path: deprecated/nova-compute-instance.yaml
     SubKey: resources.NovaCompute0AllNodesDeployment
     parameters:
         AllNodesConfig: {get_resource: allNodesConfig}
   NovaCompute0:
     type: FileInclude
-    Path: nova-compute-instance.yaml
+    Path: deprecated/nova-compute-instance.yaml
     SubKey: resources.NovaCompute0
   NovaCompute0Passthrough:
     type: FileInclude
-    Path: nova-compute-instance.yaml
+    Path: deprecated/nova-compute-instance.yaml
     SubKey: resources.NovaCompute0Passthrough
     parameters:
         passthrough_config: {get_param: ExtraConfig}
   NovaCompute0PassthroughSpecific:
     type: FileInclude
-    Path: nova-compute-instance.yaml
+    Path: deprecated/nova-compute-instance.yaml
     SubKey: resources.NovaCompute0PassthroughSpecific
     parameters:
         passthrough_config_specific: {get_param: NovaComputeExtraConfig}
similarity index 100%
rename from ssl-source.yaml
rename to deprecated/ssl-source.yaml