]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
9 years agoAdd missed heat-keystone-setup-domain 03/8403/4
Mikhail Ivanov [Wed, 24 Jun 2015 11:17:42 +0000 (14:17 +0300)]
Add missed heat-keystone-setup-domain

* add missed binaries in heat-common debian package

Change-Id: Id6de60b1ebbc8f8fd0d08e379a34f4734fc70a1f
Closes-Bug:#1468309

10 years agoFix python-oslo-* dependency names and remove override_dh_auto_test 17/7217/4
Denis Egorenko [Mon, 1 Jun 2015 12:42:52 +0000 (15:42 +0300)]
Fix python-oslo-* dependency names and remove override_dh_auto_test

 * Replace python-oslo-* with python-oslo.*
 * Comment out override_dh_auto_test

Related-Bug: #1459494

Change-Id: Id3af56298fcaa82faa0beeafb4d3a22774aba884

10 years agoAdd heat 2015.1.0 23/6523/39
dtrishkin [Fri, 8 May 2015 14:11:33 +0000 (17:11 +0300)]
Add heat 2015.1.0

 * Update version to 2015.1.0 according to current Kilo tag
 * Add to Depends:
   - oslo-concurrency
   - oslo-context
   - oslo-log
   - oslo-middleware
   - oslo-serialization
   - osprofiler
   - oslo-versionedobjects
 * Update requirements according to global requirements
   https://github.com/openstack/requirements/blob/stable/kilo/global-requirements.txt
 * Sources are based on commit
   9d84d224e23c35f3d2f187a00934a7b7ee1fb380 from 6.1

Change-Id: I8bf55396c4356bdb2aff393481834e227dc9be38

10 years agoUpdate docker resource python script location 01/2801/1
Igor Yozhikov [Fri, 30 Jan 2015 14:35:15 +0000 (17:35 +0300)]
Update docker resource python script location

* add python-docker as runtime requirement
* docker resource add as additional package heat-docker
* add tests for heat-docker
* update requirements to requirements.txt versions

Change-Id: Ifc1be30531e89c478f7c84d16c77dc2b8fbb2660
Related-Bug: #1404911

10 years agoRemove the absolete patches: 98/1798/12
Maksym Yatsenko [Tue, 6 Jan 2015 11:56:20 +0000 (13:56 +0200)]
Remove the absolete patches:

0001-remove-pbr-runtime-dependency.patch
002-Add-compatability-patch-to-allow-smooth-migration-aw.patch

Change-Id: Ic9aea25a7c61b8a2cf245c1d9cc9a0482fe8437b

10 years agoUpdate from global requirements 76/1276/6
Denis Egorenko [Mon, 8 Dec 2014 09:38:17 +0000 (13:38 +0400)]
Update from global requirements

* cleanup heat sample configuration file

Change-Id: Ic15496ebad5d9d9260f28bee05b652b3193d536b

10 years agoAdd requirements 24/724/6
Igor Yozhikov [Tue, 11 Nov 2014 11:03:24 +0000 (14:03 +0300)]
Add requirements

* python-osprofiler
* python-oslo-middleware
* python-oslo-serialization
* python-oslo-utils
* add extra startup logging from runtests.sh
Change-Id: Ia9cb1261bc141d21b1f5ff236faad9ecd1dbbd6b

10 years agoFix Heat specs
Denis Egorenko [Wed, 17 Sep 2014 15:40:46 +0000 (19:40 +0400)]
Fix Heat specs

* update requirements;
* fix specs (rename oslosphinx);
* remove old conf files;
* fix init scripts for CentOS (explicitly setting config file)

Change-Id: I3cc83646583100704ba1beeb5c12823b996ec4e0

10 years agoAdd simple installation tests for Heat
Denis Egorenko [Thu, 28 Aug 2014 14:25:37 +0000 (18:25 +0400)]
Add simple installation tests for Heat

Change-Id: Id3c02528c7c4a3dcc1a0cb153a6e9ff639af32fc

10 years agoUpdate requirements for Heat packages
Denis Egorenko [Thu, 11 Sep 2014 15:39:05 +0000 (19:39 +0400)]
Update requirements for Heat packages

Change-Id: I80b5033798f0aca1327db38e7581d19cf73ab786

10 years agoFix patch for heat requirements
iberezovskiy [Thu, 4 Sep 2014 11:54:35 +0000 (15:54 +0400)]
Fix patch for heat requirements

Change-Id: I6a2dbc1419e8f5ed05900adc23550e236c777208

10 years agoUpdate of specs and patches for master
Igor Yozhikov [Wed, 2 Jul 2014 13:21:04 +0000 (17:21 +0400)]
Update of specs and patches for master

* patch changed for pycrypto -> m2crypto
* add oslo-messaging, oslo-db and stevedore for build dependance
* rename python-qpid -> qpid-python
* Remove from control file upper versions limit in Depends section
* Remove versions from Build-Depends-Indep section

Change-Id: I54c25a81191574a725871fcef336df156904e29d
Implements: blueprint create-specs-for-platform-component-from-master

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