Compute and controller templates without merge.py
authorTomas Sedovic <tsedovic@redhat.com>
Wed, 6 Aug 2014 11:24:10 +0000 (13:24 +0200)
committerTomas Sedovic <tsedovic@redhat.com>
Mon, 20 Oct 2014 12:12:41 +0000 (14:12 +0200)
commitbcdcc28cb6905be257b50a962822bdbecaef0b0e
tree751ad1b115a7e0cdff32799408558fb95206f4fc
parent7b48754b98ca1890aa7608d19425913a7c79f5ca
Compute and controller templates without merge.py

This provides three templates: overcloud-without-mergepy.yaml,
compute.yaml and controller.yaml. These can be used in combination with
overcloud-resource-registry.yaml to deploy the overcloud on their own --
without having to do any pre-processing (via merge.py).

To test these you have to add the resource registry environment (in
addition to the existing `-e` option) and use the new overcloud template
in the Heat call in devtest_overcloud.sh (line 374):

    heat $HEAT_OP -e $TRIPLEO_ROOT/overcloud-env.json \
        -e "$TRIPLEO_ROOT/tripleo-heat-templates/overcloud-resource-registry.yaml" \
        -t 360 \
        -f $TRIPLEO_ROOT/tripleo-heat-templates/overcloud-without-mergepy.yaml \
        -P "ExtraConfig=${OVERCLOUD_EXTRA_CONFIG}" \
        $STACKNAME

The existing overcloud Heat environment
($TRIPLE_ROOT/overcloud-env.json) should keep on working.  Scaling is
now being controlled by the `ControllerCount` and `ComputeCount`
template parameters, though.

NOTE: the changes here depend on a fairly recent Heat build (commit
e5f285f6cb from ~7th September, 2014). In other words, this requires
Juno Heat.

Also, passing more than one environment file to Heat requires
python-heatclient version 0.2.11.

Change-Id: I687a00c7dc164ba044f9f2dfca96a02401427855
compute.yaml [new file with mode: 0644]
controller.yaml
overcloud-resource-registry.yaml [new file with mode: 0644]
overcloud-without-mergepy.yaml [new file with mode: 0644]