]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
11 years agoUpdate specs to v. 2014.1.b2 openstack-ci/fuel-5.0/2014.1.rc2
Dmitry Burmistrov [Mon, 17 Mar 2014 11:30:50 +0000 (15:30 +0400)]
Update specs to v. 2014.1.b2
Change-Id: I0dbe64594918d390625f3d82801857dd8a7b887d

11 years agoDeleted SSL_parameters_for_various_clients_used_in_Heat_Havana_stable.patch because...
Max Rasskazov [Fri, 21 Mar 2014 10:35:13 +0000 (14:35 +0400)]
Deleted SSL_parameters_for_various_clients_used_in_Heat_Havana_stable.patch because it has removed from specs earlier

11 years agoPatch Allow-Address-Pairs-feature.patch moved to code
Max Rasskazov [Wed, 26 Mar 2014 16:49:02 +0000 (20:49 +0400)]
Patch Allow-Address-Pairs-feature.patch moved to code

Patch has been added to specs by:
> commit 17d6a09efb67cc9b19cc8a051401100e0896c531
> Author: Igor Yozhikov <iyozhikov@mirantis.com>
> Date:   Mon Dec 23 16:21:49 2013 +0400
>
>     Add new patches instead of 1 old

Patch info:
> From 94350f3206d067e7c9012ac5fb4c40555949d95c Mon Sep 17 00:00:00 2001
> From: Timur Sufiev <tsufiev@mirantis.com>
> Date: Thu, 5 Dec 2013 19:43:57 +0400
> Subject: [PATCH] Added support for Allow-Address-Pairs feature
>
> Added support for feature called Allow-Address-Pairs introduced in
> Ie73b3886c5be8e1fc4ade86a0cfb854267f345ac
>
> Implements: blueprint allowed-address-pairs
> Ported from: icehouse.

Change-request info:
> remote:
> remote: New Changes:\e[K
> remote:   http://gerrit.mirantis.com/13908\e[K
> remote:
> To ssh://mrasskazov@gerrit.mirantis.com:29418/openstack/heat.git
>  * [new branch]      HEAD -> refs/publish/openstack-ci/fuel-5.0/2014.1/Allow-Address-Pairs-feature.patch

11 years agoPatch Ability-to-configure-various-clients-used-by-the-Heat.patch moved to code
Max Rasskazov [Wed, 26 Mar 2014 16:48:49 +0000 (20:48 +0400)]
Patch Ability-to-configure-various-clients-used-by-the-Heat.patch moved to code

Patch has been added to specs by:
> commit 17d6a09efb67cc9b19cc8a051401100e0896c531
> Author: Igor Yozhikov <iyozhikov@mirantis.com>
> Date:   Mon Dec 23 16:21:49 2013 +0400
>
>     Add new patches instead of 1 old

Patch info:
> From ac190f0da6ce367cc833b92677266e7bbf7e2270 Mon Sep 17 00:00:00 2001
> From: Timur Sufiev <tsufiev@mirantis.com>
> Date: Thu, 5 Dec 2013 19:46:28 +0400
> Subject: [PATCH] Adds ability to configure various clients used by the Heat
>
> This commit adds config sections [clients_nova], [clients_swift],
> [clients_neutron], [clients_cinder], [clients_ceilometer] and
> [clients_keystone]. These sections contain additional configuration
> options for corresponding OpenStack clients.
> Currently those are only SSL-related setting ca_file, cert_file,
> key_file and insecure. Note, than not every client library is
> currently capable of utilizing all of the SSL settings.
>
> There is also a plain [clients] section that holds shared client
> options. Each option searched first at specific group (clients_xxx)
> and if it not found there then the value from [clients] group
> are taken (or default values if there is no such setting in this
> group). This allows defining shared configuration that would be
> used by most (or all) clients without repeating the same settings
> for each and every client separately
>
> Closes-Bug: #1213122
> Implements: blueprint clients-ssl-options
> Ported from: icehouse.

Change-request info:
> Your change was committed before the commit hook was installed.
> Amending the commit to add a gerrit change id.
> remote:
> remote: New Changes:\e[K
> remote:   http://gerrit.mirantis.com/13907\e[K
> remote:
> To ssh://mrasskazov@gerrit.mirantis.com:29418/openstack/heat.git
>  * [new branch]      HEAD -> refs/publish/openstack-ci/fuel-5.0/2014.1/Ability-to-configure-various-clients-used-by-the-Heat.patch

11 years agoUpdated .gitreview
Max Rasskazov [Wed, 26 Mar 2014 16:48:31 +0000 (20:48 +0400)]
Updated .gitreview

11 years agoAdd new patches instead of 1 old openstack-ci/build/havana openstack-ci/fuel-4.1.1/2013.2.2 openstack-ci/fuel-4.1/2013.2.2
Igor Yozhikov [Mon, 23 Dec 2013 12:21:49 +0000 (16:21 +0400)]
Add new patches instead of 1 old

11 years agoAdded patch to RPM according to OSCI-862
Dmitry Burmistrov [Tue, 12 Nov 2013 10:57:23 +0000 (14:57 +0400)]
Added patch to RPM according to OSCI-862

11 years agoAdded patch according to OSCI-862
Dmitry Burmistrov [Tue, 12 Nov 2013 08:56:41 +0000 (12:56 +0400)]
Added patch according to OSCI-862
Change-Id: I49c60ef63eafcdb1bce252bbc412d7b4b22232d0

11 years agoAdded SPECS end SOURCES fot rpm
Sergey Otpuschennikov [Mon, 28 Oct 2013 10:04:58 +0000 (14:04 +0400)]
Added SPECS end SOURCES fot rpm

Change-Id: Ie56cd4662dc3cf7a8d81c28048d6e6e3c53e9e5a

11 years agoUpdate DEB-specs to 2013.2 version
Dmitry Burmistrov [Tue, 22 Oct 2013 08:34:45 +0000 (12:34 +0400)]
Update DEB-specs to 2013.2 version

11 years agoMerge "Document aws cloud watch alarm properties"
Jenkins [Mon, 23 Sep 2013 13:40:08 +0000 (13:40 +0000)]
Merge "Document aws cloud watch alarm properties"

11 years agoMerge "Add tenant_id property to neutron Net and Subnet"
Jenkins [Mon, 23 Sep 2013 08:20:22 +0000 (08:20 +0000)]
Merge "Add tenant_id property to neutron Net and Subnet"

11 years agoMerge "Use unicode() when serializing REST API errors"
Jenkins [Mon, 23 Sep 2013 02:50:44 +0000 (02:50 +0000)]
Merge "Use unicode() when serializing REST API errors"

11 years agoAdd tenant_id property to neutron Net and Subnet
Steve Baker [Wed, 18 Sep 2013 18:28:11 +0000 (11:28 -0700)]
Add tenant_id property to neutron Net and Subnet

tenant_id has been added since this resource was written.

Change-Id: Ieb73df85f11e79e24755d2830927cde246651b38
Closes-Bug: #1227287

11 years agoMerge "Stop stack updates from exceeding resource limit"
Jenkins [Sun, 22 Sep 2013 18:16:45 +0000 (18:16 +0000)]
Merge "Stop stack updates from exceeding resource limit"

11 years agoMerge "assert_ is deprecated, use assertEqual"
Jenkins [Sun, 22 Sep 2013 00:40:13 +0000 (00:40 +0000)]
Merge "assert_ is deprecated, use assertEqual"

11 years agoMerge "Tolerate bad environment until validation"
Jenkins [Sat, 21 Sep 2013 19:57:04 +0000 (19:57 +0000)]
Merge "Tolerate bad environment until validation"

11 years agoStop stack updates from exceeding resource limit
Clint Byrum [Fri, 6 Sep 2013 03:00:56 +0000 (20:00 -0700)]
Stop stack updates from exceeding resource limit

Previous patches raise an error when a newly created stack would exceed
the limit. This one applies the same logic during an update. Note that
nested stack updates will be handled in another patch.

Change-Id: Ic5d32501f582640cb77629b902c32c8cb9c20b42
Partial-Bug: #1215100

11 years agoMerge "Limit resources per stack in nested stacks"
Jenkins [Fri, 20 Sep 2013 20:17:07 +0000 (20:17 +0000)]
Merge "Limit resources per stack in nested stacks"

11 years agoMerge "Provide config option to limit resources per stack"
Jenkins [Fri, 20 Sep 2013 20:17:00 +0000 (20:17 +0000)]
Merge "Provide config option to limit resources per stack"

11 years agoTolerate bad environment until validation
Steven Hardy [Thu, 19 Sep 2013 21:31:16 +0000 (22:31 +0100)]
Tolerate bad environment until validation

Currently if we get a bad environment for a template_resource,
it causes an exception in the resource constructor, which does cause
the stack create to fail, but also all subsequent operations too.

By tolerating the error in the constructor, we can catch it instead at
validation time.

Change-Id: Ia971d8f1c50ca6f265ec36ea564aeba1638de541
Closes-Bug: 1227816

11 years agoMerge "Encode values as utf-8 before encrypting"
Jenkins [Fri, 20 Sep 2013 03:32:18 +0000 (03:32 +0000)]
Merge "Encode values as utf-8 before encrypting"

11 years agoLimit resources per stack in nested stacks
Clint Byrum [Thu, 5 Sep 2013 22:10:16 +0000 (15:10 -0700)]
Limit resources per stack in nested stacks

In an earlier patch, the root stack creation was limited by the
max_resources_per_stack config setting. Now we need to apply the same
limit for nested stacks.

Change-Id: I2f871a5d5f4c51dd9cd7c93e94f8b0c8d87fa069
Partial-Bug: #1215100

11 years agoProvide config option to limit resources per stack
Clint Byrum [Thu, 5 Sep 2013 22:07:47 +0000 (15:07 -0700)]
Provide config option to limit resources per stack

This provides an upper bounds on the number of resources a root level
stack can contain. The limitation is only applied to the engine creation
point so that existing stacks that are over the limit in the database
will not cause problems. Nested stacks will be addressed in a follow-up
patch.

Partial-Bug: #1215100
Change-Id: I1adcb22cf9bd5750b4ae3f219dd3264d1d02c1fc

11 years agoMerge "Replace OpenStack LLC with OpenStack Foundation"
Jenkins [Thu, 19 Sep 2013 22:45:17 +0000 (22:45 +0000)]
Merge "Replace OpenStack LLC with OpenStack Foundation"

11 years agoMerge "Document aws loadbalancer properties"
Jenkins [Thu, 19 Sep 2013 19:26:04 +0000 (19:26 +0000)]
Merge "Document aws loadbalancer properties"

11 years agoMerge "Document user properties"
Jenkins [Thu, 19 Sep 2013 18:47:40 +0000 (18:47 +0000)]
Merge "Document user properties"

11 years agoMerge "Document nested stack properties"
Jenkins [Thu, 19 Sep 2013 18:45:39 +0000 (18:45 +0000)]
Merge "Document nested stack properties"

11 years agoReplace OpenStack LLC with OpenStack Foundation
ZhiQiang Fan [Thu, 19 Sep 2013 18:34:29 +0000 (02:34 +0800)]
Replace OpenStack LLC with OpenStack Foundation

Change-Id: Ia3489a1cff5070b000098e278c772cb823ae688c
Fixes-Bug: #1214176

11 years agoUse unicode() when serializing REST API errors
Luis A. Garcia [Mon, 16 Sep 2013 22:43:22 +0000 (22:43 +0000)]
Use unicode() when serializing REST API errors

Fixes bug: #1226244

Change-Id: Iabbf286cd35522e30fbb03f56f5274d12288a695

11 years agoassert_ is deprecated, use assertEqual
Dirk Mueller [Wed, 18 Sep 2013 13:01:51 +0000 (15:01 +0200)]
assert_ is deprecated, use assertEqual

All of the assert_ (which is actually assertTrue) were just
comparisons, so I switched to assertEqual instead.

Change-Id: Ie2fe5ccd5d546cc4a3eccdc008b066ffe905b294

11 years agoMerge "Document instance resource properties"
Jenkins [Thu, 19 Sep 2013 14:25:40 +0000 (14:25 +0000)]
Merge "Document instance resource properties"

11 years agoMerge "make get_flavor_id to work if input is flavor id"
Jenkins [Thu, 19 Sep 2013 09:42:11 +0000 (09:42 +0000)]
Merge "make get_flavor_id to work if input is flavor id"

11 years agoDocument aws loadbalancer properties
Liang Chen [Wed, 18 Sep 2013 09:58:38 +0000 (17:58 +0800)]
Document aws loadbalancer properties

This add descriptions to the properties of aws loadbalancer.

Fixes bug #1224144

Change-Id: I51bb7f05e543665c0cd97675aa051ed47bf8fb66

11 years agoMerge "Use built-in print() instead of print statement"
Jenkins [Wed, 18 Sep 2013 22:18:28 +0000 (22:18 +0000)]
Merge "Use built-in print() instead of print statement"

11 years agomake get_flavor_id to work if input is flavor id
Vijendar Komalla [Wed, 18 Sep 2013 17:27:33 +0000 (12:27 -0500)]
make get_flavor_id to work if input is flavor id

Current implementation of get_flavor_id throws exception if input
value is a flavor id. This method is used in couple of resources
where input flavor could be flavor id. This change is to avoid
throwing exception if the input is flavor id.

Fixes bug #1227255

Change-Id: I11054d5f3a34a7e2afea140f8f37a21cb8eba419

11 years agoMerge "Remove broken tripleo links from on_devstack doc"
Jenkins [Wed, 18 Sep 2013 16:59:34 +0000 (16:59 +0000)]
Merge "Remove broken tripleo links from on_devstack doc"

11 years agoMerge "Document neutron vpn service properties"
Jenkins [Wed, 18 Sep 2013 16:58:18 +0000 (16:58 +0000)]
Merge "Document neutron vpn service properties"

11 years agoMerge "Docs for building heat-cfntools images with diskimage-builder"
Jenkins [Wed, 18 Sep 2013 16:53:49 +0000 (16:53 +0000)]
Merge "Docs for building heat-cfntools images with diskimage-builder"

11 years agoMerge "Document autoscaling resource properties"
Jenkins [Wed, 18 Sep 2013 16:51:29 +0000 (16:51 +0000)]
Merge "Document autoscaling resource properties"

11 years agoMerge "Add 'repeat_actions' property for OS::Ceilometer::Alarm"
Jenkins [Wed, 18 Sep 2013 16:21:12 +0000 (16:21 +0000)]
Merge "Add 'repeat_actions' property for OS::Ceilometer::Alarm"

11 years agoMerge "Consistent logging in the API to better log exceptions"
Jenkins [Wed, 18 Sep 2013 15:27:19 +0000 (15:27 +0000)]
Merge "Consistent logging in the API to better log exceptions"

11 years agoAdd 'repeat_actions' property for OS::Ceilometer::Alarm
Swann Croiset [Mon, 16 Sep 2013 09:55:43 +0000 (11:55 +0200)]
Add 'repeat_actions' property for OS::Ceilometer::Alarm

The default value is maintained : repeat_actions=False
Require python-ceilometerclient>=1.0.3

Fixes bug #1223347

Change-Id: I010b6555311e9e34b095d9216cf1c5873e244cc4

11 years agoDocument nested stack properties
Liang Chen [Wed, 18 Sep 2013 07:47:43 +0000 (15:47 +0800)]
Document nested stack properties

This adds descriptions to the nested stack properties.

Fixes bug #1224150

Change-Id: I04a74f17e8e7ffc2a2d2bd0de333b103ee831744

11 years agoDocument user properties
Liang Chen [Wed, 18 Sep 2013 08:37:47 +0000 (16:37 +0800)]
Document user properties

This adds descriptions to the properties of user, access key, and access policy.

Fixes bug #1224154

Change-Id: Ib1a7d77540e67ef99b82c41c5f25a57b292c6003

11 years agoUse built-in print() instead of print statement
Chang Bo Guo [Wed, 18 Sep 2013 07:56:48 +0000 (00:56 -0700)]
Use built-in print() instead of print statement

In python 3 print statement is not supported, so we should use
only print() functions.

Fixes bug 1226943

Change-Id: If88d77982ddbd1eb47265f15a27b747cd8011e76

11 years agoDocument instance resource properties
Steven Hardy [Fri, 13 Sep 2013 15:42:56 +0000 (16:42 +0100)]
Document instance resource properties

Adds descriptions to the properties of:
* AWS::EC2::Instance
* OS::Heat::HARestarter
and wraps attribute descriptions with gettext _(

Change-Id: I772de4777ba21f2952a725da0c7fbd72f7d78820
Closes-bug: #1224139

11 years agoDocument autoscaling resource properties
Steven Hardy [Fri, 13 Sep 2013 15:39:02 +0000 (16:39 +0100)]
Document autoscaling resource properties

Adds descriptions to the properties of:
* AWS::AutoScaling::LaunchConfiguration
* AWS::AutoScaling::AutoScalingGroup
* AWS::AutoScaling::ScalingPolicy
* OS::Heat::InstanceGroup
and wraps attribute descriptions with gettext _(

Change-Id: Ie825c2b122a6c2ce8ff83f9beb9f98487aaa8d54
Closes-Bug: #1224131

11 years agoMerge "Validate OS::Nova::Server block_device_mapping property"
Jenkins [Wed, 18 Sep 2013 01:11:25 +0000 (01:11 +0000)]
Merge "Validate OS::Nova::Server block_device_mapping property"

11 years agoMerge "Use strings for block device mapping info"
Jenkins [Wed, 18 Sep 2013 01:11:23 +0000 (01:11 +0000)]
Merge "Use strings for block device mapping info"

11 years agoMerge "Document ceilometer alarm properties"
Jenkins [Tue, 17 Sep 2013 23:40:31 +0000 (23:40 +0000)]
Merge "Document ceilometer alarm properties"

11 years agoRemove broken tripleo links from on_devstack doc
Steven Hardy [Tue, 17 Sep 2013 18:07:56 +0000 (19:07 +0100)]
Remove broken tripleo links from on_devstack doc

The links referenced in the doc no longer work

Change-Id: I0cd5f4580998457d00231a513e9328ca2e5b314c

11 years agoMerge "assertEquals is deprecated, use assertEqual"
Jenkins [Tue, 17 Sep 2013 17:04:51 +0000 (17:04 +0000)]
Merge "assertEquals is deprecated, use assertEqual"

11 years agoEncode values as utf-8 before encrypting
Steven Hardy [Thu, 12 Sep 2013 14:18:10 +0000 (15:18 +0100)]
Encode values as utf-8 before encrypting

Ensure strings are correctly encoded before encrypting

This is necessary because some encryption libraries don't handle
the unicode conversion appropriately.

Change-Id: Iebbf32e57ba21d955c1984ee32360379579366c8
Closes-Bug: #1207707

11 years agoMerge "Fix misused assertTrue in unit tests"
Jenkins [Tue, 17 Sep 2013 14:17:11 +0000 (14:17 +0000)]
Merge "Fix misused assertTrue in unit tests"

11 years agoDocument neutron vpn service properties
Bartosz Górski [Wed, 11 Sep 2013 19:59:12 +0000 (12:59 -0700)]
Document neutron vpn service properties

This adds descriptions to the properties of:
* OS::Neutron::VPNService
* OS::Neutron::IPsecSiteConnection
* OS::Neutron::IKEPolicy
* OS::Neutron::IPsecPolicy
as well as gettext wrapping for the attributes description

Change-Id: I3312cfbeeccee925e6b06b7ac061be16997bdd34
Closes-Bug: #1224182

11 years agoFix misused assertTrue in unit tests
Chang Bo Guo [Tue, 17 Sep 2013 09:02:50 +0000 (02:02 -0700)]
Fix misused assertTrue in unit tests

Refactored unit tests to use assertEqual instead of assertTrue
where needed.

Fixes bug #1226374

Change-Id: I6826fefbb7c6fed8b0e664da36b144e882fb6d0e

11 years agoDocument aws cloud watch alarm properties
Bartosz Górski [Mon, 16 Sep 2013 16:58:17 +0000 (09:58 -0700)]
Document aws cloud watch alarm properties

This adds descriptions to the properties of OS::Heat::CWLiteAlarm.

Change-Id: I55cd7d632f1332ecb42024f040a33d1dfcf8f5b4
Closes-Bug: #1224133

11 years agoDocument ceilometer alarm properties
Bartosz Górski [Thu, 12 Sep 2013 22:47:40 +0000 (15:47 -0700)]
Document ceilometer alarm properties

This adds descriptions to the properties of OS::Ceilometer::Alarm.

Change-Id: I3851c8785c0bd94aae6412e75a02ee98ce13478b
Closes-Bug: #1224162

11 years agoMerge "Pass debug mode to eventlet.wsgi.server"
Jenkins [Mon, 16 Sep 2013 22:23:42 +0000 (22:23 +0000)]
Merge "Pass debug mode to eventlet.wsgi.server"

11 years agoassertEquals is deprecated, use assertEqual
Dirk Mueller [Mon, 16 Sep 2013 21:00:10 +0000 (23:00 +0200)]
assertEquals is deprecated, use assertEqual

Change-Id: If77b02e69d01e02db03ccb8613dcc327eb2844db

11 years agoMerge "Only send traceback to users when in debug mode"
Jenkins [Mon, 16 Sep 2013 20:11:41 +0000 (20:11 +0000)]
Merge "Only send traceback to users when in debug mode"

11 years agoMerge "Add methods to help calculate a stack's resources"
Jenkins [Mon, 16 Sep 2013 18:49:32 +0000 (18:49 +0000)]
Merge "Add methods to help calculate a stack's resources"

11 years agoMerge "Add DB API to get the count of stacks per tenant"
Jenkins [Mon, 16 Sep 2013 18:14:15 +0000 (18:14 +0000)]
Merge "Add DB API to get the count of stacks per tenant"

11 years agoDocs for building heat-cfntools images with diskimage-builder
Steve Baker [Fri, 13 Sep 2013 05:04:28 +0000 (17:04 +1200)]
Docs for building heat-cfntools images with diskimage-builder

Change-Id: I5ec805f8800a48b798700532551f0414fc6f6be0

11 years agoMerge "Add security_groups for create_port()"
Jenkins [Sat, 14 Sep 2013 10:23:58 +0000 (10:23 +0000)]
Merge "Add security_groups for create_port()"

11 years agoConsistent logging in the API to better log exceptions
Luis A. Garcia [Thu, 12 Sep 2013 20:50:56 +0000 (20:50 +0000)]
Consistent logging in the API to better log exceptions

With this patch we log the actual message of an exception instead of its
str() representation. This allows for consistent error logging in the
API.

Fixes bug: #1224646

Change-Id: I3965bffb1c2c2eee0af440d1ecd30ccb3bb958d5

11 years agoMerge "Use the generic RequestLimitExceeded exception when possible"
Jenkins [Fri, 13 Sep 2013 18:34:43 +0000 (18:34 +0000)]
Merge "Use the generic RequestLimitExceeded exception when possible"

11 years agoMerge "Document volume properties"
Jenkins [Fri, 13 Sep 2013 17:58:50 +0000 (17:58 +0000)]
Merge "Document volume properties"

11 years agoMerge "Add error handling to property value resolution"
Jenkins [Fri, 13 Sep 2013 17:58:43 +0000 (17:58 +0000)]
Merge "Add error handling to property value resolution"

11 years agoUse the generic RequestLimitExceeded exception when possible
Liang Chen [Tue, 3 Sep 2013 06:35:07 +0000 (14:35 +0800)]
Use the generic RequestLimitExceeded exception when possible

Rather than having lots of specific exceptions that all pertain to request
limitation, we can just use the RequestLimitExceeded exception when applicable,
which can also simplify the handling of exception mapping in fault.py.

Change-Id: I61b1e59912087fad286e74c22af15ffe6382bb65

11 years agoMerge "Migrate remaining TEXT columns to LONGTEXT"
Jenkins [Fri, 13 Sep 2013 08:28:05 +0000 (08:28 +0000)]
Merge "Migrate remaining TEXT columns to LONGTEXT"

11 years agoValidate OS::Nova::Server block_device_mapping property
Liang Chen [Fri, 13 Sep 2013 06:28:15 +0000 (14:28 +0800)]
Validate OS::Nova::Server block_device_mapping property

Make sure either volume_id or snapshot_id exists but not both. Also this patch
ensures that a bootable volume is specified when image is not given.

Fixes bug #1215267

Change-Id: Ia51f6c7aec9c0b257318992ee58febc392ea3d84

11 years agoUse strings for block device mapping info
Liang Chen [Thu, 12 Sep 2013 15:19:44 +0000 (23:19 +0800)]
Use strings for block device mapping info

Nova client receives colon separated strings for block device mapping info
instead of a list.

Fixes bug #1221693

Change-Id: I321001d406f620d5f8a21e0f28cf706579ad64ad

11 years agoAdd methods to help calculate a stack's resources
Clint Byrum [Thu, 5 Sep 2013 22:02:32 +0000 (15:02 -0700)]
Add methods to help calculate a stack's resources

In order to limit a stack's size in future changes, we need to know
how many resources are already in the stack. We also need to be able
to find the root stack object of a nested stack.

Change-Id: Ib848bcd2e10d02dffc30dce45a2675a9f718fa7d
Related-Bug: #1215100

11 years agoAdd error handling to property value resolution
Randall Burt [Fri, 13 Sep 2013 01:07:00 +0000 (20:07 -0500)]
Add error handling to property value resolution

Fixes bug 1224746

Change-Id: I990de0159e0fb49e52afdaab546f8d74372422bf

11 years agoMerge "Remove py33 from tox.ini until eventlet is ported"
Jenkins [Thu, 12 Sep 2013 16:21:38 +0000 (16:21 +0000)]
Merge "Remove py33 from tox.ini until eventlet is ported"

11 years agoMigrate remaining TEXT columns to LONGTEXT
Steven Hardy [Thu, 12 Sep 2013 11:00:28 +0000 (12:00 +0100)]
Migrate remaining TEXT columns to LONGTEXT

To avoid cases where mysql silently truncates json data
when it is > 2^16 bytes, migrate all remaining TEXT columns
to LONGTEXT, in a similar way to the fix for bug #1210799

Combined with the fix for bug #1215501 which limits the request
body size, we should never truncate, even if mysql is configured
such that it can happen

Fixes bug #1223029

Change-Id: Ib536cfa8e2952a5e047cd8573288cdd9fee0622c

11 years agoDocument volume properties
Thomas Herve [Thu, 12 Sep 2013 08:28:28 +0000 (10:28 +0200)]
Document volume properties

This adds documentation to the volume and volument attachment
properties.

Closes-Bug: #1224158
Change-Id: I22b4c8cb301b5de63418fd029ddf7f31087dfb8b

11 years agoMerge "Use physical_resource_name as Ref for Instance/AS Group"
Jenkins [Wed, 11 Sep 2013 21:27:09 +0000 (21:27 +0000)]
Merge "Use physical_resource_name as Ref for Instance/AS Group"

11 years agoMerge "Impose a size limit on JSON request body"
Jenkins [Wed, 11 Sep 2013 19:16:18 +0000 (19:16 +0000)]
Merge "Impose a size limit on JSON request body"

11 years agoMerge "Enclose command args in with_venv.sh"
Jenkins [Wed, 11 Sep 2013 14:25:11 +0000 (14:25 +0000)]
Merge "Enclose command args in with_venv.sh"

11 years agoAdd security_groups for create_port()
Hui HX Xiang [Fri, 6 Sep 2013 12:48:52 +0000 (05:48 -0700)]
Add security_groups for create_port()

Currently if defined SecurityGroups and SubnetId properties for
instance in heat template, the SecurityGroups were not associated
to the port created within the previous SubnetId, in another word,
the instance are not allocated to the specified security groups
defined in heat template.

    * Modifies function _build_nics() in instance.py, adding an item
'security_groups' in the post body of create_port sending by neutronclient.
    * Adds a new function _get_security_groups_id() to map security_groups
names to ids.
    * Adds corresponding unit tests.

Fixes bug #1221564

Change-Id: Ica2df7c6f96bc982a5bd5ece3611949ae905e5c8

11 years agoImpose a size limit on JSON request body
Liang Chen [Sat, 31 Aug 2013 06:53:43 +0000 (14:53 +0800)]
Impose a size limit on JSON request body

The size limit on JSON request body is to ensure the server not being
overwhelmed by extremly large JSON request body.

Fixes bug #1215501

Change-Id: Ia58f6690e994d34212953c44821f7a4cc4c435fe

11 years agoMerge "Make some heat resolve functions workable in hot"
Jenkins [Wed, 11 Sep 2013 02:30:33 +0000 (02:30 +0000)]
Merge "Make some heat resolve functions workable in hot"

11 years agoAdd HOT functions to dependency checks
Randall Burt [Mon, 9 Sep 2013 21:16:17 +0000 (16:16 -0500)]
Add HOT functions to dependency checks

Fixes bug 1223035

Change-Id: I7859a59490151885d4efe9bd36c612474d45b5f5

11 years agoUse physical_resource_name as Ref for Instance/AS Group
Swann Croiset [Fri, 6 Sep 2013 12:48:41 +0000 (14:48 +0200)]
Use physical_resource_name as Ref for Instance/AS Group

This allows to distinguish groups by stack when using resource
OS::Metering::Alarm with the rule:
matching_metadata: {
    'metadata.user_metadata.groupname': { 'Ref': 'WebServerASGroup'}}

And add test for AutoScalingGroup Tags

fixe bug #1215840

Change-Id: If3de5c4abddcfb49f711db223a0c1a8c70f3c15a

11 years agoMake some heat resolve functions workable in hot
JUN JIE NAN [Thu, 5 Sep 2013 05:26:01 +0000 (13:26 +0800)]
Make some heat resolve functions workable in hot

Make resolve functions Ref, Fn::GetAtt, Fn::Replace workable in hot.

Fixes bug #1221017

Change-Id: I9b7ca58720b3c7d157c79c3756510ebc62d81ee5

11 years agoEnclose command args in with_venv.sh
ZhiQiang Fan [Mon, 9 Sep 2013 06:36:33 +0000 (14:36 +0800)]
Enclose command args in with_venv.sh

It will support argument with blanks.

Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a
Closes-Bug: #1220937

11 years agoMerge "Set a small max_template_size for test_long_yaml"
Jenkins [Sat, 7 Sep 2013 20:52:13 +0000 (20:52 +0000)]
Merge "Set a small max_template_size for test_long_yaml"

11 years agoMerge "Only validate credentials on create based on resources"
Jenkins [Sat, 7 Sep 2013 20:52:06 +0000 (20:52 +0000)]
Merge "Only validate credentials on create based on resources"

11 years agoPass debug mode to eventlet.wsgi.server
Clint Byrum [Sat, 7 Sep 2013 04:17:14 +0000 (21:17 -0700)]
Pass debug mode to eventlet.wsgi.server

Previously if any exceptions accidentally made their way to
eventlet.wsgi.server's response handler it would print their traceback.
We only want to show users tracebacks in debug mode. In production we
want them suppressed.

Fixes bug #1222008
Change-Id: Ieb11f75ebffc67bd584432cfd8eeaac010fce7ca

11 years agoOnly send traceback to users when in debug mode
Clint Byrum [Sat, 7 Sep 2013 03:53:58 +0000 (20:53 -0700)]
Only send traceback to users when in debug mode

API services currently send the traceback to clients. While the client
hides it from user view, it is still present in the response, exposing
the service to details of the engine that administrators likely would
not like to have exposed.

Fixes bug #1210623

Change-Id: I554ba24b7ac9166e28a8a0a10f566ed9cfa03014

11 years agoChange the dbinstance to F19
Angus Salkeld [Thu, 5 Sep 2013 10:49:48 +0000 (20:49 +1000)]
Change the dbinstance to F19

The current template is based on F17 which is eol.

Closes-Bug #1215797
Change-Id: I888fba67dc8412c8b57243d76b45494a6beb91c4

11 years agoMove dbinstance into a TemplateResource
Angus Salkeld [Thu, 5 Sep 2013 10:47:07 +0000 (20:47 +1000)]
Move dbinstance into a TemplateResource

The old dbinstance will soon be overtaken by the trove resource.
- The only reason for keeping this around is for people that don't
  have trove installed and want to use the AWS resource.
- Seperating it out into a TemplateResource really makes it easier
  for deployers and users to customise it.
- The old dbinstance did nothing "special" in python, and was really
  one of the first "TemplateResources" as it attempted to convert properties
  into parameters. Since this in now done a lot better in the TemplateResource
  lets just make use of that.

This will make it easier to migrate to other distros and versions.

Partial-Bug: #1215797
Change-Id: If72e1f40f67dc831551e0db8df8caaa002aaaeda

11 years agoMake global TemplateResources usable in the tests
Angus Salkeld [Thu, 5 Sep 2013 09:50:08 +0000 (19:50 +1000)]
Make global TemplateResources usable in the tests

At the moment we need the templates installed into /etc/heat/templates
and this is not very nice for the tests. So this patch
replaces "/etc/heat/templates" with the project's own template
path so we can at least test the api of the template resources.

Partial-Bug: #1215797
Change-Id: Ie4924b0358b97af8feaad93ed9187976b8932e3d

11 years agoMake the new template validation usable from tests
Angus Salkeld [Thu, 5 Sep 2013 01:16:55 +0000 (11:16 +1000)]
Make the new template validation usable from tests

This is so we can assert that new TemplateResources expose the
api that we are expecting.

Partial-Bug: #1215797
Change-Id: I6273f6e046bb7bd5e075e9190d8011af976573b8

11 years agoAdd DB API to get the count of stacks per tenant
Clint Byrum [Fri, 6 Sep 2013 17:34:53 +0000 (10:34 -0700)]
Add DB API to get the count of stacks per tenant

This method will be used to limit the number of stacks any one tenant
can create.

Change-Id: Ic990bf84fc1aa5592504f7c423fbce953615a4a1

11 years agoMerge "Run cfg.CONF.reset() on test cleanup"
Jenkins [Fri, 6 Sep 2013 04:04:10 +0000 (04:04 +0000)]
Merge "Run cfg.CONF.reset() on test cleanup"

11 years agoMerge "Fix H233 in sphinx config"
Jenkins [Fri, 6 Sep 2013 04:04:03 +0000 (04:04 +0000)]
Merge "Fix H233 in sphinx config"