]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
11 years agoMerge "Add auto code api doc generation"
Jenkins [Thu, 29 Aug 2013 01:45:20 +0000 (01:45 +0000)]
Merge "Add auto code api doc generation"

11 years agoMerge "Generate docs using new properties Schema class"
Jenkins [Thu, 29 Aug 2013 01:45:18 +0000 (01:45 +0000)]
Merge "Generate docs using new properties Schema class"

11 years agoMerge "Implement native nova server resource"
Jenkins [Thu, 29 Aug 2013 01:45:17 +0000 (01:45 +0000)]
Merge "Implement native nova server resource"

11 years agoMerge "Add the missing heat.po files into heat"
Jenkins [Thu, 29 Aug 2013 01:44:58 +0000 (01:44 +0000)]
Merge "Add the missing heat.po files into heat"

11 years agoMerge "Give Property constraints a string representation"
Jenkins [Wed, 28 Aug 2013 23:09:25 +0000 (23:09 +0000)]
Merge "Give Property constraints a string representation"

11 years agoImplement native nova server resource
Steve Baker [Sun, 18 Aug 2013 23:12:59 +0000 (11:12 +1200)]
Implement native nova server resource

Some notes on the implementation:
- extends Resource rather than Instance since most of the
  complexity of Instance is in the handling of the Volumes
  attribute
- exposed properties and attributes map as closely as possible
  to the underlying v1 nova API (rather than the nova client library)
- property or attribute key namespaces have been stripped to provide
  a cleaner API and avoid YAML quoting.
  (eg instance_name -> 'OS-EXT-SRV-ATTR:instance_name')
- an assumption is currently made that any volumes specified
  in block_device_mapping should not be detached on suspend
- Network address properties attempt to cater for simple and
  advanced use-cases:
  - 'first_private_address' and 'first_public_address' for simple
    template attribute scenarios, and to aid with AWS::EC2::Instance
    transition
  - 'networks' for a simple data structure which provides all addresses
  - 'addresses' for the raw data structure returned by the API

Implements blueprint native-nova-instance
Change-Id: I4136da22961c8aa90e3fc8a9411457622f1909fb

11 years agoMerge "Remove aws_creds from DB API"
Jenkins [Wed, 28 Aug 2013 20:55:15 +0000 (20:55 +0000)]
Merge "Remove aws_creds from DB API"

11 years agoMerge "Provide user control for maximum nesting depth"
Jenkins [Wed, 28 Aug 2013 20:29:44 +0000 (20:29 +0000)]
Merge "Provide user control for maximum nesting depth"

11 years agoMerge "Change localhost references in test_nested_stack"
Jenkins [Wed, 28 Aug 2013 20:29:36 +0000 (20:29 +0000)]
Merge "Change localhost references in test_nested_stack"

11 years agoGenerate docs using new properties Schema class
Zane Bitter [Wed, 28 Aug 2013 16:35:39 +0000 (18:35 +0200)]
Generate docs using new properties Schema class

Change-Id: Ic7849a7aaeeb88379695557f7992330f83638c48

11 years agoGive Property constraints a string representation
Zane Bitter [Wed, 28 Aug 2013 16:35:39 +0000 (18:35 +0200)]
Give Property constraints a string representation

This will enable constraints to describe themselves when we generate
documentation.

Change-Id: Iba410f11c79d1e5d677a5d8aba90052d1c88528a

11 years agoMerge "TemplateResources need to download from local "file://" urls"
Jenkins [Wed, 28 Aug 2013 14:46:32 +0000 (14:46 +0000)]
Merge "TemplateResources need to download from local "file://" urls"

11 years agoMerge "Add support for local file urls"
Jenkins [Wed, 28 Aug 2013 14:45:00 +0000 (14:45 +0000)]
Merge "Add support for local file urls"

11 years agoMerge "Add the api config opts in groups to deal with the single heat.conf"
Jenkins [Wed, 28 Aug 2013 14:18:15 +0000 (14:18 +0000)]
Merge "Add the api config opts in groups to deal with the single heat.conf"

11 years agoRemove aws_creds from DB API
Steven Hardy [Wed, 28 Aug 2013 10:09:15 +0000 (11:09 +0100)]
Remove aws_creds from DB API

aws_creds has been removed from the DB and the model, needs
removing from the API too

bug #1215850

Change-Id: I008acc13576c857d9e6238f186424e43dcdd7850

11 years agoMerge "Make logical_resource_id renaming backward compatible"
Jenkins [Wed, 28 Aug 2013 08:40:02 +0000 (08:40 +0000)]
Merge "Make logical_resource_id renaming backward compatible"

11 years agoTemplateResources need to download from local "file://" urls
Angus Salkeld [Mon, 26 Aug 2013 23:12:21 +0000 (09:12 +1000)]
TemplateResources need to download from local "file://" urls

This is ONLY when the template is from the global environment
(not user provided).

Change-Id: Id554b098fdeaaf04e7bb1a8e2e80abe6d484ae9c

11 years agoAdd support for local file urls
Angus Salkeld [Mon, 26 Aug 2013 04:37:05 +0000 (14:37 +1000)]
Add support for local file urls

Change-Id: Ie54508ade52b80790d11958a820998c902d10fd7

11 years agoProvide user control for maximum nesting depth
Clint Byrum [Tue, 27 Aug 2013 16:10:54 +0000 (09:10 -0700)]
Provide user control for maximum nesting depth

In the case of an infinitely recursing stack, Heat will continue to
keep nesting stacks until python's maximum stack recursion depth
is reached. By this point a lot of memory and time may have been
spent parsing/loading/etc.

The default of 3 is enough to deploy a stack of stacks of stacks. It
can be raised by deployers if there is a desire to do larger and more
complicated stacks, at the cost of more resource utilization.

Fixes bug #1214239

Change-Id: Ic492ef84b94b1f715c49eef7e1794a486fb8182f

11 years agoAdd auto code api doc generation
Angus Salkeld [Tue, 27 Aug 2013 23:56:43 +0000 (09:56 +1000)]
Add auto code api doc generation

This will document the python api to:
heat.api
heat.engine (not the resources as we have docs for those)
heat.rpc

(copied from ceilometer)

Change-Id: I5a400f72d4ec115fb700ab8b24dbccf0b5cd3200

11 years agoRemove unnecessary aws_* from user_creds
Steven Hardy [Fri, 23 Aug 2013 10:28:01 +0000 (11:28 +0100)]
Remove unnecessary aws_* from user_creds

We currently store aws_creds, but it's never used in any of the clients
which consume the stored context.  It makes sense to remove it from the
DB, but leave it in heat/common/context.py; then the credentials used for
real requests *to* heat (authenticated via the ec2token middleware) are
obtainable in the context, but we don't populate them in context to be
used in client connections for requests going *from* heat.

Fixes bug #1215850

Change-Id: I7a75c70beb0318a1e83ac0ab45d13802999d1282

11 years agoRemove unused service_* columns from user_creds
Steven Hardy [Fri, 23 Aug 2013 10:16:13 +0000 (11:16 +0100)]
Remove unused service_* columns from user_creds

The service_user and service_password columns are not used anywhere
so remove the columns from the DB and the model

bug #1215850

Change-Id: If2df8cb768a1e2b10897cc09d64df5bcb1c7cd24

11 years agoMerge "Rename OS::Metering::Alarm to OS::Ceilometer::Alarm"
Jenkins [Tue, 27 Aug 2013 16:58:53 +0000 (16:58 +0000)]
Merge "Rename OS::Metering::Alarm to OS::Ceilometer::Alarm"

11 years agoMerge "Catch a NotFound exception in signal_responder delete"
Jenkins [Tue, 27 Aug 2013 16:58:50 +0000 (16:58 +0000)]
Merge "Catch a NotFound exception in signal_responder delete"

11 years agoChange localhost references in test_nested_stack
Clint Byrum [Tue, 27 Aug 2013 16:04:28 +0000 (09:04 -0700)]
Change localhost references in test_nested_stack

These references are using localhost which may be running a server and
provide valid responses, contaminating the test. Using RFC2606's
recommended test TLD of '.test' ensures that these will never resolve.

Change-Id: Ie555a321c2af23fbcf4aca9207acb6a0e40bb703

11 years agoMerge "Add VPCZoneIdentifier attribute for autoscaling"
Jenkins [Tue, 27 Aug 2013 14:42:33 +0000 (14:42 +0000)]
Merge "Add VPCZoneIdentifier attribute for autoscaling"

11 years agoMerge "Improve error message for nova unknown status"
Jenkins [Tue, 27 Aug 2013 13:08:29 +0000 (13:08 +0000)]
Merge "Improve error message for nova unknown status"

11 years agoDon't delete failed instances in InstanceGroup
Christopher Armstrong [Mon, 26 Aug 2013 17:52:53 +0000 (12:52 -0500)]
Don't delete failed instances in InstanceGroup

This gets rid of the code to delete failed instances in
InstanceGroup so that administrators can debug what happened
if any instances fail to start. It also allows the resize operation
to raise an error, so the InstanceGroup should be in a FAILED state
after a failed resize operation.

fixes bug 1214007
fixes bug 1215140

Change-Id: Id508195c847f09dd986e450f35876ff574ff7673

11 years agoMerge "Include Description in conversion from legacy Property schema"
Jenkins [Tue, 27 Aug 2013 10:45:32 +0000 (10:45 +0000)]
Merge "Include Description in conversion from legacy Property schema"

11 years agoMerge "Remove backup resources on stack delete"
Jenkins [Tue, 27 Aug 2013 10:18:52 +0000 (10:18 +0000)]
Merge "Remove backup resources on stack delete"

11 years agoMerge "Add a DB API to swap two resources between stacks"
Jenkins [Tue, 27 Aug 2013 08:51:06 +0000 (08:51 +0000)]
Merge "Add a DB API to swap two resources between stacks"

11 years agoAdd VPCZoneIdentifier attribute for autoscaling
Simon Pasquier [Wed, 21 Aug 2013 09:52:27 +0000 (11:52 +0200)]
Add VPCZoneIdentifier attribute for autoscaling

For now, only one subnet can be specified in the launch configuration because
Neutron doesn't have the ability to map subnets with availability zones.
See bug #1096017 for details.

Change-Id: I46ef4d17b2109c97664f7606c97b16071553ebcd
Fixes: bug #1196494
11 years agoMake logical_resource_id renaming backward compatible
Liang Chen [Tue, 27 Aug 2013 05:05:05 +0000 (13:05 +0800)]
Make logical_resource_id renaming backward compatible

The rename of logical_resource_id to resource_name changed the
return value of resource and event API. Adding a redundant
logical_resource_id back to make the change backward compatible.

Change-Id: I08ab00e38bae6e9bbaf8387dc01effaf776d0b3c

11 years agoAdd the missing heat.po files into heat
YangLei [Tue, 27 Aug 2013 04:27:17 +0000 (12:27 +0800)]
Add the missing heat.po files into heat

There is only one file "heat.pot" in heat/locale/.
We need to add the missing heat.po files.
I updated "heat.pot" file and added the supported languages
(Take glance po files as reference).
The added files are used for
setting up the structure of directory.
The po file doesn't have any translated strings.

Fixes bug #1217172

Change-Id: I1e017c332c80eb01b04e042b5da0129198169bd5

11 years agoMerge "Support native naming in InstanceGroup"
Jenkins [Tue, 27 Aug 2013 03:47:53 +0000 (03:47 +0000)]
Merge "Support native naming in InstanceGroup"

11 years agoMerge "Autoload Nova extensions"
Jenkins [Tue, 27 Aug 2013 02:56:30 +0000 (02:56 +0000)]
Merge "Autoload Nova extensions"

11 years agoMerge "Add a "rollback" parameter to StackUpdate"
Jenkins [Tue, 27 Aug 2013 02:30:46 +0000 (02:30 +0000)]
Merge "Add a "rollback" parameter to StackUpdate"

11 years agoMerge "Always resolve properties against the current stack"
Jenkins [Tue, 27 Aug 2013 02:30:44 +0000 (02:30 +0000)]
Merge "Always resolve properties against the current stack"

11 years agoMerge "Adds support for Neutron Firewall"
Jenkins [Tue, 27 Aug 2013 02:30:25 +0000 (02:30 +0000)]
Merge "Adds support for Neutron Firewall"

11 years agoAdd the api config opts in groups to deal with the single heat.conf
Angus Salkeld [Tue, 27 Aug 2013 00:26:53 +0000 (10:26 +1000)]
Add the api config opts in groups to deal with the single heat.conf

So first off, I also don't like the replicating of the api_opts in wsgi.py
but if I don't do that the sample generator doesn't work:(

We add the wsgi options into a group for each of the api servers with
the deprecated group of "DEFAULT" so it still deals with the flat layout.

The behaviour is as follows (assuming heat-api):
1) if you have both (/etc/heat/{heat.conf, heat-api.conf}
   the value in heat-api.conf wins over heat.conf
2) if you have just one of the config files but a value in both the
   [DEFAULT] section and the [heat-api] section then the value in heat-api
   wins.

bug #1209141
Change-Id: I66ddb3dca91d13b28e68dfb4306e94eb4e537fa7

11 years agoRename OS::Metering::Alarm to OS::Ceilometer::Alarm
Angus Salkeld [Fri, 23 Aug 2013 06:30:12 +0000 (16:30 +1000)]
Rename OS::Metering::Alarm to OS::Ceilometer::Alarm

The other resources are named by project so this is to
try and be more consistent.

There is a mapping to allow the original name to work.

Change-Id: If60cc577a5a770bdaada70c7eae1ae3fc1776056

11 years agoCatch a NotFound exception in signal_responder delete
Angus Salkeld [Thu, 22 Aug 2013 07:17:33 +0000 (17:17 +1000)]
Catch a NotFound exception in signal_responder delete

If the alarm does not get created (error condition) and
the url does not get created (no one referenced it) then
the delete will fail with a NotFound.

Change-Id: I431ebef9b9341548176d977e336558df9f5deb6c

11 years agoImprove error message for nova unknown status
Steve Baker [Thu, 22 Aug 2013 01:39:05 +0000 (13:39 +1200)]
Improve error message for nova unknown status

The current message is obtuse and fails the zbitter
test of good taste.

Change-Id: I12b6904f78452a7dedf3265af4930ba0fc6902a1

11 years agoMerge "Use oslo.sphinx for the doc templates"
Jenkins [Mon, 26 Aug 2013 22:09:48 +0000 (22:09 +0000)]
Merge "Use oslo.sphinx for the doc templates"

11 years agoRemove backup resources on stack delete
Zane Bitter [Mon, 26 Aug 2013 19:11:59 +0000 (21:11 +0200)]
Remove backup resources on stack delete

If any resources are cached as backups after a failed stack update +
rollback, ensure they are deleted when the stack itself is deleted.

Change-Id: I1e271cec146681759cc657ba82c205a648339ec1

11 years agoAdd a DB API to swap two resources between stacks
Zane Bitter [Mon, 26 Aug 2013 19:11:59 +0000 (21:11 +0200)]
Add a DB API to swap two resources between stacks

When rolling back a stack update, we will need to swap the current and
previous (backup) resources so that the former moves to the backup stack
while the latter returns to the current stack. This API allows us to effect
the switch using a database transaction (thus avoiding having to create a
*third* stack).

Change-Id: I2b7247e384e3914778179260e198e5ae5c701525

11 years agoAdd a "rollback" parameter to StackUpdate
Zane Bitter [Mon, 26 Aug 2013 19:11:59 +0000 (21:11 +0200)]
Add a "rollback" parameter to StackUpdate

We can only consider restoring backup resources during a rollback
operation. If they are present during a standard update, there is no way of
testing whether or not they match the new template definition, so we need
to treat them differently in this case.

Change-Id: Ibd73ed047486c253a6c06b7340a3a591f0fee3db

11 years agoAlways resolve properties against the current stack
Zane Bitter [Mon, 26 Aug 2013 19:11:58 +0000 (21:11 +0200)]
Always resolve properties against the current stack

During an update, resources can get moved around between stacks. Ensure
that the properties are always resolved against whatever the current stack
is, without needing to replace self.properties.

Change-Id: I09f984cdf4478ca7dda2b0a0f1aa5a63dd2c19bc

11 years agoRemove the rest references to exception.py
Liang Chen [Sun, 18 Aug 2013 12:48:49 +0000 (20:48 +0800)]
Remove the rest references to exception.py

Remove the rest references to Oslo exception.py in Heat code base, so that Oslo
maintainer can go ahead and remove the openstack/common/exception.py file.

Change-Id: I19d325e2117f31a887c593e31b61e25729f7a053

11 years agoSupport native naming in InstanceGroup
Thomas Herve [Mon, 26 Aug 2013 12:46:49 +0000 (14:46 +0200)]
Support native naming in InstanceGroup

The branch adds support for the native neutron load balancer resource in
in InstanceGroup. It also raises an error if a non load balancer
resource is passed.

Implements: blueprint lbaas-resource
Change-Id: I9b6e7341e2d3c9f14be704c7fbce1e318efbc2d4

11 years agoMerge "Implement a load balancer resource using new neutron pool"
Jenkins [Mon, 26 Aug 2013 11:35:56 +0000 (11:35 +0000)]
Merge "Implement a load balancer resource using new neutron pool"

11 years agoMerge "Allow in-place update of nested stack"
Jenkins [Mon, 26 Aug 2013 11:20:27 +0000 (11:20 +0000)]
Merge "Allow in-place update of nested stack"

11 years agoMerge "Enhance StackResource update for more use cases"
Jenkins [Mon, 26 Aug 2013 11:20:20 +0000 (11:20 +0000)]
Merge "Enhance StackResource update for more use cases"

11 years agoInclude Description in conversion from legacy Property schema
Zane Bitter [Mon, 26 Aug 2013 10:29:06 +0000 (12:29 +0200)]
Include Description in conversion from legacy Property schema

Change-Id: I042afdc3b5e3d4677c207e53497e3bcceb6739ad

11 years agoAdd support for source security groups
Simon Pasquier [Wed, 14 Aug 2013 13:00:44 +0000 (15:00 +0200)]
Add support for source security groups

This patch adds support for the SourceSecurityGroupName and
SourceSecurityGroupId properties. It covers Nova and Neutron.

Change-Id: Ic12512dfb4375ccccbe1282bb48b80cde16ceb9d
Fixes: bug #1193415
11 years agoAdds support for Neutron Firewall
Sumit Naiksatam [Thu, 22 Aug 2013 21:27:45 +0000 (14:27 -0700)]
Adds support for Neutron Firewall

Introduces the following Neutron Firewall as a Service (FWaaS)
components to Heat resources:
* Firewall
* FirewallPolicy
* FirewallRule

Change-Id: I646a1402a336e7cc7c88d555cc836614bda9dca2
Implements: blueprint fwaas-heat

11 years agoMerge "Only create user_creds row on initial stack store"
Jenkins [Mon, 26 Aug 2013 02:31:42 +0000 (02:31 +0000)]
Merge "Only create user_creds row on initial stack store"

11 years agoMerge "remove unused config options"
Jenkins [Mon, 26 Aug 2013 01:52:25 +0000 (01:52 +0000)]
Merge "remove unused config options"

11 years agoMerge "Process request exceptions while fetching template"
Jenkins [Mon, 26 Aug 2013 01:40:31 +0000 (01:40 +0000)]
Merge "Process request exceptions while fetching template"

11 years agoMerge "Use system locale when Accept-Language header is not provided"
Jenkins [Mon, 26 Aug 2013 01:40:24 +0000 (01:40 +0000)]
Merge "Use system locale when Accept-Language header is not provided"

11 years agoMerge "Fix incorrect use of ServerError"
Jenkins [Mon, 26 Aug 2013 01:21:52 +0000 (01:21 +0000)]
Merge "Fix incorrect use of ServerError"

11 years agoAutoload Nova extensions
Tim Smith [Sun, 25 Aug 2013 01:07:23 +0000 (18:07 -0700)]
Autoload Nova extensions

This patch adds logic to autoload standard novaclient extensions
(e.g. baremetal) and any third-party extensions that might
be installed. Thus, resource plugins that make use of
installed extensions are able to use the standard OpenStackClients
rather than have to a) subclass and override OpenStackClients
or b) create a shadow nova client within the resource plugin
with the desired extension loaded.

Change-Id: Ifdcaa896babda0e1e7e10a55253a8baa37582264

11 years agoMerge "Fix install.sh calling setup.py"
Jenkins [Mon, 26 Aug 2013 01:12:24 +0000 (01:12 +0000)]
Merge "Fix install.sh calling setup.py"

11 years agoMerge "Store the backup stack during updates"
Jenkins [Mon, 26 Aug 2013 00:19:48 +0000 (00:19 +0000)]
Merge "Store the backup stack during updates"

11 years agoMerge "Pass owner_id to stack_get_by_name()"
Jenkins [Mon, 26 Aug 2013 00:19:45 +0000 (00:19 +0000)]
Merge "Pass owner_id to stack_get_by_name()"

11 years agoMerge "Add a method of creating a backup stack in the DB"
Jenkins [Mon, 26 Aug 2013 00:19:38 +0000 (00:19 +0000)]
Merge "Add a method of creating a backup stack in the DB"

11 years agoMerge "Allow a Provider with a known facade its own schema"
Jenkins [Mon, 26 Aug 2013 00:04:54 +0000 (00:04 +0000)]
Merge "Allow a Provider with a known facade its own schema"

11 years agoMerge "Evaluate lazy translation in exception __str__"
Jenkins [Sun, 25 Aug 2013 23:21:18 +0000 (23:21 +0000)]
Merge "Evaluate lazy translation in exception __str__"

11 years agoMerge "Handling re-delete in rackspace db resource"
Jenkins [Sun, 25 Aug 2013 22:03:19 +0000 (22:03 +0000)]
Merge "Handling re-delete in rackspace db resource"

11 years agoMerge "Replace httplib with requests for ec2tokens auth"
Jenkins [Sun, 25 Aug 2013 20:39:38 +0000 (20:39 +0000)]
Merge "Replace httplib with requests for ec2tokens auth"

11 years agoAllow in-place update of nested stack
Liang Chen [Thu, 22 Aug 2013 05:42:18 +0000 (13:42 +0800)]
Allow in-place update of nested stack

Not raising UpdateReplace exception anymore for nested stack update.
Instead, propagating the update request to the nested stack, so that
the nested stack itself will decide the best way to handle the update
request for every of its resources.

blueprint nested-stack-updates

Change-Id: Ibfe7bee71fe57a601b93fa05a4a0c1cda972290e

11 years agoEnhance StackResource update for more use cases
Liang Chen [Thu, 22 Aug 2013 05:41:52 +0000 (13:41 +0800)]
Enhance StackResource update for more use cases

Enhance StackResource.update_with_template to accommodate more
possible use cases. This will take care of the nested stack update
failure by raising an exception in such case, so the the concrete
nested stack resource implementations will have a chance to take
some actions upon nested stack update failure.

blueprint nested-stack-updates

Change-Id: Id31ef67e1d7c4928704c6e169bce13f0f7232932

11 years agoMerge "Use the global environment to map Quantum to Neutron"
Jenkins [Sat, 24 Aug 2013 00:17:44 +0000 (00:17 +0000)]
Merge "Use the global environment to map Quantum to Neutron"

11 years agoMerge "Add a has_interface() method to the resource class"
Jenkins [Sat, 24 Aug 2013 00:17:37 +0000 (00:17 +0000)]
Merge "Add a has_interface() method to the resource class"

11 years agoStore the backup stack during updates
Zane Bitter [Fri, 23 Aug 2013 23:05:47 +0000 (01:05 +0200)]
Store the backup stack during updates

Change-Id: I64e19b0117c98eced4308727594b77e938d7ee4c

11 years agoPass owner_id to stack_get_by_name()
Zane Bitter [Fri, 23 Aug 2013 23:05:47 +0000 (01:05 +0200)]
Pass owner_id to stack_get_by_name()

The heat.db.sqlalchemy.api supports this parameters, but heat.db.api did
not.

Change-Id: Ic805dcf6c8afdbe9e667c55d9c3b6864a76ce19a

11 years agoAdd a method of creating a backup stack in the DB
Zane Bitter [Fri, 23 Aug 2013 23:05:47 +0000 (01:05 +0200)]
Add a method of creating a backup stack in the DB

This is a temporary storage place for resources that are going to be
deleted once their replacements are created. They must be moved out of
the stack in order to avoid conflicting with the replacement resource.

Change-Id: I081498f4c8732f893dc0d0677cf2b3f40f56d808

11 years agoMerge "Always validate auth_uri with allowed_auth_uris"
Jenkins [Fri, 23 Aug 2013 17:04:35 +0000 (17:04 +0000)]
Merge "Always validate auth_uri with allowed_auth_uris"

11 years agoMerge "Rename event logical_resource_id to resource_name"
Jenkins [Fri, 23 Aug 2013 15:49:24 +0000 (15:49 +0000)]
Merge "Rename event logical_resource_id to resource_name"

11 years agoEvaluate lazy translation in exception __str__
Liang Chen [Thu, 8 Aug 2013 10:11:48 +0000 (18:11 +0800)]
Evaluate lazy translation in exception __str__

The OpenStackException.__str__ method returns
self._error_string which is actually a gettextutil.Message
object not a str.

str(o) will check the return type of o.__str__() and raise
TypeError if __str__ returns non-string object.

The fix will not go into oslo as OpenStackException is
about to be deprecated. And this patch is also the first
step to remove all the references to oslo exception.py.

Fixes bug #1208454

Change-Id: Ib6abe3517bcb1b34fc6a71e5c46ee3774e067f9a

11 years agoAllow a Provider with a known facade its own schema
Zane Bitter [Fri, 23 Aug 2013 13:56:41 +0000 (15:56 +0200)]
Allow a Provider with a known facade its own schema

Allow a TemplateResource behind the facade of a known plugin to supply a
different schema to the facade resource. However, check during validation
that the two are basically compatible. The provider template must:

- Define parameters for all *required* properties of the facade.
- Define parameters that map to the same types as the facade properties.
- Not have *required* parameters that do not exist in the facade.
- Define outputs for all attributes of the facade.

Change-Id: Ie40ecbb43d3d6749266f2cb6d723c8537fcc23dd

11 years agoUse the global environment to map Quantum to Neutron
Angus Salkeld [Thu, 8 Aug 2013 01:29:46 +0000 (11:29 +1000)]
Use the global environment to map Quantum to Neutron

Change-Id: Id3ccc0538d79955d0112daf37bcd80dce78a0373

11 years agoAdd a has_interface() method to the resource class
Angus Salkeld [Tue, 20 Aug 2013 05:37:26 +0000 (15:37 +1000)]
Add a has_interface() method to the resource class

This is to better indentify resource types, given that they
can be mapped in the environment.

Change-Id: I6dd552c87b80eb34baec306acd663657ee929b30

11 years agoMerge "Pass token as a callable to Ceilometer client"
Jenkins [Fri, 23 Aug 2013 13:00:43 +0000 (13:00 +0000)]
Merge "Pass token as a callable to Ceilometer client"

11 years agoMerge "Remove the Property.schema_from_param() method"
Jenkins [Fri, 23 Aug 2013 13:00:36 +0000 (13:00 +0000)]
Merge "Remove the Property.schema_from_param() method"

11 years agoMerge "Generate property Schema objects directly from parameters"
Jenkins [Fri, 23 Aug 2013 13:00:29 +0000 (13:00 +0000)]
Merge "Generate property Schema objects directly from parameters"

11 years agoMerge "Use Template to instantiate TemplateResource"
Jenkins [Fri, 23 Aug 2013 13:00:22 +0000 (13:00 +0000)]
Merge "Use Template to instantiate TemplateResource"

11 years agoOnly create user_creds row on initial stack store
Steven Hardy [Fri, 23 Aug 2013 12:26:35 +0000 (13:26 +0100)]
Only create user_creds row on initial stack store

We should only store the credentials on inital stack store,
otherwise we end up creating orphan user_creds rows every
time the stack status is updated.

Fixes bug #1197074

Change-Id: Ib8414dd774386578dbc4d654b1773727d2998f80

11 years agoMerge "Use string constants to prevent typo errors"
Jenkins [Fri, 23 Aug 2013 11:14:17 +0000 (11:14 +0000)]
Merge "Use string constants to prevent typo errors"

11 years agoMerge "Add a CloudWatch::Alarm implementation based on Ceilometer"
Jenkins [Fri, 23 Aug 2013 11:14:15 +0000 (11:14 +0000)]
Merge "Add a CloudWatch::Alarm implementation based on Ceilometer"

11 years agoMerge "To support both CW and CM, return alarmurl from policy ref"
Jenkins [Fri, 23 Aug 2013 11:14:13 +0000 (11:14 +0000)]
Merge "To support both CW and CM, return alarmurl from policy ref"

11 years agoremove unused config options
Steven Hardy [Fri, 23 Aug 2013 09:57:16 +0000 (10:57 +0100)]
remove unused config options

There are several historical cut/paste unused options, which have
also now found there way into heat.conf.sample, which will confuse
users, so best to remove them.

Fixes bug #1215834

Change-Id: I0fe4717327fc67fe109bef4ba1758d2f18e84520

11 years agoMerge "Do not delete nova server on create fail"
Jenkins [Fri, 23 Aug 2013 08:45:00 +0000 (08:45 +0000)]
Merge "Do not delete nova server on create fail"

11 years agoPass token as a callable to Ceilometer client
Swann Croiset [Mon, 19 Aug 2013 12:06:01 +0000 (14:06 +0200)]
Pass token as a callable to Ceilometer client

fixes bug #1209240

Change-Id: I5e3e3bb15135273c887f9518f148f17e8953fc96

11 years agoImplement a load balancer resource using new neutron pool
Thomas Herve [Mon, 12 Aug 2013 16:08:04 +0000 (18:08 +0200)]
Implement a load balancer resource using new neutron pool

It creates a new resource linking to a neutron pool, and taking a list
of servers to be linked to it.

Implements: blueprint lbaas-resource
Change-Id: Ie1590e12449a8e086eee7e7960a45103cbf20860

11 years agoMerge "Do not assume nova provides a fault on ERROR"
Jenkins [Fri, 23 Aug 2013 08:29:24 +0000 (08:29 +0000)]
Merge "Do not assume nova provides a fault on ERROR"

11 years agoMerge "Add a script show all possible state transitions"
Jenkins [Fri, 23 Aug 2013 08:29:22 +0000 (08:29 +0000)]
Merge "Add a script show all possible state transitions"

11 years agoMerge "Convert heat.common.template_format to use C yaml"
Jenkins [Fri, 23 Aug 2013 06:33:46 +0000 (06:33 +0000)]
Merge "Convert heat.common.template_format to use C yaml"

11 years agoMerge "Fix the main docs index page"
Jenkins [Fri, 23 Aug 2013 06:33:39 +0000 (06:33 +0000)]
Merge "Fix the main docs index page"

11 years agoMerge "Remove the usecases from environment.py as they are in the docs"
Jenkins [Fri, 23 Aug 2013 06:32:19 +0000 (06:32 +0000)]
Merge "Remove the usecases from environment.py as they are in the docs"