Removes unused config settings from heat-engine.conf

Change-Id: Ia660009f18eae9d9c22adc5ab36c18f711856bce
Fixes: bug #1134346
heat engine : Add parser parameter support for AWS::StackId

Adds support for the AWS::StackId pseudo parameter, which will
allow us to to reference the stack ARN in the template, e.g so that
stacks can query their resource metadata via ARN not stack name,
which will solve the problem with nested resource being unable
to query their metadata.

ref bug 1131666

Change-Id: Ib7b1d380fa8766b6d0c968bd66270da8ce8245c4
heat engine : Set stack parameters AWS::StackId on stack create/store

We need to set the ARN provided via the AWS::StackId pseudo parameter
when the stack is stored, and also whenever a parser.Stack object is
created

ref bug 1131666

Change-Id: Ic8dc5ab2b25c85c51f2f685fe69bb2447a1e3615
heat engine : Compare runtime resolved resource snippets on update

We need to compare the runtime resolved resource snippet, since that
is what we get back from self.parsed_template.  If we don't do this,
then we get a false positive when a Ref to a parameter which gets
updated (e.g AWS::StackId) is used in the resource properties.

ref bug 1131666

Change-Id: Ib488c43b9eca998a7a82b7571097f5bb69ef946c
heat engine : Re-resolve resource static data before create

Re-resolve the template static data before creating the resource,
or we resolve the wrong value for the AWS::StackId pseudo parameter
which is updated after the parser.Stack gets stored.

ref bug 1131666

Change-Id: I68e87366d379356fd7f2685367300abe5594d6f6
heat engine : loadbalancer resource template, refer to StackId

Use the new AWS::StackId pseudo parameter to refer to the stack for
cfn-hup etc, otherwise the stack lookup by name will fail - using
the AWS::StackId parameter means we'll refer to the stack via the
full ARN and the CFN API will be able to lookup the nested stack.

ref bug 1131666

Change-Id: Ieac738df766ae1f1039e743d465cd080b2090473
Remove duplicate Mapper() constructor

Change-Id: Ie65fa739dc90515a7170a49c0552b69cdbb7d044
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Depend on recently released python-quantumclient 2.1.2
Fixes bug 1133381

Change-Id: I9e3f1185e77c8f021a523f201d2191389eb253ef
Put heat data files in /var/lib/heat-cfntools

The /var/lib/heat-cfntools directory should be owned by the
heat-cfntools package for whichever distro it is included.

This avoids the problem of heat writing to directories owned
by cloud-init.

For the moment, the part handler will continue to write to
/var/lib/cloud/data to be removed at a later date.

Change-Id: I70b714c70ed146d4f6807850d6e7264c6a4624cd
Fixes: Bug #1105806
Merge "Remove duplicate Mapper() constructor"
Merge "Put heat data files in /var/lib/heat-cfntools"
Merge "heat engine : Add parser parameter support for AWS::StackId"
Merge "heat engine : Set stack parameters AWS::StackId on stack create/store"
Merge "heat engine : Compare runtime resolved resource snippets on update"
Merge "heat engine : Re-resolve resource static data before create"
Merge "heat engine : loadbalancer resource template, refer to StackId"
Merge "Removes unused config settings from heat-engine.conf"
Fix unit tests for Instance IP

Don't try to test the IP addresses after the instance has been deleted.

Ref bug #1091497

Change-Id: I566c26a4707edc9d210bd422dcff8fbbcc2236d5
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Split resource create into create and check_active

Change-Id: Ib8206f204e8805936defaa3431ecdf34b161e724
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Move instance polling into handle_check_active()

Don't poll for the instance status in handle_create(). Allow
Resource.create() to poll the resource using handle_check_active().

Change-Id: I13a8fefcef6594d014e7e5a3131f9342521e367d
Signed-off-by: Zane Bitter <zbitter@redhat.com>