]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
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 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 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 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 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"

11 years agoMerge "Add some basic evironment docs"
Jenkins [Fri, 23 Aug 2013 06:29:46 +0000 (06:29 +0000)]
Merge "Add some basic evironment docs"

11 years agoMerge "Store the generated signed urls in resource_data"
Jenkins [Fri, 23 Aug 2013 05:28:00 +0000 (05:28 +0000)]
Merge "Store the generated signed urls in resource_data"

11 years agoMerge "Remove "lazy=joined" from the resource_data backref"
Jenkins [Fri, 23 Aug 2013 05:27:58 +0000 (05:27 +0000)]
Merge "Remove "lazy=joined" from the resource_data backref"

11 years agoMerge "Try to reduce the number of tests with the same stack_id"
Jenkins [Fri, 23 Aug 2013 05:23:34 +0000 (05:23 +0000)]
Merge "Try to reduce the number of tests with the same stack_id"

11 years agoMerge "Implement Fn::MemberListToMap"
Jenkins [Fri, 23 Aug 2013 05:23:26 +0000 (05:23 +0000)]
Merge "Implement Fn::MemberListToMap"

11 years agoMerge "Limit maximum size of all templates"
Jenkins [Fri, 23 Aug 2013 04:26:57 +0000 (04:26 +0000)]
Merge "Limit maximum size of all templates"

11 years agoUse oslo.sphinx for the doc templates
Angus Salkeld [Fri, 23 Aug 2013 02:09:58 +0000 (12:09 +1000)]
Use oslo.sphinx for the doc templates

This is to make the look of the developer docs consistent
with the other projects.

Change-Id: If538b5fcc974606c1628ca4a510cd1f34cb631a2

11 years agoMerge "Make the API for getting dependency graph edges public"
Jenkins [Fri, 23 Aug 2013 01:27:15 +0000 (01:27 +0000)]
Merge "Make the API for getting dependency graph edges public"

11 years agoRename event logical_resource_id to resource_name
Liang Chen [Sun, 18 Aug 2013 12:38:04 +0000 (20:38 +0800)]
Rename event logical_resource_id to resource_name

This is to address an unimplemented comment at
https://review.openstack.org/#/c/41290/2/heat/engine/event.py
Bascically, there is a logical_resource_id/resource_name mismatch to
address, and this patch is trying to resolve that.

Change-Id: Idac696259af30f8db7816499474057c354d73800

11 years agoMerge "Pass the previous stack to StackUpdate"
Jenkins [Fri, 23 Aug 2013 01:24:58 +0000 (01:24 +0000)]
Merge "Pass the previous stack to StackUpdate"

11 years agoUse string constants to prevent typo errors
Angus Salkeld [Thu, 15 Aug 2013 04:16:15 +0000 (14:16 +1000)]
Use string constants to prevent typo errors

Change-Id: If8fccaa3f5d77698a50f803c2b97b85c5a7613ea

11 years agoAdd a CloudWatch::Alarm implementation based on Ceilometer
Angus Salkeld [Wed, 14 Aug 2013 11:55:59 +0000 (21:55 +1000)]
Add a CloudWatch::Alarm implementation based on Ceilometer

It's off by default for the moment so the current cloudwatch tests can run.

Change-Id: Ibdce9c9223969bdcb8f2368e98dc6ab1241b84df

11 years agoTo support both CW and CM, return alarmurl from policy ref
Angus Salkeld [Mon, 19 Aug 2013 23:46:59 +0000 (09:46 +1000)]
To support both CW and CM, return alarmurl from policy ref

This is so we can still have the following:
  AlarmActions:
  - {Ref: ServerScaleUpPolicy}

and use Ceilometer underneath.

The watchrule now tries to look up the resource by
both name and resource_by_refid.

Change-Id: I4759806919ab4f3ccef66698235b23f7f310cb03

11 years agoStore the generated signed urls in resource_data
Angus Salkeld [Wed, 14 Aug 2013 06:57:13 +0000 (16:57 +1000)]
Store the generated signed urls in resource_data

This is so it does get regenerated everytime GetRefId() is called.

fixes bug 1206505
Change-Id: Ia69d6d65247555918850ecaadfd1c5d1bc837af8

11 years agoRemove "lazy=joined" from the resource_data backref
Angus Salkeld [Wed, 14 Aug 2013 06:51:21 +0000 (16:51 +1000)]
Remove "lazy=joined" from the resource_data backref

This is having some weird interaction with the rsrc_metadata column.
In a later patch I add a call to resource_data_set() in signal_responder
and the metadata tests start failing.

Change-Id: Ib59972fe69570f4ae36e672987419f4841a2de40

11 years agoTry to reduce the number of tests with the same stack_id
Angus Salkeld [Wed, 14 Aug 2013 05:47:33 +0000 (15:47 +1000)]
Try to reduce the number of tests with the same stack_id

Change-Id: I38a689ed65998adc9a3e6542d11d15283ae61044

11 years agoImplement Fn::MemberListToMap
Angus Salkeld [Thu, 22 Aug 2013 22:31:54 +0000 (08:31 +1000)]
Implement Fn::MemberListToMap

This is to allow the CloudWatch::Alarm to be implemented as
a resource template. The Dimensions need to be converted
from [{Name: bla, Value: foo}] into a normal dict.

So we define the Dimensions as a CommaDelimitedList in the template,
then in TemplateResource we see that the property is a list of dicts
and convert it into the aws style memberlist
 '.member.0.Name=bla,.member.0.Value=green'
then in the CW template we can do the following:

matching_metadata:
  "Fn::MemberListToMap": [Name, Value, {"Fn::   Split": [",",
{Ref: Dimensions}]}]

Note: this in not a single case usage as we can use this for the Tags
property that is in a lot of other resources.

Change-Id: I68910c51eaeb0857531028e87b89b9192db4c8ba

11 years agoFix the main docs index page
Angus Salkeld [Thu, 22 Aug 2013 23:51:55 +0000 (09:51 +1000)]
Fix the main docs index page

This magic new line makes the main index look a lot better.
It wasn't showing the "HOT templates" level.

Change-Id: I3f7fb65911a4b0f3ad57ddf22c00ec8236261c7e

11 years agoRemove the usecases from environment.py as they are in the docs
Angus Salkeld [Thu, 22 Aug 2013 23:54:31 +0000 (09:54 +1000)]
Remove the usecases from environment.py as they are in the docs

Change-Id: Ibe0b55663a62b4a68f1478d254f1333a56514c38

11 years agoAdd some basic evironment docs
Angus Salkeld [Thu, 22 Aug 2013 23:49:39 +0000 (09:49 +1000)]
Add some basic evironment docs

Change-Id: I6edbb7da0d333bd86eabba73631d5df3d4dc8328

11 years agoDo not delete nova server on create fail
Steve Baker [Thu, 22 Aug 2013 01:32:01 +0000 (13:32 +1200)]
Do not delete nova server on create fail

To keep in line with the behaviour of other resources,
a nova server should only be deleted on resource delete.

Fixes bug: #1215132

Change-Id: Ic478754b7b96001fa0d4110a66d008609de7b482

11 years agoDo not assume nova provides a fault on ERROR
Steve Baker [Thu, 22 Aug 2013 01:18:57 +0000 (13:18 +1200)]
Do not assume nova provides a fault on ERROR

A nova server object in an ERROR state does not
always provide a fault attribute to get the error
reason from.

Fixes bug: #1213285

Change-Id: I861951207cf8fd526a65f768154c76afd0be9081

11 years agoMerge "Improve update debugging messages"
Jenkins [Thu, 22 Aug 2013 21:13:25 +0000 (21:13 +0000)]
Merge "Improve update debugging messages"

11 years agoAdd a script show all possible state transitions
Jason Dunsmore [Wed, 21 Aug 2013 20:15:17 +0000 (15:15 -0500)]
Add a script show all possible state transitions

The output of this script will be useful in documenting all possible
state transitions.

Change-Id: I24e442ce20fe7730c915a77b85014f44075e03fd

11 years agoLimit maximum size of all templates
Clint Byrum [Wed, 21 Aug 2013 20:24:17 +0000 (13:24 -0700)]
Limit maximum size of all templates

Templates of an extremely large size can eat up tons of CPU time,
memory and storage. By refusing to parse any template over a certain
size, we can prevent users from abusing the service.

Fixes bug #1214234

Change-Id: I2f731c8e2fc9e1f497199e310de81fa48c9582af

11 years agoMerge "Add UpdatePolicy attribute to Instance/AutoScalingGroup"
Jenkins [Thu, 22 Aug 2013 13:31:16 +0000 (13:31 +0000)]
Merge "Add UpdatePolicy attribute to Instance/AutoScalingGroup"

11 years agoMake the API for getting dependency graph edges public
Zane Bitter [Thu, 22 Aug 2013 11:01:21 +0000 (13:01 +0200)]
Make the API for getting dependency graph edges public

This will allow us to build new dependency graphs from combinations of
existing graphs.

Change-Id: I6da62607fa1e361d4d2e1581fd286c62f0d9470a

11 years agoPass the previous stack to StackUpdate
Zane Bitter [Thu, 22 Aug 2013 11:01:21 +0000 (13:01 +0200)]
Pass the previous stack to StackUpdate

This starts out like the existing stack, but is not stored in the database
or updated as the stack update proceeds. This allows the StackUpdate object
to store any information that might be relevant to a future rollback.

Change-Id: I94f0dd69b5e7818f811c8c0d50566a79b81acba7

11 years agoImprove update debugging messages
Zane Bitter [Thu, 22 Aug 2013 11:01:21 +0000 (13:01 +0200)]
Improve update debugging messages

Change-Id: I231275c1ce7dcba441a57d2ac29d2ad59e993e98

11 years agoMerge "Use the global environment to define AWS::CloudWatch::Alarm"
Jenkins [Thu, 22 Aug 2013 10:43:04 +0000 (10:43 +0000)]
Merge "Use the global environment to define AWS::CloudWatch::Alarm"

11 years agoMerge "Load deployer/global environment files at startup"
Jenkins [Thu, 22 Aug 2013 10:43:02 +0000 (10:43 +0000)]
Merge "Load deployer/global environment files at startup"

11 years agoMerge "Add an environment_format.py like the template one"
Jenkins [Thu, 22 Aug 2013 10:43:00 +0000 (10:43 +0000)]
Merge "Add an environment_format.py like the template one"

11 years agoMerge "Fix all the sphinx-build warnings"
Jenkins [Thu, 22 Aug 2013 09:23:19 +0000 (09:23 +0000)]
Merge "Fix all the sphinx-build warnings"

11 years agoMerge "Fix some flake8 warnings in doc/resources.py"
Jenkins [Thu, 22 Aug 2013 09:23:17 +0000 (09:23 +0000)]
Merge "Fix some flake8 warnings in doc/resources.py"

11 years agoMerge "Fix crash in "make html" introduced by the global env"
Jenkins [Thu, 22 Aug 2013 09:21:43 +0000 (09:21 +0000)]
Merge "Fix crash in "make html" introduced by the global env"

11 years agoMerge "Add new attributes to EIPAssociation resource"
Jenkins [Thu, 22 Aug 2013 05:28:07 +0000 (05:28 +0000)]
Merge "Add new attributes to EIPAssociation resource"

11 years agoMerge "Introduce nova_utils.server_to_ipaddress"
Jenkins [Thu, 22 Aug 2013 04:00:09 +0000 (04:00 +0000)]
Merge "Introduce nova_utils.server_to_ipaddress"

11 years agoFix all the sphinx-build warnings
Angus Salkeld [Thu, 22 Aug 2013 02:27:21 +0000 (12:27 +1000)]
Fix all the sphinx-build warnings

except this one:
 WARNING: toctree contains reference to nonexisting document u'api/autoindex'

Change-Id: I176a75c1c3fc9603304f11f867df54d7a7b3610a

11 years agoFix some flake8 warnings in doc/resources.py
Angus Salkeld [Thu, 22 Aug 2013 01:42:31 +0000 (11:42 +1000)]
Fix some flake8 warnings in doc/resources.py

remove doc from the ignore and just fix the issues in conf.py

Change-Id: I30833dd24409087c3482d2034a797fea3f90aa85

11 years agoFix crash in "make html" introduced by the global env
Angus Salkeld [Thu, 22 Aug 2013 01:34:47 +0000 (11:34 +1000)]
Fix crash in "make html" introduced by the global env

Change-Id: Iece0e122841829d3561b71575065ffa7b656b504