]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
11 years agoHot SoftwareConfig model part
JUN JIE NAN [Wed, 7 Aug 2013 06:35:13 +0000 (14:35 +0800)]
Hot SoftwareConfig model part

Provide components model and related methods

Implements blueprint hot-software-config

Change-Id: I251d10f25943513ef346883263a4dd2e0f6fb7a6

11 years agoMove property constraints validation to Schema
Zane Bitter [Tue, 13 Aug 2013 08:48:16 +0000 (10:48 +0200)]
Move property constraints validation to Schema

Change-Id: I6e296dfc2243da7cabd24d65799036fc245f0f7a

11 years agoRemove unneccessary Property constraints from unit tests
Zane Bitter [Tue, 13 Aug 2013 08:48:15 +0000 (10:48 +0200)]
Remove unneccessary Property constraints from unit tests

It doesn't really make a lot of sense to have constraints on the number of
keys in a Map Property, or on the allowed values in a List Property. In
both cases, we can and should define the Schema for each item. Neither is
used anywhere in the code, since the new Schema/Constraints do not allow
it, and SchemaTest.test_all_resource_schemata() tests that all existing
schemata are valid.

Change-Id: I24e11ec59c75ef770bf040ee8151bbe061f4a864

11 years agoAdd constraint checking to Property schema
Zane Bitter [Tue, 13 Aug 2013 08:48:15 +0000 (10:48 +0200)]
Add constraint checking to Property schema

Change-Id: Ibec4068a0497ca6ac1dd25decd27fa87585b18a3

11 years agoMerge "Introduce new resource_data_delete db api"
Jenkins [Tue, 13 Aug 2013 00:53:16 +0000 (00:53 +0000)]
Merge "Introduce new resource_data_delete db api"

11 years agoMerge "ReST API: Add an API for retrieving resource schemata"
Jenkins [Mon, 12 Aug 2013 23:59:49 +0000 (23:59 +0000)]
Merge "ReST API: Add an API for retrieving resource schemata"

11 years agoIntroduce new resource_data_delete db api
Thomas Herve [Mon, 12 Aug 2013 14:51:36 +0000 (16:51 +0200)]
Introduce new resource_data_delete db api

This allows removing data associated during to resources during its
lifecycle.

Change-Id: Id45e7cb9129a8187229c708e0d3f6cb2a591bb39

11 years agoMerge "Fail fast if Resource action methods are missing"
Jenkins [Mon, 12 Aug 2013 15:41:29 +0000 (15:41 +0000)]
Merge "Fail fast if Resource action methods are missing"

11 years agoMerge "Get rid of unused greenlet things in test_resource"
Jenkins [Mon, 12 Aug 2013 12:11:47 +0000 (12:11 +0000)]
Merge "Get rid of unused greenlet things in test_resource"

11 years agoMerge "Resolve LaunchConfig references"
Jenkins [Mon, 12 Aug 2013 11:59:58 +0000 (11:59 +0000)]
Merge "Resolve LaunchConfig references"

11 years agoMerge "Initial input for HOT template guide and spec"
Jenkins [Mon, 12 Aug 2013 11:02:36 +0000 (11:02 +0000)]
Merge "Initial input for HOT template guide and spec"

11 years agoMerge "Don't raise ResourceFailure directly in Instance"
Jenkins [Mon, 12 Aug 2013 11:02:29 +0000 (11:02 +0000)]
Merge "Don't raise ResourceFailure directly in Instance"

11 years agoMerge "Enable multi-cloud standalone mode"
Jenkins [Mon, 12 Aug 2013 11:02:22 +0000 (11:02 +0000)]
Merge "Enable multi-cloud standalone mode"

11 years agoResolve LaunchConfig references
Angus Salkeld [Mon, 12 Aug 2013 10:50:52 +0000 (20:50 +1000)]
Resolve LaunchConfig references

Autoscaling was not working if there were references in the launchconfig.

bug 1211125
Change-Id: Ie3be79d579e87a8026690cbe40c9056591c00e31

11 years agoGet rid of unused greenlet things in test_resource
Alexander Gordeev [Fri, 9 Aug 2013 13:25:58 +0000 (17:25 +0400)]
Get rid of unused greenlet things in test_resource

Removing useless test cases containing greenlet.GreenletExit
for the sake of 56d5fb9f83b647d27a00d56cb4dad8aad9e1169f

Change-Id: I6a1463c8467ee1750a66b00758428bc74f9371eb

11 years agoFail fast if Resource action methods are missing
Zane Bitter [Mon, 12 Aug 2013 09:12:33 +0000 (11:12 +0200)]
Fail fast if Resource action methods are missing

If a resource is not actually a Resource with create(), delete() &c.
methods then something has gone horribly, horribly wrong. This is not a
priority for handling gracefully at runtime.

Change-Id: Iafce8e4a222677fc590bb579654e195dc4252a9e

11 years agoDon't raise ResourceFailure directly in Instance
Zane Bitter [Mon, 12 Aug 2013 08:50:57 +0000 (10:50 +0200)]
Don't raise ResourceFailure directly in Instance

It's meant to be a wrapper around other exceptions that's invoked by
top-level resource operations; don't use it as an all-purpose exception.

Change-Id: I295202bca603006a4d5f5d56110fc4298ddd9cec

11 years agoReST API: Add an API for retrieving resource schemata
Zane Bitter [Mon, 12 Aug 2013 07:51:39 +0000 (09:51 +0200)]
ReST API: Add an API for retrieving resource schemata

blueprint resource-properties-schema

Change-Id: I07523a5996eea37a414310c21414be6454d08bfe

11 years agoRPC: Add an RPC call to get a resource type schema
Zane Bitter [Mon, 12 Aug 2013 07:51:39 +0000 (09:51 +0200)]
RPC: Add an RPC call to get a resource type schema

blueprint resource-properties-schema

Change-Id: Id316393d84b6f1112b80caf14ffb98c937597f40

11 years agoRPC Client: Add missing unit tests
Zane Bitter [Mon, 12 Aug 2013 07:51:39 +0000 (09:51 +0200)]
RPC Client: Add missing unit tests

Change-Id: I6b54a6a2191d094f539045567260e84b962b961b

11 years agoMerge "Port policy from oslo and refactor heat policy"
Jenkins [Mon, 12 Aug 2013 06:09:51 +0000 (06:09 +0000)]
Merge "Port policy from oslo and refactor heat policy"

11 years agoPort policy from oslo and refactor heat policy
guohliu [Wed, 31 Jul 2013 16:28:56 +0000 (00:28 +0800)]
Port policy from oslo and refactor heat policy

This patch is to refactor Heat's usage to allow bringing the
policy code from oslo up to the current version to address
many fixed bugs which affect Heat.

    1. Refactor the heat wrapper policy.
    2. Add netaddr in requirement.txt.
    3. Add necessary unit test to cover the refactor part code.

Oslo commit: 3626b6db91ce1e897d1993fb4e13ac4237d04b7f
Fixes bug #1192551

Change-Id: Ia71d14b2cfde9110216ba38a515fee16d0f0c35e

11 years agoEnable multi-cloud standalone mode
Ben Nemec [Sun, 11 Aug 2013 23:15:17 +0000 (18:15 -0500)]
Enable multi-cloud standalone mode

Adds a multi_cloud configuration parameter for auth_password that
tells a standalone Heat installation to look for its auth_url in
the request headers instead of the configuration file.  Also adds
an allowed_auth_uris configuration option to specify which
auth_urls are allowed as targets.

bp heat-multicloud

Change-Id: Ic0929586ac3b57c7f9f3335e0dbd5e14e6b56067

11 years agoMerge "Fix problem creating ResourceFailure"
Jenkins [Mon, 12 Aug 2013 02:39:47 +0000 (02:39 +0000)]
Merge "Fix problem creating ResourceFailure"

11 years agoMerge "Tidy up RPC API definitions"
Jenkins [Sun, 11 Aug 2013 07:10:13 +0000 (07:10 +0000)]
Merge "Tidy up RPC API definitions"

11 years agoMerge "Define a Schema format for properties"
Jenkins [Sun, 11 Aug 2013 07:10:06 +0000 (07:10 +0000)]
Merge "Define a Schema format for properties"

11 years agoFix problem creating ResourceFailure
Ben Nemec [Sat, 10 Aug 2013 01:12:23 +0000 (20:12 -0500)]
Fix problem creating ResourceFailure

The ResourceFailure exception is being instantiated improperly in
a couple of places.  This changes fixes the problem and adds tests
to cover the problem cases.

Change-Id: I2662a3abde1fd00d275e2190401c20166256cae0
Closes-Bug: 1210681

11 years agoMerge "Tolerance for modified ceilometer alarm notification"
Jenkins [Fri, 9 Aug 2013 20:34:04 +0000 (20:34 +0000)]
Merge "Tolerance for modified ceilometer alarm notification"

11 years agoTidy up RPC API definitions
Zane Bitter [Fri, 9 Aug 2013 18:19:50 +0000 (20:19 +0200)]
Tidy up RPC API definitions

Ensure that the layouts of names and values match.

Change-Id: I8cea3dc7ea1fd2a1b722ddd7058564d5195b738b

11 years agoDefine a Schema format for properties
Zane Bitter [Fri, 9 Aug 2013 18:19:50 +0000 (20:19 +0200)]
Define a Schema format for properties

Define a Schema class for properties and their constraints that is easily
serialisable to a JSON schema format that matches the proposed Parameter
input syntax for HOT. Since resource properties have not been exposed to
the user before, this format will make the most sense to a user in the long
term.

A future patch will switch the Property validation code over to using
Schema objects instead of the dictionary-based schemata currently in use.

blueprint resource-properties-schema

Change-Id: I79fa5927bdffeaf103a1c2ba58b709b4ba72b551

11 years agoRemove meaningless property set in models.HeatBase
Liang Chen [Fri, 9 Aug 2013 15:52:36 +0000 (23:52 +0800)]
Remove meaningless property set in models.HeatBase

Seems this was originally ported from Glance.

Change-Id: I8124e9495a5c7585052e149481db44d1e180ac7d

11 years agoTolerance for modified ceilometer alarm notification
Eoghan Glynn [Fri, 9 Aug 2013 09:42:53 +0000 (09:42 +0000)]
Tolerance for modified ceilometer alarm notification

Changes to the ceilometer alarm notification payload are
proposed here:

  https://review.openstack.org/40955
  https://review.openstack.org/41056

i.e. field names in the JSON payload are changed with:

  s/state/current/
  s/alarm/alarm_id/

Tolerance is added to the autoscaling logic for the new
field names.

Change-Id: I19f36d9331b6f28a3195fb5012ea0b9ee274ade3

11 years agoMerge "Use openstack rpc functions to generate _Remote exceptions"
Jenkins [Fri, 9 Aug 2013 10:24:07 +0000 (10:24 +0000)]
Merge "Use openstack rpc functions to generate _Remote exceptions"

11 years agoMerge "HOT parameter validator part"
Jenkins [Fri, 9 Aug 2013 10:10:18 +0000 (10:10 +0000)]
Merge "HOT parameter validator part"

11 years agoInitial input for HOT template guide and spec
Thomas Spatzier [Thu, 8 Aug 2013 16:59:11 +0000 (18:59 +0200)]
Initial input for HOT template guide and spec

This patch adds initial input for the HOT template guide and the HOT
specification.
Note that content so far is based on features implemented so far and
not forward-looking in any way. Whenever new features get implemented,
the guide and spec will be extended appropriately.

Contributes to blueprint hot-specification

Change-Id: I63d29ab0a1db6703b39f981161063d4fd9f97126

11 years agoMerge "Implement neutron pool resource"
Jenkins [Fri, 9 Aug 2013 03:58:27 +0000 (03:58 +0000)]
Merge "Implement neutron pool resource"

11 years agoMerge "Implement neutron health monitor resource"
Jenkins [Fri, 9 Aug 2013 03:58:20 +0000 (03:58 +0000)]
Merge "Implement neutron health monitor resource"

11 years agoMerge "db: Remove deprecated assert_unicode attribute"
Jenkins [Fri, 9 Aug 2013 03:02:37 +0000 (03:02 +0000)]
Merge "db: Remove deprecated assert_unicode attribute"

11 years agoMerge "Add unittests for faultwrap middleware"
Jenkins [Fri, 9 Aug 2013 03:02:30 +0000 (03:02 +0000)]
Merge "Add unittests for faultwrap middleware"

11 years agoMerge "Remove unnecessary individual import tests.utils.X"
Jenkins [Fri, 9 Aug 2013 01:56:11 +0000 (01:56 +0000)]
Merge "Remove unnecessary individual import tests.utils.X"

11 years agoRemove unnecessary individual import tests.utils.X
Liang Chen [Thu, 8 Aug 2013 16:41:37 +0000 (00:41 +0800)]
Remove unnecessary individual import tests.utils.X

Fixes bug #1210183

Change-Id: I530675329a17b10ef684ceec6c51b418726abdb2

11 years agoMerge "Updated from global requirements"
Jenkins [Thu, 8 Aug 2013 22:05:55 +0000 (22:05 +0000)]
Merge "Updated from global requirements"

11 years agoMerge "Refactor compute resources to use nova_utils"
Jenkins [Thu, 8 Aug 2013 17:21:57 +0000 (17:21 +0000)]
Merge "Refactor compute resources to use nova_utils"

11 years agoMerge "Remove raw_template_get_all from db api"
Jenkins [Thu, 8 Aug 2013 17:21:49 +0000 (17:21 +0000)]
Merge "Remove raw_template_get_all from db api"

11 years agoMerge "Provide a way to clean up soft deleted data"
Jenkins [Thu, 8 Aug 2013 17:17:39 +0000 (17:17 +0000)]
Merge "Provide a way to clean up soft deleted data"

11 years agoMerge "Enable stack soft delete for event persistence"
Jenkins [Thu, 8 Aug 2013 17:17:32 +0000 (17:17 +0000)]
Merge "Enable stack soft delete for event persistence"

11 years agoMerge "Exclude heat-cfn, heat-watch from pep8"
Jenkins [Thu, 8 Aug 2013 16:15:42 +0000 (16:15 +0000)]
Merge "Exclude heat-cfn, heat-watch from pep8"

11 years agoRemove raw_template_get_all from db api
Liang Chen [Wed, 7 Aug 2013 00:18:14 +0000 (08:18 +0800)]
Remove raw_template_get_all from db api

This is not used anywhere in the code base anymore, and does not
seem to be useful in the future.

Change-Id: I5964bc0d402abdb5dde889a4c605fe4d4b4b1376

11 years agoProvide a way to clean up soft deleted data
Liang Chen [Fri, 26 Jul 2013 13:39:09 +0000 (21:39 +0800)]
Provide a way to clean up soft deleted data

Add a purge_deleted command to heat-manage. The command takes an
'age' argument, and removes all database records that have been soft
deleted for more than 'age' days. Default to 90.

blueprint event-persistence

Change-Id: I8a62108a907b4e709c91a93a1f7db6c702cec6b5

11 years agoEnable stack soft delete for event persistence
Liang Chen [Wed, 7 Aug 2013 00:08:22 +0000 (08:08 +0800)]
Enable stack soft delete for event persistence

Instead of removing database records when deleting data from stack,
table, mark them as deleted through the deleted_at field. And allow
access to soft deleted records by stack Id.

blueprint event-persistence

Change-Id: Iaddd9ba683deab65a9b2be3cc2e727c34e816dd4

11 years agoImplement neutron pool resource
Thomas Herve [Wed, 7 Aug 2013 11:48:04 +0000 (13:48 +0200)]
Implement neutron pool resource

The branch adds a new resource creating pool instances in
Neutron LBAAS.

Change-Id: Ie55dd0cc5d2a67296ab175dc3bea11ffb63ba928
Implements: blueprint lbaas-resource

11 years agoImplement neutron health monitor resource
Thomas Herve [Tue, 6 Aug 2013 09:32:40 +0000 (11:32 +0200)]
Implement neutron health monitor resource

The branch adds a new resource creating health-monitor instances in
Neutron LBAAS.

Implements: blueprint lbaas-resources
Change-Id: Ie133f9c55bf57166e1999bbc0f11fd9b9519c1c2

11 years agodb: Remove deprecated assert_unicode attribute
Chuck Short [Thu, 8 Aug 2013 12:41:58 +0000 (08:41 -0400)]
db: Remove deprecated assert_unicode attribute

Remove deprecated assert_unicode sqlalchemy attribute,
removed in sqlalchemy 0.8.0. The deprecation is described
at:

http://docs.sqlalchemy.org/en/latest/changelog/changelog_08.html#change-ad44af79c886d1bb283042deb64f9cbe

Change-Id: I874be66948fc296bc6afe7f731dc4731645f0fbe
Signed-off-by: Chuck Short <chuck.short@canonical.com>
11 years agoRefactor some tests for stack soft-delete
Liang Chen [Wed, 7 Aug 2013 00:04:12 +0000 (08:04 +0800)]
Refactor some tests for stack soft-delete

A few tests need to be refactored so that they will not break after
applying soft-delete on stack table.

blueprint event-persistence

Change-Id: I62d958521ca41717455d5a26756966cab8bf2bb7

11 years agoAdd unittests for faultwrap middleware
Jianing YANG [Thu, 8 Aug 2013 04:55:37 +0000 (12:55 +0800)]
Add unittests for faultwrap middleware

Partially implements bp exception-formatting

Change-Id: Ib57ce625775e222e5b42b22c10687bce7b63d26d

11 years agoUse openstack rpc functions to generate _Remote exceptions
Jianing YANG [Thu, 8 Aug 2013 07:36:00 +0000 (15:36 +0800)]
Use openstack rpc functions to generate _Remote exceptions

use serialize_remote_exception and deserialize_remote_exception
to generate _Remote exceptions in api testing.

Change-Id: I30865306830678db493b83512bbcfac3b27ff13b

11 years agoMerge "Provide a way to clean up testing database"
Jenkins [Thu, 8 Aug 2013 09:11:21 +0000 (09:11 +0000)]
Merge "Provide a way to clean up testing database"

11 years agoMerge "Refactor InstanceGroup to use a nested stack"
Jenkins [Thu, 8 Aug 2013 04:54:08 +0000 (04:54 +0000)]
Merge "Refactor InstanceGroup to use a nested stack"

11 years agoMerge "Add missing _ imports to allow doc generation"
Jenkins [Thu, 8 Aug 2013 04:48:24 +0000 (04:48 +0000)]
Merge "Add missing _ imports to allow doc generation"

11 years agoMerge "Fix H231 Python 3.x incompatible 'except x,y:'"
Jenkins [Thu, 8 Aug 2013 04:48:17 +0000 (04:48 +0000)]
Merge "Fix H231 Python 3.x incompatible 'except x,y:'"

11 years agoMerge "Fix H501 Do not use locals() for string formatting"
Jenkins [Thu, 8 Aug 2013 04:47:57 +0000 (04:47 +0000)]
Merge "Fix H501 Do not use locals() for string formatting"

11 years agoMerge "Implement an "Action in progress" error."
Jenkins [Thu, 8 Aug 2013 03:43:16 +0000 (03:43 +0000)]
Merge "Implement an "Action in progress" error."

11 years agoExclude heat-cfn, heat-watch from pep8
Steve Baker [Thu, 8 Aug 2013 02:13:07 +0000 (14:13 +1200)]
Exclude heat-cfn, heat-watch from pep8

They are due for removal in https://review.openstack.org/#/c/38228/
and are causing many H233 errors when using the syncronised
requirements versions.

Change-Id: Ie632de44360519a0f705052ebaf4fe1304a0c290

11 years agoFix H231 Python 3.x incompatible 'except x,y:'
Steve Baker [Thu, 8 Aug 2013 02:10:57 +0000 (14:10 +1200)]
Fix H231 Python 3.x incompatible 'except x,y:'

This is triggered in the pep8 check when using the syncronised
requirements versions.

Change-Id: Ie73c44b85025f79e7358303fab2697e076f7cabf

11 years agoFix H501 Do not use locals() for string formatting
Steve Baker [Thu, 8 Aug 2013 02:03:03 +0000 (14:03 +1200)]
Fix H501 Do not use locals() for string formatting

This is triggered in the pep8 check when using the syncronised
requirements versions.

Change-Id: If0e38fecaf32d4ba6ec9755f2f11c675acf6d20b

11 years agoProvide a way to clean up testing database
Liang Chen [Tue, 6 Aug 2013 23:50:27 +0000 (07:50 +0800)]
Provide a way to clean up testing database

We will need to clean up stacks(hard delete) sometimes in the tests.
Resoure, ResourceData, and Event need to be cleaned up as well because
of the integrity constraints.

blueprint event-persistence

Change-Id: I355f7a9909eb3ad3febca62fdb57ecbaab73f2ce

11 years agoAdd missing _ imports to allow doc generation
Steve Baker [Wed, 7 Aug 2013 23:20:48 +0000 (11:20 +1200)]
Add missing _ imports to allow doc generation

Fixes bug: 1209413

Change-Id: I7d405ceb6a500cbb3d0eb19e85cb0540564e0643

11 years agoRefactor compute resources to use nova_utils
Randall Burt [Wed, 7 Aug 2013 00:48:02 +0000 (19:48 -0500)]
Refactor compute resources to use nova_utils

Change-Id: I4a03a8062998c8f713ada47d0d86f2ace52cc253

11 years agoUpdated from global requirements
Monty Taylor [Wed, 7 Aug 2013 22:19:14 +0000 (19:19 -0300)]
Updated from global requirements

Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530

11 years agoMerge "Refactor useful nova functions for re-use."
Jenkins [Wed, 7 Aug 2013 20:00:11 +0000 (20:00 +0000)]
Merge "Refactor useful nova functions for re-use."

11 years agoImplement an "Action in progress" error.
Jason Dunsmore [Thu, 1 Aug 2013 17:37:29 +0000 (12:37 -0500)]
Implement an "Action in progress" error.

Raises an "Action in progress" error if an action is in progress when
another action is issued.

Fixes bug #1207032

Change-Id: I2b6fd92cfa4b93ac2531dd3d76bf2dfc01e58c50

11 years agoDon't cache data from the API that could change.
Jason Dunsmore [Fri, 2 Aug 2013 20:19:30 +0000 (15:19 -0500)]
Don't cache data from the API that could change.

The Cloud Server resource caches Nova server objects, which could change
between Heat calls.  Heat should get new data from the Nova API on each
run.

Fixes bug #1208559

Change-Id: I7dd8a99745cf8a3aab974468acae8dc1f85369ee

11 years agoMerge "Rename Quantum to Neutron"
Jenkins [Wed, 7 Aug 2013 13:00:38 +0000 (13:00 +0000)]
Merge "Rename Quantum to Neutron"

11 years agoMerge "Add help option to Config Settings"
Jenkins [Wed, 7 Aug 2013 13:00:32 +0000 (13:00 +0000)]
Merge "Add help option to Config Settings"

11 years agoMerge "Fix test cases pass dict schema directly as parameter schema object"
Jenkins [Wed, 7 Aug 2013 13:00:30 +0000 (13:00 +0000)]
Merge "Fix test cases pass dict schema directly as parameter schema object"

11 years agoMerge "DB models and migration scripts for soft delete"
Jenkins [Wed, 7 Aug 2013 13:00:28 +0000 (13:00 +0000)]
Merge "DB models and migration scripts for soft delete"

11 years agoStop copying UUIDStub, put it into tests.utils
Angus Salkeld [Wed, 7 Aug 2013 10:24:17 +0000 (20:24 +1000)]
Stop copying UUIDStub, put it into tests.utils

Change-Id: Ice52f4294df5575579795eecfcbae9748f252e2e

11 years agoHOT parameter validator part
JUN JIE NAN [Thu, 1 Aug 2013 03:14:12 +0000 (11:14 +0800)]
HOT parameter validator part

Introduce new class ParamSchema to decouple parameter and its schema,
do validation in schema, for hot template, implement HotParamSchema as
it subclass.

Implements blueprint hot-parameters

Change-Id: I8720c62e41a1f182584c4518163d422784c23b37

11 years agoFix test cases pass dict schema directly as parameter schema object
JUN JIE NAN [Thu, 1 Aug 2013 03:14:12 +0000 (11:14 +0800)]
Fix test cases pass dict schema directly as parameter schema object

Filter the parameter schema snippet through a Template object and out
the other side completely unchanged before passing it to Parameter.

Implements blueprint hot-parameters

Change-Id: I8c3dd99c1a2f460f50a92565d9098c70c9e77a8a

11 years agoRename Quantum to Neutron
Steven Dake [Wed, 7 Aug 2013 02:41:26 +0000 (19:41 -0700)]
Rename Quantum to Neutron

quantumclient is gone upstream and has been replaced by neutronclient.

This patch retains the OS::Quantum::XX namespace

Fixes: bug #1197208
Change-Id: Id48f9598ea1884132d411ad533770ae49494102b

11 years agoMerge "Don't assign "error" variable twice."
Jenkins [Wed, 7 Aug 2013 04:54:56 +0000 (04:54 +0000)]
Merge "Don't assign "error" variable twice."

11 years agoMerge "Add the enabled property to the ceilometer alarm."
Jenkins [Wed, 7 Aug 2013 03:06:12 +0000 (03:06 +0000)]
Merge "Add the enabled property to the ceilometer alarm."

11 years agoMerge "Returns text error when instance validation fails"
Jenkins [Wed, 7 Aug 2013 02:14:41 +0000 (02:14 +0000)]
Merge "Returns text error when instance validation fails"

11 years agoAdd the enabled property to the ceilometer alarm.
Angus Salkeld [Mon, 5 Aug 2013 12:46:40 +0000 (22:46 +1000)]
Add the enabled property to the ceilometer alarm.

Change-Id: Ic0f96be74f36884868dad52b0bfe494406e031d9

11 years agoRefactor useful nova functions for re-use.
Randall Burt [Tue, 6 Aug 2013 22:07:26 +0000 (17:07 -0500)]
Refactor useful nova functions for re-use.

Refactor handy nova functions out of Instance and into a helper
module. This allows alternate compute implementations to use
this functionality without having to subclass.

Change-Id: I529e2d1324981de7336264b5c697f1944668d013

11 years agoRefactor InstanceGroup to use a nested stack
Christopher Armstrong [Mon, 22 Jul 2013 21:35:13 +0000 (16:35 -0500)]
Refactor InstanceGroup to use a nested stack

Much of the code of InstanceGroup was able to be deleted in
preference for using the native functionality of StackResource.
InstanceGroup now generates a template and updates the nested
stack when it needs to be created or resized.

blueprint instance-group-nested-stack

Fixes bug 1189278

Change-Id: Ic08a55cad1ac34d69080c0ef2dae4877f1fefd29

11 years agoDB models and migration scripts for soft delete
Liang Chen [Thu, 25 Jul 2013 09:45:45 +0000 (17:45 +0800)]
DB models and migration scripts for soft delete

Only apply soft-delete on stack table for now. event, user_creds
and raw_template records will remain unchanged after stack
deletion, and those 'deleted' data can be cleaned up by the
purge_delete command provided in follow patch.

blueprint event-persistence

Change-Id: I173cc6037615ff252968297981c36e51cb9d3fd3

11 years agoReturns text error when instance validation fails
Jianing YANG [Thu, 25 Jul 2013 12:47:31 +0000 (20:47 +0800)]
Returns text error when instance validation fails

Since heat now is able to return parsable errors by middleware, we
don't need to return jsonfied error strings here.

Fixes Bug 1204582

Change-Id: Id3d68b9996ad67df0e25c6db5754f73bfa1e8830

11 years agoMerge "Fix test cases pass dict as template object directly."
Jenkins [Tue, 6 Aug 2013 08:51:20 +0000 (08:51 +0000)]
Merge "Fix test cases pass dict as template object directly."

11 years agoAdd Babel missing requirement
Clint Byrum [Tue, 6 Aug 2013 02:58:29 +0000 (19:58 -0700)]
Add Babel missing requirement

Babel is required by heat.openstack.common.gettextutils but was only in
test-requirements.txt.

Fixes bug #1208673

Change-Id: Iaffcbc861e64caa37d64335f0fb6e568672ffc52

11 years agoFix test cases pass dict as template object directly.
JUN JIE NAN [Mon, 5 Aug 2013 03:34:17 +0000 (11:34 +0800)]
Fix test cases pass dict as template object directly.

Pass an actual Template object instead of a dictionary to Parameters

Implements blueprint hot-parameters

Change-Id: I2c101ca3eaeb918b093b49069842c0d5c349ffc8

11 years agoMerge "Rename: VALUES to ALLOWED_VALUES, PATTERN to ALLOWED_PATTERN"
Jenkins [Tue, 6 Aug 2013 00:23:34 +0000 (00:23 +0000)]
Merge "Rename: VALUES to ALLOWED_VALUES, PATTERN to ALLOWED_PATTERN"

11 years agoMerge "Change token name from context."
Jenkins [Tue, 6 Aug 2013 00:23:33 +0000 (00:23 +0000)]
Merge "Change token name from context."

11 years agoMerge "Small tweaks to recreation of remote errors"
Jenkins [Mon, 5 Aug 2013 21:52:13 +0000 (21:52 +0000)]
Merge "Small tweaks to recreation of remote errors"

11 years agoMerge "Revert "Replace part_handler.py with write-files cloudinit mechanism""
Jenkins [Mon, 5 Aug 2013 19:47:09 +0000 (19:47 +0000)]
Merge "Revert "Replace part_handler.py with write-files cloudinit mechanism""

11 years agoDon't assign "error" variable twice.
Jason Dunsmore [Mon, 5 Aug 2013 18:56:42 +0000 (13:56 -0500)]
Don't assign "error" variable twice.

Fixes bug #1208567

Change-Id: Iaf22f68935d833d749615f998f402fe997e8e029

11 years agoMerge "Include the resource and action in ResourceFailure exceptions"
Jenkins [Mon, 5 Aug 2013 18:37:37 +0000 (18:37 +0000)]
Merge "Include the resource and action in ResourceFailure exceptions"

11 years agoMerge "Unit tests: Don't raise ResourceFailure directly"
Jenkins [Mon, 5 Aug 2013 18:37:30 +0000 (18:37 +0000)]
Merge "Unit tests: Don't raise ResourceFailure directly"

11 years agoMerge "unit tests: Add a handle_delete method to GenericResource"
Jenkins [Mon, 5 Aug 2013 18:37:23 +0000 (18:37 +0000)]
Merge "unit tests: Add a handle_delete method to GenericResource"

11 years agoChange token name from context.
Andrew Plunk [Thu, 25 Jul 2013 19:04:06 +0000 (14:04 -0500)]
Change token name from context.

Remove password auth from pyrax to conform with
the changes going through the engine regarding
not using a password. Previous commit was an
incorrect branch with a bug.

blueprint pyrax-token-auth

Change-Id: I47cd00199133b88a2343b12c847635c726452629