Commit Graph

8876 Commits (091ffb167b61b4d16a635c95ade3fa5ee9a5c643)

Author SHA1 Message Date
Jenkins 091ffb167b Merge "Add HIDDEN status to SupportStatus" 2015-07-16 01:43:10 +00:00
Jenkins 574dbe57d6 Merge "Add PhysicalResourceNameAmbiguity to exc mapping" 2015-07-15 21:17:51 +00:00
Jenkins 5f5ae02a3c Merge "Updated from global requirements" 2015-07-15 11:04:17 +00:00
Jenkins e7e940e107 Merge "Refactor Adding service_types to client_plugins" 2015-07-15 10:52:23 +00:00
Jenkins a16cbefc3e Merge "Should execute 'resolve' before check the values of 'for_each'" 2015-07-15 09:12:46 +00:00
Oleksii Chuprykov 961ad96bdd Add PhysicalResourceNameAmbiguity to exc mapping
Change-Id: I0c30328027c14306d27ee1948c0b3752b31982fe
Closes-Bug: #1474595
2015-07-15 12:08:21 +03:00
Jenkins 02253843ac Merge "Convergence: Allow creating stacks of empty templates" 2015-07-15 09:07:44 +00:00
OpenStack Proposal Bot 09c8a4c159 Updated from global requirements
Change-Id: Id1d516edc130dbff51909daab03536017a471542
2015-07-15 07:33:24 +00:00
Jenkins 8fe749e8a0 Merge "Move signals to SignalResponder class" 2015-07-15 05:23:28 +00:00
Jenkins 9e352b3e93 Merge "Designate Record resource" 2015-07-15 04:26:38 +00:00
Jenkins 5a3ebd1b1b Merge "Designate Domain resource" 2015-07-15 04:24:21 +00:00
ubuntu c9fddd41cb Refactor Adding service_types to client_plugins
As part of the review https://review.openstack.org/#/c/192529
service_types was added to client_plugins to support the
conditional resource plugin availability.

I found its good to organize this code better by adding
str_key for each key defined in the service_types
so that we no longer have to depend on the index when
multiple service_types are available for a client plugin.

implements blueprint: keystone-based-resource-availability

Change-Id: I352525cce991f664abb28df9569d498cd44baf18
2015-07-14 23:34:27 +05:30
Miguel Grinberg ca8effbbae Move signals to SignalResponder class
This change relocates the code that creates and deletes heat, swift and
zaqar signals out of SoftwareDeployment and into SignalResponder, as a
first step in making these signals available to all resources. As part of
this change the structure of the Swift URLs was changed to match that of
the SwiftSignal resource.

Change-Id: Id5701b3696b0ab41433a3f158fabce1f36aabe16
Implements: blueprint uniform-resource-signals
2015-07-14 10:41:30 -07:00
Sirushti Murugesan d4087af830 Convergence: Allow creating stacks of empty templates
Change-Id: I25449a69a4565c2433832845b70cf32bc1cf53a9
2015-07-14 22:19:09 +05:30
Jenkins a42055b07b Merge "Add missing test for manila share attributes" 2015-07-14 09:15:32 +00:00
Jenkins b1e073478e Merge "Use mock in test_attributes.py instead of mox" 2015-07-14 09:15:07 +00:00
Jenkins 64b7a5fa6c Merge "Don't copy exception classes" 2015-07-14 08:56:53 +00:00
Jenkins eecef96293 Merge "Updated from global requirements" 2015-07-14 08:49:32 +00:00
Jenkins 6a11253907 Merge "Wait until child process will be killed" 2015-07-14 07:46:18 +00:00
Angus Salkeld 716471f37c Don't copy exception classes
see:
http://stackoverflow.com/questions/9541025/how-to-copy-a-python-class
https://review.openstack.org/194487

This simplifies the method so it just re-raises local exceptions
and if it is Remote, raises ResourceFailure.

Closes-Bug: #1474153

Change-Id: I9c4dcadcbcf6abe6ff71dbcdccaae4706b684a83
2015-07-14 11:52:42 +10:00
Jenkins 76a1044764 Merge "Use __iter__ method of Attributes class in __repr__ method" 2015-07-14 01:27:27 +00:00
Jenkins db11da5e5b Merge "Fix typos in hot_spec documentation" 2015-07-14 01:27:18 +00:00
Jenkins 41e5d679cf Merge "convergence: add adopt support" 2015-07-14 00:55:46 +00:00
OpenStack Proposal Bot 6152699b49 Updated from global requirements
Change-Id: Ifabe841cba726978ed377ffa8c7bc2ac28c40712
2015-07-13 21:09:46 +00:00
Jenkins e8c661f736 Merge "tox environment for `bandit`" 2015-07-13 20:29:18 +00:00
Peter Razumovsky e3e8e06fe7 Fix typos in hot_spec documentation
Fix typos and format mistakes in hot_spec docs.
Besides that, all lines now < 80 characters.

Change-Id: I65a69cfa1912a139e162acf8a2bd6d279d1eb46c
2015-07-13 17:05:20 +00:00
Oleksii Chuprykov 67d49e188c Add missing test for manila share attributes
Change-Id: I9830704bf37920bcb56369b8d2be2f08c99a58fa
2015-07-13 16:55:06 +00:00
Sergey Kraynev 51807d2333 Use mock in test_attributes.py instead of mox
- remove unused VerifyAll, ReplayAll
- use MagicMock instead of CreateMockAnything
- use MagicMock object for returning value instead of lambda
  function

Change-Id: Ib3c531776fce4c450fd8679d11f3e693751d5db5
2015-07-13 16:30:46 +03:00
Alexander Ignatov 613f11bb33 Removed typo in log when stack not found
"not not" turned to "not"

Change-Id: I1adbcf89c4e459e6819d3168a30251e174e90354
2015-07-13 13:04:42 +00:00
Sergey Kraynev 658d61ecee Use __iter__ method of Attributes class in __repr__ method
Join method expects list, but six.itervalues(self._attributes)  returns
a Attribute instance, so we should use own __iter__ method for building
list of values.

Closes-Bug: #1473974

Change-Id: I7c5d4a5a8d0142156c3416347940b9e90ed8df5c
2015-07-13 15:23:01 +03:00
Oleksii Chuprykov 205fe94b87 Wait until child process will be killed
It might take a wile to kill worker after receiving of sighup because
of worker can be busy at the time, so the check of the workers count
can be failed during some amount of time.
Add timeout for checking.

Change-Id: Ibdd29b07960b2f765b03ea9458b6e85cd6786fd0
Closes-bug: #1472531
2015-07-13 12:53:26 +03:00
Jenkins 5a4a738bcb Merge "Rename api unit test folder name" 2015-07-13 08:26:46 +00:00
Jenkins 30c2055e7f Merge "Imported Translations from Transifex" 2015-07-13 08:26:36 +00:00
Jenkins ad6ddaf298 Merge "Updated from global requirements" 2015-07-13 08:26:26 +00:00
Angus Salkeld e09469e68b convergence: add adopt support
- pass the adopt data in next to the input_data
- since it is not stored in the db, assign the adopt data
  from the cache data in Resource.load()
- in service.py make it easier to enable convergence
  (just uncomment the raise NotSupported)

Change-Id: I3b3032602f18f86119c41a1bda29432e459c9966
2015-07-13 13:43:12 +05:30
OpenStack Proposal Bot 6ee52a67f6 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I4be05aedabf0487a2f26aa4bcf8349614d53f7b8
2015-07-13 06:03:31 +00:00
tengqm 1ff8ebc13c Rename api unit test folder name
This is a preparation to split the openstack api v1 test cases. The
current test case file is too large for maintenance. This patch renames
the openstack folder to openstack_v1 so that in future we (hopefully)
don't have to move them around again.

Change-Id: Ie939e2d6022e688e02c5c946346b223e7b319136
2015-07-12 23:47:13 -04:00
Jenkins f6b6333d32 Merge "Added required name property to Create a key pair example" 2015-07-13 03:07:31 +00:00
Jenkins 3510b4fcd7 Merge "Add template-function-list" 2015-07-13 02:14:34 +00:00
Jenkins a375a022b7 Merge "Port short_id to return unicode" 2015-07-13 01:31:51 +00:00
Jenkins e00cc75774 Merge "Add a way to run py34 tests from file" 2015-07-13 01:28:36 +00:00
OpenStack Proposal Bot 5f57b514ca Updated from global requirements
Change-Id: I8e0be09fe385bb98cde61b091bb85cad9db31a03
2015-07-12 15:17:51 +00:00
Kanagaraj Manickam 905b4510b6 Designate Record resource
Adds resource plugin for the designate Record.

implements blueprint heat-designate-resource

Change-Id: Ic7bbfca7b5adea2879f43fea76b89a6025584b88
2015-07-11 08:52:18 +05:30
Kanagaraj Manickam ce5ef3d17e Designate Domain resource
Adds resource plugin for designate Domain

implements blueprint heat-designate-resoure

Change-Id: I47625096ce70b1df8959ae8e3149bb7c672ae15c
2015-07-11 08:52:18 +05:30
Jenkins 2eafc71af8 Merge "Adds designate.domain constraint" 2015-07-11 02:39:07 +00:00
Sirushti Murugesan 3216f6126f Fix failures related to the mock 1.1.0 release
The functional gate is also failing due to a recent
change introduced in devstack -> I613f1bdc6673f0c4bfe29aaab7b514348a617a8c

This fixes both the gates, functional and unit tests.

Co-Authored-By: Thomas Herve <therve@redhat.com>
Closes-Bug: #1473398
Change-Id: Ia77a1fd884c6346edfb90777e91a51d279ccd92a
2015-07-10 17:11:22 +02:00
Oleksii Chuprykov 08608f5002 Add template-function-list
APIImpact
DOCImpact

Implements bp: template-function-list
Change-Id: I51fc9c7acc30ba46ec7d550df5cb3d85562c49d2
2015-07-10 09:39:39 -04:00
Jenkins a4bc9ab9c0 Merge "Split engine service test cases (7)" 2015-07-10 02:10:14 +00:00
Jenkins c8edfa1cf5 Merge "Extract tags before pass them in create/update" 2015-07-10 02:02:03 +00:00
Jenkins 6d27c05f95 Merge "Adopt @six.python_2_unicode_compatible decorator" 2015-07-09 16:13:49 +00:00