486 Commits

Author SHA1 Message Date
Angus Salkeld
caa1bd8602 Produce more meaningful exception messages in nested stacks
This produces a nested exception like:
 'ValueError: resources.nested.resources.my_server: it is broken, sorry'

This re-uses the path mechanism that StackValidationFailed exception
uses.

Change-Id: Id5204c15ee96784e04522ab3c5a8e66900f9a1d3
Closes-bug: 1459837
2015-06-24 08:52:08 +10:00
Doug Hellmann
423110ef6e Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Also new version was updated in resources with SupportStatus version 2015.2.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-22 04:13:01 -04:00
Robert Pothier
6bcc8a373d Move Magnum client into main tree
This moves the magnum client plugin out of contrib into the main tree.

Change-Id: Ie520bcb27530394af0afef8335e3d57d7dc26121
Implements: partial blueprint magnum-resources
2015-06-18 11:25:36 -04:00
Jenkins
62b11b1768 Merge "Move gnocchi resource in-tree" 2015-06-18 10:53:59 +00:00
Jenkins
96fc9f8123 Merge "Adds service_types to client_plugins" 2015-06-18 10:08:11 +00:00
Jenkins
8c201bd550 Merge "Stack updated error if creation fails" 2015-06-18 08:00:14 +00:00
Kanagaraj Manickam
bc8bdd426c Adds service_types to client_plugins
service_types is added to client_plugins to support the
conditional resource plugin availability.

implements blueprint: keystone-based-resource-availability

Change-Id: I28d606416acd1d47a09f3c62b5236b5f53583f60
2015-06-18 12:18:08 +05:30
Pratik Mallya
0ac771b3cf Permit DRAINING condition for RS lb
Change-Id: Ia7beca53e6b876d1c1f17972e4567fac2dd35b8e
Closes-Bug: #1465738
2015-06-17 11:32:10 -05:00
Rico Lin
878473d922 Stack updated error if creation fails
template https://github.com/openstack/heat-templates/blob/
67301b6ff45b9f1c220ee0a0ab3aecd3a415032b/cfn/F17/
AutoScalingCeilometer.yaml
can have update error when execute on some resources
which did not even created due to creation failed.

Add check logic in _needs_update to make sure even resource still
stay in init complete state can proceed update process by
raise resource.UpdateReplace.

For nested stack, StackResource should have the same status check
logic in _needs_update method to avoid this error occur(nested()
is None due to resource in failed state after create failed).

Change-Id: I3fa6a61436e79409fe7f28cf66dfdfd9f609b576
Closes-Bug: #1459719
2015-06-17 19:05:40 +08:00
Jenkins
4d42df500a Merge "Move mistral resources in-tree" 2015-06-10 22:23:26 +00:00
Miguel Grinberg
e7d9c4dfe2 Move the heat_keystoneclient_v2 contrib package
As discussed in the Vancouver summit, the only known user of the
heat_keystoneclient_v2 contrib package is Rackspace, so it was agreed to
merge it with contrib/rackspace package.

Change-Id: I8a069275d5ea3f3913b6f8ae8c6fc48b69861551
2015-06-09 17:57:28 -07:00
Miguel Grinberg
c31a9533fa Move mistral resources in-tree
This change relocates the mistral resources from the contrib area into the main
resource tree. It was originally added to contrib/ because of the project's
incubation status, and more specifically because the client is not in the
global-requirements.txt file. However, when this was discussed at the summit in
Vancouver, the decision was to move the resources to main tree but skip
registration if the client is not installed. This will save users from the
trouble of installing it as a plugin.

Change-Id: I6eeef5fa2b080df610e52620d2b935450d8d49e3
2015-06-09 10:19:52 -07:00
Jenkins
75885a8e7d Merge "Allowing params to be sent to the workflow" 2015-06-09 10:15:05 +00:00
Jenkins
77be8e41b8 Merge "Move zaqar resource in-tree" 2015-06-09 03:18:10 +00:00
Miguel Grinberg
61dd55a927 Move manila resources in-tree
This change relocates the manila resources from the contrib area into the main
resource tree. It was originally added to contrib/ because of the project's
incubation status, and more specifically because the client is not in the
global-requirements.txt file. However, when this was discussed at the summit in
Vancouver, the decision was to move the resources to main tree but skip
registration if the client is not installed. This will save users from the
trouble of installing it as a plugin.

Change-Id: I9f43eba2abea351e1c5427b0968cbccab355992c
2015-06-08 19:09:27 +00:00
Tomer Shtilman
6b0895fa7e Allowing params to be sent to the workflow
even when not defined in the template

Closes-Bug: #1453558

Change-Id: I320431819346e54631b3bf88b85b8fac365a41cd
2015-06-08 12:51:29 +00:00
Miguel Grinberg
df48be8809 Add support_status to all resources in contrib
This change adds support_status to all the resources that are in the
contrib area of the repository that don't have it already. These resources are
given the UNSUPPORTED status, to indicate that the Heat team is not responsible
for maintaining them.

Change-Id: I8835bf3f99774c40da1e8d34a474071a71686cd1
2015-06-04 17:16:38 -07:00
Miguel Grinberg
d7622c5b51 Move barbican resources in-tree
This change relocates the barbican resources from the contrib area into
the main resource tree.

Change-Id: Iac49e9e2bda4af76308ec12aaa66978a0ffd5fca
2015-06-03 22:55:11 -07:00
Jenkins
0459eec086 Merge "Support additional Barbican orders" 2015-06-04 00:33:42 +00:00
Miguel Grinberg
ecc47e5af8 Move zaqar resource in-tree
This change relocates the zaqar resource from the contrib area into the main
resource tree, to save users from the trouble of installing it as a
plugin.

Change-Id: I480d6ec4785e3930afc5a153d31aa6ed4ec089b3
2015-06-03 14:09:03 -07:00
Jenkins
fcc176b913 Merge "Move keystone resources in-tree" 2015-06-03 01:58:37 +00:00
Jenkins
796480e7ee Merge "Move cinder_volume_type resource in-tree" 2015-06-03 01:38:36 +00:00
Miguel Grinberg
ed212df82f Move gnocchi resource in-tree
This change relocates the gnocchi resources from the contrib area into
the main resource tree.

Change-Id: Icb1c18ce88470069617a035c64b3ce91850f3ad8
2015-06-02 15:36:32 -07:00
Miguel Grinberg
228824c7e3 Move cinder_volume_type resource in-tree
This change relocates the keystone resources from the contrib area into
the main resource tree.

Change-Id: If42555cdfeed69fdc65e15f88053a66dc9c3ae3b
2015-06-02 07:42:48 -07:00
Miguel Grinberg
ea2bde776f Move nova_flavor resource in-tree
This change relocates the nova_flavor resource from the contrib area into
the main resource tree.

Change-Id: Ib1035750f7e364a81b1190db4d414f50707c875b
2015-06-01 17:50:25 -07:00
Miguel Grinberg
8d2ff5f773 Move keystone resources in-tree
This change relocates the keystone resources from the contrib area into
the main resource tree.

Change-Id: I6670ff797acfd4a0dbea4d3a68d8c5fa4709ae4e
2015-06-01 09:50:46 -07:00
Jenkins
b764ee801b Merge "Move extraroute resource in-tree" 2015-05-30 21:38:26 +00:00
Jenkins
6a28b484a0 Merge "Move zaqar client into main tree" 2015-05-30 07:06:21 +00:00
Miguel Grinberg
6080985be4 Move extraroute resource in-tree
This change relocates the extraroute resource from the contrib area into
the main resource tree, marking it as unsupported.

Change-Id: I6a51c9bdfb39d61adac48e5bcdf76f04a94e70a1
2015-05-28 17:33:10 -07:00
Thomas Herve
ae701b3641 Move zaqar client into main tree
Moves the zaqar client plugin out of contrib into the main tree.

blueprint software-config-zaqar

Change-Id: I8a947e7b16b818d50b10688999d916c73a2297fd
2015-05-27 14:51:28 +02:00
Pavlo Shchelokovskyy
10626bf7f0 Add note on Barbican Order's order_ref structure
So not to worry about it the sense of ref'd bug

Change-Id: Iac6050c868717f385fe45a9c3a13dd30a3023c9a
Related-Bug: #1393268
2015-05-25 20:35:48 +03:00
Vijendar Komalla
be0e7a2b3d Change user_data_format default value in Rackspace server
In the Rackspace version of OS::Nova::Server resource
changing default user_data_format to 'RAW'

Change-Id: Ia722adbf98b616304aa2bd12c23730e3878c30c2
2015-05-15 15:22:30 -05:00
Jenkins
f81cb5dbd1 Merge "Add CIDR format validation" 2015-05-15 17:40:44 +00:00
Jenkins
3b6411c2c7 Merge "Retain references to stacks in all unit tests" 2015-05-15 16:41:15 +00:00
Jenkins
1b8d05a449 Merge "heat_keystone README update for service and endpoint" 2015-05-15 10:19:19 +00:00
Jenkins
138f746a95 Merge "Resource plug-in for keystone endpoint" 2015-05-15 10:19:10 +00:00
Jenkins
cd6f682fc6 Merge "Resource plug-in for keystone service" 2015-05-15 10:19:01 +00:00
Ethan Lynn
1446be2865 Add CIDR format validation
Add a new constraint for CIDR format validation.

Implemented: blueprint enhance-property-constraints
Change-Id: Ica70147b713992c8523b92b12db0172a2966719c
2015-05-15 10:42:10 +08:00
Zane Bitter
203b8e8ecf Retain references to stacks in all unit tests
This will allow Resources to hold weak references to Stacks (so as to avoid
circular references) without causing the Stack object to be prematurely
deleted.

Change-Id: Ia76da7bc51042fb3598ef2a660d6fbf78137a37b
Related-Bug: #1454873
2015-05-14 16:55:12 -04:00
Kanagaraj Manickam
563d4e2d55 heat_keystone README update for service and endpoint
Updates the heat_keystone README with following entries:
- OS::Keystone::Service
- OS::Keystone::Endpoint
- keystone.service custom constrain

implements blueprint keystone-resource-service-endpoint

Change-Id: I4e844bc2d31791cd03159cf5b6252f9ebd422a1d
2015-05-14 10:49:06 +05:30
Kanagaraj Manickam
34d7ffcd43 Resource plug-in for keystone endpoint
Adds contrib resource plug-in for keystone endpoint

implements blueprint keystone-resource-service-endpoint

Change-Id: If0d493df5b8a74a8c0e01c3856028663dfa30fb5
2015-05-14 10:49:01 +05:30
Kanagaraj Manickam
b660268388 Resource plug-in for keystone service
Adds contrib resource plug-in for keystone service.

implments blueprint keystone-resource-service-endpoint

Change-Id: I002cc9d6a5c2156c015535c163f8a61a8441737e
2015-05-14 10:46:54 +05:30
Jenkins
4f6d845427 Merge "Import python modules instead of objects" 2015-05-14 02:24:31 +00:00
Thomas Herve
3ca42f4269 Support additional Barbican orders
Add support for asymmetric and certificate orders, as well as various
attributes useful to interact with them.

Change-Id: I951fda41fd19ca0696e47553d5da190ce59f3cda
Depends-On: I1fd2ec5f96d335d2c008d290a09e1133ff03e94c
2015-05-12 15:49:51 +02:00
Tetiana Lashchova
38f7568319 Import python modules instead of objects
Change-Id: I98f93c1895789c9d83c35c44f1166ce4c88891da
2015-05-12 16:33:11 +03:00
Jenkins
25659b9d11 Merge "Add remaining_executions attribute to OS::Mistral::CronTrigger" 2015-05-12 11:28:09 +00:00
Jenkins
bc084a1b44 Merge "Move barbican client in main tree" 2015-05-12 10:36:50 +00:00
Jenkins
f2370426ee Merge "Fix resource-signal for OS::Mistral::Workflow" 2015-05-12 07:36:16 +00:00
Moshe Elisha
d12322485b Fix resource-signal for OS::Mistral::Workflow
Invoking signal resulted in ResourceFailure: TypeError: create() takes at most 3 arguments (4 given).
Updated test_signal_and_delete_with_executions to cover this bug.

Change-Id: I1b23f2b938977862266295974793d71dc9ff7570
Closes-Bug: #1453539
2015-05-11 09:36:27 +00:00
Jenkins
2b7d0c2314 Merge "Do not specify version for contrib plugins" 2015-05-10 23:28:08 +00:00