Change access to ceilometerclient

This patch use ceilometerclient more common way: it creates versioned
ceilometerclient instead of importing it directly

blueprint common-client-library-2

Change-Id: Id1d3fd88ff8d1da332f85340377c6d756d5c749c
Add preview for LoadBalancer

Override ``child_template`` and ``child_params``, since LoadBalancer is
really a StackResource.

Implements: blueprint preview-stack (partial)
Change-Id: Ie31cd1059fe95c2bdca5d6afed566b7e00d8002d
Implement glance image constraint

This adds a new constraint validation glance images.

blueprint glance-parameter-constraint
Co-Authored-By: cedric.soulas@cloudwatt.com

Change-Id: I0c085c3c7a848bbcb5c72c42fbf91aa5f3ec80ab
add OS::Heat::AutoScalingGroup

Adds a new resource for scaling arbitrary resources. Similar
to the way ResourceGroup works, but mixed with AutoScalingGroup.

Rolling updates will be supported in a forthcoming patch.

Change-Id: I4212de46bb15f91e35088724970510cb0594d303
Implements: partial blueprint as-intermediate-resources
Adding "device_owner" property for Port resource

Adding "device_owner" property on OS::Neutron::Port resource.

Change-Id: I895f240c90ae33f220843c7966e8f9e407b0c538
Remove unused output section from test template

Change-Id: I3c25fd9e787aa9447e3b61415b9a5befa7262a5b
Replace '+' with string interpolation operation

Replace string concatenation of translated messages with string
interpolation operation, since the gettextutils.Message object
doesn't support the '+' operation, which will cause problem when
lazy translation is enalbed.

Change-Id: I2c8a271ef766ab0da81b1c320870bbc429f6207e
Add validation of nested property schema

Existing property schema can find Unknown proprties during validation
process only for not nested properties. This patch adds validation
for nested properties.

Closes-bug: #1283243
Change-Id: Ie3942fee5be82adbffa4919496c70590bb4e2a6c
Check that 'heat_template_version' is a HOT version

Previously, any value could be specified as the 'heat_template_version'.
Check that 'heat_template_version' is a valid HOT version and raise a
ValueError if it is not.

Change-Id: I7f9a7acd52cf6273a4730091c08b8cd1a5e07961
Closes-Bug: #1277215
Remove redundant FnGetAtt from User resource

The resource implementation overrides the base-class implementation,
which does exactly the same thing, so remove.

Change-Id: I8844bb923a9512547b9d37e704d8e8b114bc3512
Convert AccessKey resource to attributes_schema

Update the AccessKey resource so it uses the attributes schema
interface, which will enable attributes docs to be generated.

Change-Id: Ide86840f3d11f05811168f71103aa3281315b964
Closes-Bug: #1263743
Docs: use pydoc to read docstrings

This ensures that the extra whitespace is removed appropriately.

Change-Id: I0d6a6c1164c86875cd139516e592442f67eaf437
Raise NotFound in software_config_get/software_deployment_get

This change results in the required behaviour of show_software_config
and show_software_deployment which will now also raising NotFound if
no entity with the ID was found.

partial blueprint hot-software-config-rest

Change-Id: I297a4a2a0592f1b60fe9bef0e097abe73cf57d75
Merge "Docs: use pydoc to read docstrings"
Merge "Remove redundant FnGetAtt from User resource"
Fix typo and remove unused code in nova_utils.py

Mulitple -> Multiple
Remove unused code 'image_id = None'

Change-Id: I1d0cc5c2bd592b066127e07c595cc606a916b4aa
RPC method to fetch deployments metadata

This method returns a list of software configs which are currently
deployed to a given server. Each config has the deployment input values
and current action inserted into it. This means that each config is
ephemeral and derived from the canonical config specified in the deployment
resource. The list of configs is sorted by config name. This allows the
template to control what order the configs are returned by setting the
'name' attribute of each deployment resource.

Having a separate RPC (and REST) method for deployment metadata also means
that servers will eventually be able to poll for deployment metadata directly,
avoiding the need to parse the stack for every poll.

partial blueprint hot-software-config-rest

Change-Id: I374f1e15d5255a3ad1264859fd845265cc60f218
REST deployment metadata method

A GET on the path /software_deployments/metadata/<server_id>
will return a list of software configs which should be deployed
to that server.

See the previous commit for the justification for this method.

In the future servers will be able to poll for this directly so
the policy.json does not have the deny_stack_user rule. Now that
this method exists software_deployments:index can now enforce
deny_stack_user.

partial blueprint hot-software-config-rest

Change-Id: I514677850cfb742bec85a5db75c71e6b2c7c9ea2
SignalResponder move signed URL deleting to its own method

Subclasses may not be handling this in their handle_delete
methods

Change-Id: I3dbb89e0a86690617613b25c9533bbf52d1da8a9
Change Stack timestamps to save correct info

Stack.updated_time is currently being treated as modification time of
the object in the database.  Since it's not a very useful thing to have
and the CFN API treats this value as "the last time an update call was
issued", it makes sense to have the same behavior here as well.

This changes the current real-time retrieval of created_time and
updated_time in favor of the attributes already present in the stack and
changes the information stored in these two fields to be the time the
stack was created and the time the stack was last updated by the user,
respectively.

Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com>
Closes-Bug: #1193269
Change-Id: I1fd6586b827b3f2babb5af5c85f9de25da74fbb6