Save files while updating a template.

When updating a template object, any updates to the files must also be
saved in the database. With this change, updates to files of a template
are also saved in database.

Change-Id: Ia5b84780158c47ffe807829ce2fc83f4ffbb6db3
Add user data and config drive properties

Added these missing properties and upgraded the client
library requirements to support them. This upgrade breaks
Swift compatability, but we don't need to override that
client any more anyway, so client registration for
Swift-via-pyrax is also removed.

Change-Id: I8e07092adf58da2a39330789fb170986176f47e3
Closes-Bug: 1336498
Set the default state of a stack to CREATE_IN_PROGRESS

A stacks status is empty when originally entered into the database.
This leads to returning empty status responses back if the engine is
pre-occupied with other tasks.

This patch sets a stack's status to CREATE_IN_PROGRESS by default when
the stack object is created.

The stack object is only ever created during create and preview and is
loaded otherwise from the database in all the other scenarios.

Change-Id: Iab0892896b398530423bbe6c6a623376bf86590e
Closes-Bug: #1365399
Fix outdated comment in KeystoneClientV3.

This patch fixes the outdated class comment for KeystoneClientV3.

Change-Id: I7735dd8b2c672cf9e40d01a6a72fd90f1540352a
Switch heat engine to oslo.i18n

Remove gettextutils from heat engine and import oslo.i18n.

blueprint oslo-i18n

Change-Id: Iadf4cfc0f9a0b94c1f2fa1eb71f807539247b34e
Switch heat resources & db & tests to oslo.i18n

Use oslo.i18n in resources & db & tests directories.

blueprint oslo-i18n

Change-Id: Idaf718b9d762b9ae89d6045557eadb758b552bd5
Implement CFN CancelUpdateStack action

Change-Id: I7a4d9de34448f6f3ad964e36347a80a2f2140251
Implements: blueprint cancel-update-stack
Merge "Set the default state of a stack to CREATE_IN_PROGRESS"
Merge "Implement CFN CancelUpdateStack action"
Resolve AWS::EC2::Instance AZ output to a value if not specified

The availability zone output attribute of the instance resource is
empty if no input is provided by the user for that property.
Instead of relying on solely user input to determine the value for this,
this attribute must be resolved to an appropriate value.

The VolumeTest.test_volume_default_az test case had an unmocked function
which is now mocked here to successfuly test this feature.

Change-Id: Iab2cf1f3da0261c30b755d0b87ebb693644a4a29
Closes-Bug: #1334519
Merge "Add user data and config drive properties"
Merge "Switch heat engine to oslo.i18n"
Fixed adopt failure for stack with resource group

Added support to adopt a resource group and corresponding
unit test.

Change-Id: Icfeff0e30a9c4bd7fa0279e156709e078b81fcab
Closes-bug: #1353942
Updated from global requirements

Change-Id: Iafa34405877d0b8c7e91275a3edee87523c5fc16
Merge "Save files while updating a template."
Merge "Switch heat resources & db & tests to oslo.i18n"
Merge "Updated from global requirements"
Updated from global requirements

Change-Id: I2d0250cbb41d79d0210964f7f99c1c6eeeef1257
Associate floating IP with router interface

This change will create a dependency from a FloatingIP to a RouterInterface in
this template which interfaces with the same subnet that this FloatingIP's
port is assigned to.

It would be preferable to add the dependency based on matching FloatingIP
floating_network_id and Router external_gateway_info network, but there is
a valid use-case for the Router being external to the template, so the
dependency is matched on the internal subnet instead, which is available
from the RouterInterface property.

Change-Id: Iedff00b382b4fcda741ca5c9b4adc23b176ec48c
Closes-Bug: #1299259
Commit transaction on object delete

The postgres gate jobs currently have an intermittent failure
where a deleted resource shows up in the resource list.

This change does a transaction commit on object delete, which
brings delete behaviour in line with soft_delete behaviour
(soft_delete uses update_and_save, which also commits).

Change-Id: I5e1be4c197863fde3149c964f992ad816db88b7e
Closes-Bug: #1370865