]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
11 years agoMerge "Add tests for resource-data delete bug."
Jenkins [Wed, 17 Jul 2013 03:52:48 +0000 (03:52 +0000)]
Merge "Add tests for resource-data delete bug."

11 years agoMerge "Fix resource-data delete bug."
Jenkins [Wed, 17 Jul 2013 03:52:40 +0000 (03:52 +0000)]
Merge "Fix resource-data delete bug."

11 years agoAdd tests for resource-data delete bug.
Randall Burt [Wed, 17 Jul 2013 00:31:25 +0000 (19:31 -0500)]
Add tests for resource-data delete bug.

Fixes bug 1201974

Change-Id: Id5fdfcde8541e83f68406c67250b815b35fbbf54

11 years agoFix resource-data delete bug.
Jason Dunsmore [Tue, 16 Jul 2013 21:13:24 +0000 (16:13 -0500)]
Fix resource-data delete bug.

Bug 1201974.

Change-Id: I6c4692df71dc7188c0a9caf0ca6c26b67b4e168f

11 years agoMerge "Test that Tags get converted into nova metadata"
Jenkins [Tue, 16 Jul 2013 02:31:32 +0000 (02:31 +0000)]
Merge "Test that Tags get converted into nova metadata"

11 years agoMerge "Let git ignore pydev project description files"
Jenkins [Tue, 16 Jul 2013 02:24:34 +0000 (02:24 +0000)]
Merge "Let git ignore pydev project description files"

11 years agoMerge "Don't reload haproxy and use ensureRunning=true"
Jenkins [Tue, 16 Jul 2013 02:15:23 +0000 (02:15 +0000)]
Merge "Don't reload haproxy and use ensureRunning=true"

11 years agoDon't reload haproxy and use ensureRunning=true
Angus Salkeld [Mon, 15 Jul 2013 23:08:13 +0000 (09:08 +1000)]
Don't reload haproxy and use ensureRunning=true

the ensureRunning option results in cfn-hup doing a restart and the
hook does a reload. these two options result in the failed state
of haproxy.

This patch rolls the two into "reload-or-restart", which is run from
cron.

bug 1201621
Change-Id: Idb42b3915cb86c613876b67abf1c6999972e19e2

11 years agoMerge "Align OpenStack client versions with project requirements."
Jenkins [Mon, 15 Jul 2013 13:01:38 +0000 (13:01 +0000)]
Merge "Align OpenStack client versions with project requirements."

11 years agoMerge "Add resource_data table for free-form key/value data."
Jenkins [Mon, 15 Jul 2013 12:58:53 +0000 (12:58 +0000)]
Merge "Add resource_data table for free-form key/value data."

11 years agoTest that Tags get converted into nova metadata
Angus Salkeld [Mon, 15 Jul 2013 05:57:12 +0000 (15:57 +1000)]
Test that Tags get converted into nova metadata

Change-Id: Iac464174d3e9b71ce01d9d7ee05d64e790b2f398

11 years agoAlign OpenStack client versions with project requirements.
Steve Baker [Mon, 15 Jul 2013 04:15:57 +0000 (16:15 +1200)]
Align OpenStack client versions with project requirements.

This brings heat into line with the consensus on how to specify
version range caps.

Fixes bug: #1200214

Change-Id: I14affc96c44f865fdd0516c1eb4eb59f1a808b82

11 years agoMerge "Cleanup and make HACKING.rst DRYer"
Jenkins [Mon, 15 Jul 2013 00:16:46 +0000 (00:16 +0000)]
Merge "Cleanup and make HACKING.rst DRYer"

11 years agoMerge "Suggest the use of tripelO images"
Jenkins [Sun, 14 Jul 2013 23:22:24 +0000 (23:22 +0000)]
Merge "Suggest the use of tripelO images"

11 years agoCleanup and make HACKING.rst DRYer
Joe Gordon [Fri, 12 Jul 2013 16:08:32 +0000 (17:08 +0100)]
Cleanup and make HACKING.rst DRYer

Reference the OpenStack hacking guide in HACKING.rst and remove
duplicate entries.  Add placeholder section for heat specific
rules.  heat specific rules can be created using hacking's local check
support.

Change-Id: Ib6967ae769bd73857abb7ef89368c407c8b22053

11 years agoMerge "Create implicit depends from gateway to public subnet."
Jenkins [Sat, 13 Jul 2013 05:11:57 +0000 (05:11 +0000)]
Merge "Create implicit depends from gateway to public subnet."

11 years agoMerge "Wait until quantum resources are deleted."
Jenkins [Fri, 12 Jul 2013 18:30:33 +0000 (18:30 +0000)]
Merge "Wait until quantum resources are deleted."

11 years agoMerge "avoid excessive database calls while loading events"
Jenkins [Fri, 12 Jul 2013 05:42:31 +0000 (05:42 +0000)]
Merge "avoid excessive database calls while loading events"

11 years agoMerge "Rename part-handler.py to part_handler.py so it can be imported"
Jenkins [Fri, 12 Jul 2013 05:31:20 +0000 (05:31 +0000)]
Merge "Rename part-handler.py to part_handler.py so it can be imported"

11 years agoMerge "engine : Allow loadbalancer resource to work with no key"
Jenkins [Fri, 12 Jul 2013 04:40:29 +0000 (04:40 +0000)]
Merge "engine : Allow loadbalancer resource to work with no key"

11 years agoMerge "Add Rackspace cloud loadbalancer resource."
Jenkins [Fri, 12 Jul 2013 04:38:54 +0000 (04:38 +0000)]
Merge "Add Rackspace cloud loadbalancer resource."

11 years agoMerge "provide test for nested stack error path"
Jenkins [Fri, 12 Jul 2013 04:34:55 +0000 (04:34 +0000)]
Merge "provide test for nested stack error path"

11 years agoMerge "Do not override FnGetAtt"
Jenkins [Fri, 12 Jul 2013 04:13:25 +0000 (04:13 +0000)]
Merge "Do not override FnGetAtt"

11 years agoengine : Allow loadbalancer resource to work with no key
Steven Hardy [Fri, 5 Jul 2013 18:56:10 +0000 (19:56 +0100)]
engine : Allow loadbalancer resource to work with no key

Fixes bug #1137526

Change-Id: Ieff9c0b52633d45ac5164d966a362e50d5f499df

11 years agoCreate implicit depends from gateway to public subnet.
Steve Baker [Fri, 12 Jul 2013 03:02:17 +0000 (15:02 +1200)]
Create implicit depends from gateway to public subnet.

Depend on any subnet in this template with the same network_id
as this network_id, as the gateway implicitly creates a port
on that subnet.

Fixes bug: #1195599

Change-Id: Ie850a82dce551d46341b1eef7f0208074b72453f

11 years agoWait until quantum resources are deleted.
Steve Baker [Fri, 12 Jul 2013 01:31:09 +0000 (13:31 +1200)]
Wait until quantum resources are deleted.

Races on delete have occured where a quantum resource cannot
be deleted due to an associated resource delete being incomplete.

Fixes bug: #1195596

Change-Id: I52a358d05d30b9c50a771864d036156f00df67ab

11 years agoMerge "Global disable scheduler _sleep instead of mocking."
Jenkins [Thu, 11 Jul 2013 23:30:33 +0000 (23:30 +0000)]
Merge "Global disable scheduler _sleep instead of mocking."

11 years agoMerge "Add length validation to properties of type LIST and MAP."
Jenkins [Thu, 11 Jul 2013 23:26:11 +0000 (23:26 +0000)]
Merge "Add length validation to properties of type LIST and MAP."

11 years agoMerge "Use new environment and parameters on stack update."
Jenkins [Thu, 11 Jul 2013 22:14:03 +0000 (22:14 +0000)]
Merge "Use new environment and parameters on stack update."

11 years agoMerge "Handle conversion of MAP properties to JSON params"
Jenkins [Thu, 11 Jul 2013 22:14:01 +0000 (22:14 +0000)]
Merge "Handle conversion of MAP properties to JSON params"

11 years agoDo not override FnGetAtt
Randall Burt [Tue, 9 Jul 2013 18:56:16 +0000 (13:56 -0500)]
Do not override FnGetAtt

FnGetAtt is handled by the parent classes so no need to override

contributes to blueprint provider-resource

Change-Id: I3cb1bfc353fedf33336151f3ebc4d283330336a0

11 years agoAdd resource_data table for free-form key/value data.
Jason Dunsmore [Thu, 11 Jul 2013 21:26:06 +0000 (16:26 -0500)]
Add resource_data table for free-form key/value data.

This can be used to store arbitrary resource-specific data, such as
SSH keys.

Blueprint resource-data.

Change-Id: Ic148bd131f528a676904c8f37fd6deb936917152

11 years agoprovide test for nested stack error path
Liang Chen [Thu, 4 Jul 2013 16:45:01 +0000 (00:45 +0800)]
provide test for nested stack error path

Fixes bug #1195310

Change-Id: I3c77287c92068b305f61fa4cbe4846aa56ab50e0

11 years agoAdd Rackspace cloud loadbalancer resource.
Andrew Plunk [Wed, 3 Jul 2013 21:41:26 +0000 (16:41 -0500)]
Add Rackspace cloud loadbalancer resource.

Add a resource implementation of the Rackspace Cloud
Loadbalancer.

Change-Id: Ie62471424af3170c71e84bed69c603d243572fdb

11 years agoavoid excessive database calls while loading events
Liang Chen [Sun, 7 Jul 2013 06:43:45 +0000 (14:43 +0800)]
avoid excessive database calls while loading events

list_events constructs Event objects through Event.load, which causes
every event record previously loaded into memory to be reloaded again.
Furthermore, Event.load will also reload the associated stack, thus
all its resources and template. Another bad thing with that is
reloading a stack will lead to many extra stack static resolution
(including calls to nova to resovle Fn::GetAZs if it's referenced in
the template).

Fixes bug #1195793

Change-Id: I4f14c9a2a4f990b753a6e1405e27eb44c53537c9

11 years agoGlobal disable scheduler _sleep instead of mocking.
Steve Baker [Thu, 11 Jul 2013 04:08:54 +0000 (16:08 +1200)]
Global disable scheduler _sleep instead of mocking.

It is becoming increasingly difficult to predict when
a call to TaskRunner._sleep needs to be scripted, and is probably an
implementation detail which shouldn't be exposed to unit tests anyway.

This change defines a global which prevents sleeping in calls to _sleep
and toggles that global in HeatTestCase setUp.

Change-Id: I98dc88c9d120c409d5720895bb4fb625a1f12991

11 years agoRename part-handler.py to part_handler.py so it can be imported
Steven Dake [Wed, 10 Jul 2013 21:35:07 +0000 (14:35 -0700)]
Rename part-handler.py to part_handler.py so it can be imported

Change-Id: I9e7e3be2f3155f3e35b2defdb89e9d84a02ae7cb

11 years agoHandle conversion of MAP properties to JSON params
Randall Burt [Tue, 9 Jul 2013 18:11:22 +0000 (13:11 -0500)]
Handle conversion of MAP properties to JSON params

Since JsonParameter takes either a string or a Mapping, just pass the property
value directly as is done with strings and numbers

contributes to blueprint provider-resource

Change-Id: I71d5c0d9e3fcf3ffea9a89d2c37888faec35cd4a

11 years agoMerge "Tolerate an empty environment properties."
Jenkins [Wed, 10 Jul 2013 13:47:12 +0000 (13:47 +0000)]
Merge "Tolerate an empty environment properties."

11 years agoMerge "Make the waitcondition signed url more generic"
Jenkins [Wed, 10 Jul 2013 11:06:44 +0000 (11:06 +0000)]
Merge "Make the waitcondition signed url more generic"

11 years agoTolerate an empty environment properties.
Steve Baker [Tue, 9 Jul 2013 04:01:58 +0000 (16:01 +1200)]
Tolerate an empty environment properties.

An environment file containing the following:
properties:

Results in the following error:
 File "/home/steveb/dev/localstack/heat/heat/api/openstack/v1/stacks.py",
line 132, in environment
    env[self.PARAM_USER_PARAMS].update(parameters)
AttributeError: 'NoneType' object has no attribute 'update'

Change-Id: I7b36d797383cc3c74d4d0c77c283564b01aa6a6b

11 years agoMerge "Sync install_venv_common from oslo."
Jenkins [Tue, 9 Jul 2013 14:23:12 +0000 (14:23 +0000)]
Merge "Sync install_venv_common from oslo."

11 years agoAdd length validation to properties of type LIST and MAP.
Vijendar Komalla [Tue, 9 Jul 2013 14:12:43 +0000 (09:12 -0500)]
Add length validation to properties of type LIST and MAP.

Fixing bug #1194981

Change-Id: I0537f105a61bba82e85b6b67d2354b77d8096eb1

11 years agoMerge "Define behaviour for properties with None values."
Jenkins [Tue, 9 Jul 2013 13:01:54 +0000 (13:01 +0000)]
Merge "Define behaviour for properties with None values."

11 years agoMerge "Check duplicate names between params and resources"
Jenkins [Tue, 9 Jul 2013 13:01:31 +0000 (13:01 +0000)]
Merge "Check duplicate names between params and resources"

11 years agoMerge "Enforce credentials requirement on stack create/update."
Jenkins [Tue, 9 Jul 2013 13:01:29 +0000 (13:01 +0000)]
Merge "Enforce credentials requirement on stack create/update."

11 years agoUse new environment and parameters on stack update.
Steve Baker [Mon, 8 Jul 2013 23:45:07 +0000 (11:45 +1200)]
Use new environment and parameters on stack update.

Without this, changes in parameters specified in the update
will not propagate to resources.

Fixes bug: #1199189
Change-Id: Ic19b907e9dd12c121757cb7c6b3d0342415d0482

11 years agoDefine behaviour for properties with None values.
Steve Baker [Wed, 3 Jul 2013 03:21:23 +0000 (15:21 +1200)]
Define behaviour for properties with None values.

Now that Ref and Fn::GetAtt might return None values, behaviour for
properties with None values needs definition.

This change will treat a None value in the following way:
- if there is a default in the schema, that value will be used
- otherwise a default is used depending on the type ('', False, 0, [] {})

Fixes bug: #1192142

Change-Id: I59ae32c1c32b1bfede7d775aa845cd14246040e1

11 years agoLet git ignore pydev project description files
Liang Chen [Mon, 8 Jul 2013 07:23:17 +0000 (15:23 +0800)]
Let git ignore pydev project description files

Change-Id: Ice68ef444ae92c94a2f883a6db41359d0bcb9e71

11 years agoMerge "engine : add suspend/resume support to User resource"
Jenkins [Mon, 8 Jul 2013 03:27:33 +0000 (03:27 +0000)]
Merge "engine : add suspend/resume support to User resource"

11 years agoMerge "engine : add suspend/resume support to watch resource"
Jenkins [Mon, 8 Jul 2013 03:27:26 +0000 (03:27 +0000)]
Merge "engine : add suspend/resume support to watch resource"

11 years agoSuggest the use of tripelO images
Angus Salkeld [Mon, 8 Jul 2013 03:03:45 +0000 (13:03 +1000)]
Suggest the use of tripelO images

Change-Id: I8dfb18fe3f52baea99ed34cc271241b8e24c8104

11 years agoMake the waitcondition signed url more generic
Angus Salkeld [Thu, 4 Jul 2013 03:14:42 +0000 (13:14 +1000)]
Make the waitcondition signed url more generic

This will be used in a later patch, for alarms as well.

blueprint watch-ceilometer
Change-Id: I4b3a6be0effb975ddd8214741cfca6f40c493dbe

11 years agoCheck duplicate names between params and resources
Liang Chen [Sun, 7 Jul 2013 03:17:44 +0000 (11:17 +0800)]
Check duplicate names between params and resources

make sure there are no duplicate logical names across parameter
and resource definitions

Fixes bug #1196491

Change-Id: I353b84dd8b9bfe77b214e93cc9f1a080ebe2248b

11 years agoMerge "Stop patching the GenericResource's property_schema"
Jenkins [Sun, 7 Jul 2013 06:49:30 +0000 (06:49 +0000)]
Merge "Stop patching the GenericResource's property_schema"

11 years agoengine : add suspend/resume support to User resource
Steven Hardy [Thu, 4 Jul 2013 12:49:50 +0000 (13:49 +0100)]
engine : add suspend/resume support to User resource

When a User resource is in suspended state, disable the keystone
user owned by the resource

blueprint stack-suspend-resume

Change-Id: Iee8dddcfbc0fc9bd132ddfadd2a17eb1b0894f51

11 years agoengine : add suspend/resume support to watch resource
Steven Hardy [Wed, 3 Jul 2013 17:03:57 +0000 (18:03 +0100)]
engine : add suspend/resume support to watch resource

Add suspend/resume support to CloudWatchAlarm resource and
underlying watchrule - this means that when in suspended
state watches will not allow new metric data to be added
or for alarm evaluation/actions to happen

blueprint stack-suspend-resume

Change-Id: Ic9a1c1bd86ac8156f260791089a38889eabc6528

11 years agoSync install_venv_common from oslo.
Monty Taylor [Sat, 6 Jul 2013 02:05:47 +0000 (22:05 -0400)]
Sync install_venv_common from oslo.

Change-Id: Ic7d71c90d39370810e95efa592f00e936c5204f0

11 years agoMerge "cleanup watchrule delete logic/tests"
Jenkins [Fri, 5 Jul 2013 13:37:20 +0000 (13:37 +0000)]
Merge "cleanup watchrule delete logic/tests"

11 years agoStop patching the GenericResource's property_schema
Angus Salkeld [Fri, 5 Jul 2013 11:42:31 +0000 (21:42 +1000)]
Stop patching the GenericResource's property_schema

This is causing test failures if you add a new test
and don't reset the scema to {}, this seems to be timing
related. Just add Resource types that we need prevents the
need for this patching.

Change-Id: If7ddd2b1ffa8b54025c0369fe8c4f7440f0e3cdc

11 years agoMerge "Tolerate 404 on user delete."
Jenkins [Fri, 5 Jul 2013 03:24:10 +0000 (03:24 +0000)]
Merge "Tolerate 404 on user delete."

11 years agoEnforce credentials requirement on stack create/update.
Steve Baker [Wed, 3 Jul 2013 23:50:49 +0000 (11:50 +1200)]
Enforce credentials requirement on stack create/update.

Credentials need to be supplied whenever they are stored with the stack,
which is during stack create and update.

Some users have been relying on their auth token to perform all heat
operations (as all other openstack services support) however this has
led them to experience obscure errors when wait handles or alarms are
triggered.

Failing early with a clear error message will stop this class of errors.

Fixes bug: #1194303

Change-Id: I3edef3dee843bb06760be6294b798761eba30cb8

11 years agocleanup watchrule delete logic/tests
Steven Hardy [Thu, 4 Jul 2013 09:26:31 +0000 (10:26 +0100)]
cleanup watchrule delete logic/tests

Rework watchrule delete interface so we delete by ID, rather than
by name (where we only delete the first rule in the event of multiple
watcherule rows with the same name, which is allowed although not likely
in normal heat operation - it can cause weird behavior in the tests)

Encapsulating the delete in a WatchRule.destroy() is cleaner and more
consistent with the rest of the codebase, and reworking the tests to
ensure proper cleanup reduces the chances of odd errors and cascading
failures between tests on failure.

fixes bug #1197718

Change-Id: I94e9eb610519bb7321a2be7718312fd50f308a8b

11 years agoMerge "engine : autoscaling pass instance id's not names to loadbalancer"
Jenkins [Thu, 4 Jul 2013 03:19:22 +0000 (03:19 +0000)]
Merge "engine : autoscaling pass instance id's not names to loadbalancer"

11 years agoMerge "Fix command name display issue in heat-manage usage"
Jenkins [Wed, 3 Jul 2013 23:33:24 +0000 (23:33 +0000)]
Merge "Fix command name display issue in heat-manage usage"

11 years agoFix command name display issue in heat-manage usage
guohliu [Tue, 2 Jul 2013 14:49:23 +0000 (22:49 +0800)]
Fix command name display issue in heat-manage usage

Fixed bug #1194840

Change-Id: Ibe43d0a025f0aed6bec7e414f7e80d0a0f652308

11 years agoengine : autoscaling pass instance id's not names to loadbalancer
Steven Hardy [Wed, 3 Jul 2013 13:40:32 +0000 (14:40 +0100)]
engine : autoscaling pass instance id's not names to loadbalancer

Regression caused by 4bc1bcb608379cc396113a03f2ae37ce78f9049c

We need to pass the id_list to the loadbalancer, otherwise it
can't lookup the instance IP adresses with nova and the loadbalancer
config ends up with 0.0.0.0 for every instance

Fixes bug #1192128

Change-Id: I73bab70e897c0fb0b317793fa31ff8d07720a6c4

11 years agoMerge "Rework associations from vpc to quantum resources."
Jenkins [Wed, 3 Jul 2013 07:55:21 +0000 (07:55 +0000)]
Merge "Rework associations from vpc to quantum resources."

11 years agoMerge "Fixup assert_has_keys."
Jenkins [Wed, 3 Jul 2013 07:51:12 +0000 (07:51 +0000)]
Merge "Fixup assert_has_keys."

11 years agoMerge "engine : perform periodic tasks with stored stack_context"
Jenkins [Wed, 3 Jul 2013 07:51:10 +0000 (07:51 +0000)]
Merge "engine : perform periodic tasks with stored stack_context"

11 years agoMerge "implement stack metadata"
Jenkins [Wed, 3 Jul 2013 07:51:07 +0000 (07:51 +0000)]
Merge "implement stack metadata"

11 years agoMerge "Rackspace cloud database resource provider"
Jenkins [Tue, 2 Jul 2013 17:23:47 +0000 (17:23 +0000)]
Merge "Rackspace cloud database resource provider"

11 years agoMerge "Ports depend on the subnets in the same network."
Jenkins [Tue, 2 Jul 2013 16:19:49 +0000 (16:19 +0000)]
Merge "Ports depend on the subnets in the same network."

11 years agoMerge "tests : remove duplicate suspend tests"
Jenkins [Tue, 2 Jul 2013 16:19:41 +0000 (16:19 +0000)]
Merge "tests : remove duplicate suspend tests"

11 years agoMerge "add missing gettextutils imports"
Jenkins [Tue, 2 Jul 2013 16:08:44 +0000 (16:08 +0000)]
Merge "add missing gettextutils imports"

11 years agoMerge "Expose resource dependency required_by to REST API."
Jenkins [Tue, 2 Jul 2013 15:57:23 +0000 (15:57 +0000)]
Merge "Expose resource dependency required_by to REST API."

11 years agoRackspace cloud database resource provider
Vijendar Komalla [Mon, 1 Jul 2013 17:48:47 +0000 (12:48 -0500)]
Rackspace cloud database resource provider

Change-Id: I0bdacb844d5e5999e70918352e58856c1b21692c

11 years agoMerge "Add resume support to InstanceGroup"
Jenkins [Tue, 2 Jul 2013 14:21:37 +0000 (14:21 +0000)]
Merge "Add resume support to InstanceGroup"

11 years agoadd missing gettextutils imports
Steven Hardy [Tue, 2 Jul 2013 13:22:24 +0000 (14:22 +0100)]
add missing gettextutils imports

Several files use the "_" function, but don't import it from
gettextutils - this leads to a "NameError: name '_' is not
defined" error if you try to import/use the modules from an
interactive python shell or standalone test-code.

Change-Id: Id28b45d71eeda64fbfaa6234b12cff45fcd2ce40

11 years agoengine : perform periodic tasks with stored stack_context
Steven Hardy [Tue, 2 Jul 2013 13:17:30 +0000 (14:17 +0100)]
engine : perform periodic tasks with stored stack_context

The metadata update needs to be performed with the stored stack_context,
not the admin_context, which contains no credentials to e.g authenticate
with nova

Fixes bug #1196618

Change-Id: I0451604535a731de5ad57d2d52cdf183e58cf7b0

11 years agoMerge "engine : resume support for nested stacks"
Jenkins [Tue, 2 Jul 2013 09:46:09 +0000 (09:46 +0000)]
Merge "engine : resume support for nested stacks"

11 years agoMerge "api : Add actions resume support"
Jenkins [Tue, 2 Jul 2013 09:46:01 +0000 (09:46 +0000)]
Merge "api : Add actions resume support"

11 years agoMerge "Add resume support to Instance"
Jenkins [Tue, 2 Jul 2013 09:15:20 +0000 (09:15 +0000)]
Merge "Add resume support to Instance"

11 years agoimplement stack metadata
Liang Chen [Sun, 23 Jun 2013 15:17:18 +0000 (23:17 +0800)]
implement stack metadata

make metadata and delete/update policy accessible to stack resource

Blueprint stack-metadata

Change-Id: I2251b730ce7fb70b8b28f065479b9b6a7e8a1f33

11 years agoMerge "Get rid of template caching in resources"
Jenkins [Tue, 2 Jul 2013 05:16:07 +0000 (05:16 +0000)]
Merge "Get rid of template caching in resources"

11 years agoMerge "Explicitly pass old json snippet to update"
Jenkins [Tue, 2 Jul 2013 05:14:40 +0000 (05:14 +0000)]
Merge "Explicitly pass old json snippet to update"

11 years agoRework associations from vpc to quantum resources.
Steve Baker [Mon, 20 May 2013 22:01:16 +0000 (10:01 +1200)]
Rework associations from vpc to quantum resources.

Metadata cannot be used to store the relationships between VPC
resources and the underlying quantum resources, since this prevents
VPC or Subnet refs from being passed in as parameters.

This rework results in no state being stored in metadata. Route table
relationships are inferred from the template. An assumption is made that
the quantum router associatiated with the VPC will have the same name
as the quantum net. The easiest way of ensuring that is to creat the VPC
in a different Heat stack.

Fixes bug: #1165050
Fixes bug: #1165056
Fixes bug: #1166779
Fixes bug: #1166787

Change-Id: I6fb087bfc63ed13703089a16ed57858e6911b7d8

11 years agoTolerate 404 on user delete.
Steve Baker [Tue, 2 Jul 2013 03:17:34 +0000 (15:17 +1200)]
Tolerate 404 on user delete.

Fixes bug: #1196707

Change-Id: I70f43f2f789b2c36983d0cecf41604e89268c09e

11 years agoMerge "Add initial resume logic to engine"
Jenkins [Mon, 1 Jul 2013 22:36:45 +0000 (22:36 +0000)]
Merge "Add initial resume logic to engine"

11 years agoMerge "check content type in JSONRequestDeserializer"
Jenkins [Mon, 1 Jul 2013 22:14:43 +0000 (22:14 +0000)]
Merge "check content type in JSONRequestDeserializer"

11 years agoMerge "destroy failed instances created by auto scaling"
Jenkins [Mon, 1 Jul 2013 11:45:46 +0000 (11:45 +0000)]
Merge "destroy failed instances created by auto scaling"

11 years agoGet rid of template caching in resources
Zane Bitter [Thu, 13 Jun 2013 18:03:28 +0000 (20:03 +0200)]
Get rid of template caching in resources

This is no longer used anywhere.

Change-Id: I3b320a1668f5ba532b01b289222a56126c19c8aa

11 years agoExplicitly pass old json snippet to update
Zane Bitter [Thu, 13 Jun 2013 18:03:28 +0000 (20:03 +0200)]
Explicitly pass old json snippet to update

Don't use state cached in the resource.

Change-Id: Ib6c7830ce40b72c9cd388c054fcb41ff93963b4d

11 years agotests : remove duplicate suspend tests
Steven Hardy [Mon, 1 Jul 2013 10:27:26 +0000 (11:27 +0100)]
tests : remove duplicate suspend tests

A previous patch erroneously introduced two copies of the same
tests, remove the stackServiceTest duplicates as they already
exist in the stackServiceSuspendResumeTest testcase.

Change-Id: Iec00fd8dbe0d0bc6b2718b03cc4fe40b9ba481c3

11 years agoAdd resume support to InstanceGroup
Steven Hardy [Fri, 28 Jun 2013 15:53:44 +0000 (16:53 +0100)]
Add resume support to InstanceGroup

Change-Id: I491bfd3475e12c2e5b8675d92d93f855b590423b
blueprint: stack-suspend-resume

11 years agoengine : resume support for nested stacks
Steven Hardy [Fri, 28 Jun 2013 13:51:54 +0000 (14:51 +0100)]
engine : resume support for nested stacks

Change-Id: I82da46c6f18c035927c6305968470db613d7229c
blueprint: stack-suspend-resume

11 years agoapi : Add actions resume support
Steven Hardy [Fri, 28 Jun 2013 10:15:40 +0000 (11:15 +0100)]
api : Add actions resume support

Add support for resume action using a similar interface to that provided
by nova for the admin actions extension.  So a body of {'resume': None}
will suspend the stack, see http://api.openstack.org/api-ref.html

Change-Id: I89bbafbe2f8b2503f241659a36b83ceab605e763
blueprint: stack-suspend-resume

11 years agoAdd resume support to Instance
Steven Hardy [Fri, 28 Jun 2013 13:43:04 +0000 (14:43 +0100)]
Add resume support to Instance

Change-Id: Id02c74243ff5fcd67ec8f6200ee7969b34f2faa1
blueprint: stack-suspend-resume

11 years agoAdd initial resume logic to engine
Steven Hardy [Fri, 28 Jun 2013 10:10:32 +0000 (11:10 +0100)]
Add initial resume logic to engine

Change-Id: I08e08bb3edbc83ecce831c8fe7ad718ad7476634
blueprint: stack-suspend-resume

11 years agoMerge "Fixup handle_create backup restore."
Jenkins [Mon, 1 Jul 2013 09:58:33 +0000 (09:58 +0000)]
Merge "Fixup handle_create backup restore."