1818 Commits

Author SHA1 Message Date
Dougal Matthews
a50dcfce4e Add Python 3.4 to the classifiers
Change-Id: I908c692b1fdf4c2530de95d38070f4c6f13c4393
2016-05-24 10:38:03 +01:00
Jenkins
1046c89820 Merge "Remove unnecessary executable permissions" 2016-05-24 05:08:06 +00:00
Bertrand Lallau
e697cc716d Remove unnecessary executable permissions
This removes executable permissions on launch module not requiring it.

Change-Id: Ie964bd76601b88c79ebd34e71e2a46e66e2d7a10
2016-05-23 17:30:14 +02:00
OpenStack Proposal Bot
575aac2485 Updated from global requirements
Change-Id: I1c9256be9dc75b6e8f4bf44b008792fd90dccad2
2016-05-23 11:59:58 +00:00
Jenkins
ea0280939d Merge "Enforcing upper constraints for tox test jobs" 2016-05-23 11:07:35 +00:00
Jenkins
1d646466bd Merge "Add baremetal.wait_for_finish action to mapping" 2016-05-23 04:46:52 +00:00
Jenkins
17274b83ab Merge "Update get_arg_list_as_str to skip func params" 2016-05-23 04:44:58 +00:00
Dan Prince
358210765d Add baremetal.wait_for_finish action to mapping
Adds baremetal.wait_for_finish action to mapping.json.
This action is useful within some workflows that need to
wait for introspection to finish.

Change-Id: I036fe977d710f2798ccf6bbe10f18c323e394986
2016-05-21 12:58:39 -04:00
Dan Prince
7712cc3138 Update get_arg_list_as_str to skip func params
This patch updates inspect_utils.get_arg_list_as_str
so that it skips handling parameters that can't be
JSON serialized. One example of this would be a function
parameter (func=time.sleep). Some of the OpenStack
clients have functions that would be useful to expose
by simply relying on the default settings for these
parameters.

Change-Id: Id1cc8e79db3001ffec5066b2e81ec2e5119e875a
Closes-bug: #1584366
2016-05-21 12:54:28 -04:00
OpenStack Proposal Bot
752df74760 Updated from global requirements
Change-Id: I7991069ce0b5c6c0e12a82160a816f485ddaad8c
2016-05-21 15:48:00 +00:00
Renat Akhmerov
af5975eaf4 Enforcing upper constraints for tox test jobs
Co-Authored-By: Lingxian Kong <anlin.kong@gmail.com>
Change-Id: Ibe35586272f39d5c0bbf2cd4e3425b5f06e2b6ea
2016-05-21 12:24:35 +12:00
Winson Chan
b9dafd1e1a Fix get task list on YAQL error in with-items
If there is a YAQL error in with-items, the with_items_context is not
initialized and get task list from the API will failed with
"ERROR (app) 'with_items_context'". This patch fixes the data_flow
module and returns a default with_items_context dictionary if it
does not exist.

Change-Id: I2cc7d71f30dfad3122e06637a7583333cb02de6b
2016-05-19 01:41:58 +00:00
Jenkins
3023d4aca8 Merge "Replace keystone CLI with openstack CLI" 2016-05-18 15:58:28 +00:00
Jenkins
ec7bc37113 Merge "Add API to validate ad-hoc action" 2016-05-18 15:47:26 +00:00
Michal Gershenzon
594b3e27f9 Add API to validate ad-hoc action
Add an API that gets an ad-hoc action DSL and validates it.
This is done in the same way workflows are validated today.

Change-Id: Ibbb949ef38befae1ef83a2a56cda4c817ceb41d4
Implements: blueprint validate-ad-hoc-action-api
2016-05-18 11:02:59 +00:00
OpenStack Proposal Bot
2cf2fc5c74 Updated from global requirements
Change-Id: Ie21fbb3910f0ff732f58c023930fc4a90411939c
2016-05-17 14:05:04 +00:00
OpenStack Proposal Bot
2eb1e1e603 Updated from global requirements
Change-Id: I55f3df8021b4888eb6ac2ada13eb9d6c2ce5da57
2016-05-17 04:38:28 +00:00
Jenkins
57f2097f47 Merge "Remove oslo.messaging hack since it's broken with 5.0.0 version" 2016-05-17 04:23:26 +00:00
Jenkins
ce3b188fc8 Merge "Add Designate apis as mistral actions" 2016-05-16 21:39:56 +00:00
venkatamahesh
9cbfa93775 Replace keystone CLI with openstack CLI
keystone CLI is removed and now we are using openstack CLI
for identity service

Change-Id: Ifbf21deae7add1d17f0d91a4e7f9a94439f37754
Closes-Bug: #1581810
2016-05-16 20:16:25 +05:30
ravikiran
42ca859c27 Add Designate apis as mistral actions
Implement designate actions in Mistral, useful for automating the designate tasks

Change-Id: Id6f9d1c7a29530068be453a7c8c1fc607af23e91
Implements: blueprint designate-api-actions
2016-05-16 02:54:41 -04:00
Renat Akhmerov
87aeb0ac5a Remove oslo.messaging hack since it's broken with 5.0.0 version
Change-Id: If25e96f0712dd2c9129101325c4cd23d3c9ca259
Closes-Bug: #1580139
2016-05-16 12:17:18 +07:00
Jenkins
e36a99b4b4 Merge "Fix the yaql github repository" 2016-05-16 04:25:54 +00:00
venkatamahesh
32b0121720 Fix the yaql github repository
Change-Id: I0a4320a3f2169ee75b1a9809f89c115878d05d20
Closes-Bug: #1581973
2016-05-15 21:35:39 +05:30
OpenStack Proposal Bot
50210a770a Updated from global requirements
Change-Id: Ic2f88e4e3e607cde76a343fdbbed19cb27a3e8cb
2016-05-13 17:04:36 +00:00
OpenStack Proposal Bot
627145b311 Updated from global requirements
Change-Id: I4d302b637b7b049b875575ed5df87c80f7790ee0
2016-05-11 13:59:03 +00:00
Anastasia Kuznetsova
2b517d8838 Fix mistral installation in devstack
After pip upgrading following error has occured during
mistral installation:
Invalid requirement, parse error at "'[-e]'"

I assume that this is because of extra '-e' flag that was passed
in mistral script and that is redundant ('-e' flag will be added
automatically in setup_develop function).

Change-Id: Ifed16935b045c723881a9da157a8759eea421c2c
2016-05-11 14:14:20 +03:00
Renat Akhmerov
96e6d7e403 Refactoring exception hierarchy
* Clear separation for problems that can be handled so that the program
  can continue and problems that can't handled automatically due to major
  issues in configuration, environment or code itself
* Split YAQL exceptions into two types: grammar exception and evaluation
  exception
* General NotFoundException is replaced with more specific DBEntryNotFoundException
  for better consistency with other DB exceptions and more clear semantics
* Fixed corresponding tests

Change-Id: I07f495ab316b0f164caece78b1f101219199e68c
Implements: blueprint mistral-engine-error-handling
2016-05-11 10:13:33 +00:00
Jenkins
fa9f46b542 Merge "Fixing engine facade hierarchy" 2016-05-11 10:08:33 +00:00
OpenStack Proposal Bot
18f171576e Updated from global requirements
Change-Id: Ic4d52fb9bc3995de2f7d4c8d0bc0cca774ed19f9
2016-05-10 00:45:16 +00:00
Renat Akhmerov
cc32c82c16 Fixing engine facade hierarchy
* Method rerun_workflow() was missing in Engine interface
* Renamed parameters in the hierarchy to be more consistent
* Added missing docstrings

Change-Id: I08b2b552130fd16a20f6647349006939619b6659
2016-05-06 09:44:19 +00:00
Jenkins
09ab84d9ff Merge "Fixed issue related to docker image creation" 2016-04-20 22:08:28 +00:00
hardik
c93405f6b1 Fixed issue related to docker image creation
by default cgroup-lite is not installed on
ubuntu-trusty node.

Change-Id: Ia8543d7887a854ecbfdc76c1a91a53bd02fb77d5
2016-04-20 11:40:18 +00:00
OpenStack Proposal Bot
a1891fd29d Updated from global requirements
Change-Id: I919ed731479645a1b81efc573b12fe5913229275
2016-04-19 12:24:40 +00:00
Renat Akhmerov
1216ae63e1 Rename base API test class
* Base class for API tests was called "FunctionalTest" which is
  no longer a valid name (module itself is in "api" package).
  Renamed it from FunctionalTest to APITest to reflect its meaning
  better.
* Changed unit test for expiration policy so it does not inherit from
  APITest because it doesn't need to. DBTestCase as a parent is enough.

Change-Id: Ia86da0df49c4170e19520ee62528a6772fdec641
2016-04-18 08:36:28 +00:00
Jenkins
01a2f9396a Merge "Disabled ssl warnings while runing tempest tests" 2016-04-18 08:02:20 +00:00
Renat Akhmerov
1586c3e1d9 Disable cron trigger thread for API unit tests
* API unit tests activated cron trigger thread whereas all unit tests
  assume that it's not started. Tests  where it needs to be activated
  should do it explicitly and shut down it after completion.
  This was causing unpredictable results where we were assuming that
  there weren't any active cron trigger threads.
* Minor cosmetic changes

Change-Id: I7e30f80b29520e03f2e1673788c764aabe1e4a8b
Closes-Bug: #1564353
2016-04-17 21:54:43 +00:00
hardik
49d04cf45b Disabled ssl warnings while runing tempest tests
While running tempest tests over https, warnings
are shown for unverified HTTPS request beacause
by default urllib3 don't verify ssl certificates.
So now, certification validation warnings have been
disabled.

Change-Id: I0e99af8364e262baa37a56b0a8846abde3a8d2b0
Closes-bug: #1570451
2016-04-17 09:25:01 +00:00
Jenkins
d3ef00a122 Merge "Added script to create docker image" 2016-04-14 21:15:47 +00:00
Jenkins
ea0639540d Merge "Add extra checks for the existance of executor_callback" 2016-04-14 08:37:20 +00:00
Derek Higgins
22769b7c70 Add extra checks for the existance of executor_callback
In version of oslo.messaging > 4.6.1, the __call__ method of
dispatcher.RPCDispatcher no longer exists. It is now a 'method-wrapper'
from the "object" object.

Calling inspect.getargspec on a method-wrapper doesn't work
TypeError: <method-wrapper '__call__' of ABCMeta object at 0x2cc3650> is not a Python function

Change-Id: Ie2ca1a2b9163a5edfe1e779cff462692197a471d
2016-04-14 08:49:14 +01:00
OpenStack Proposal Bot
bb078af02f Updated from global requirements
Change-Id: I51c91e346ede4d8e0053c6fd0b2171be927a2d40
2016-04-14 02:33:58 +00:00
OpenStack Proposal Bot
11c26cffcc Updated from global requirements
Change-Id: Ib4d869042a75317ad03e262c6dbfe9207fe4cd3a
2016-04-13 12:44:04 +00:00
Jenkins
dcaccf84ff Merge "Switch to auto-generated cron trigger names in unit tests" 2016-04-13 12:39:47 +00:00
hardik
6bb604685e Added script to create docker image
Once this patch is merged, I will modify gate
job to use this script to create image.

Change-Id: Ieed72e184d5eb8a5f57cb557df8dabce54d122cf
2016-04-13 14:46:36 +05:30
Jenkins
025f4791d5 Merge "tempest: fix dir_path" 2016-04-12 08:54:32 +00:00
Renat Akhmerov
597665579d Switch to auto-generated cron trigger names in unit tests
* Before this change there was a possibility of conflicts between
  different tests working with cron triggers, especially if run
  in parallel, because of using same trigger names (e.g. 'test').
  To prevent such potential situations all trigger names should
  be unique and generated randomly.

Change-Id: I57b0ac8072ab5f9158547fa0611a1003d1dc5e8a
Partial-Bug: #1564353
2016-04-12 06:29:43 +00:00
Emilien Macchi
99edd17105 tempest: fix dir_path
This patch fix the dir_path that helps to get the directory of
Mistral resources.

Without this patch, this is what we get when running Tempest:

IOError: [Errno 2] No such file or directory:
'/usr/lib/python2.7/site-packages/mistral_mistral/tests/resources/openstack/action_collection_wb.yaml'

With this patch:
/usr/lib/python2.7/site-packages/mistral/tests/resources/openstack/action_collection_wb.yaml
This path is correct and Tempest runs successfully.

Change-Id: Ie4bd3db8a4e729f7937a6f3c099d7c25abffcb1b
Closes-Bug: #1568413
2016-04-11 13:31:51 -04:00
Renat Akhmerov
b549137e97 Leave more relevant comment in engine race condition test
* It still fails with SQLite in unit tests but not reproducible on MySql

Change-Id: I499e5f953299eb81245a825b5fd4c8a71d793fe4
2016-04-11 16:46:21 +00:00
Renat Akhmerov
39e2b4a8d0 Add utility methods to test action executions more conveniently
Change-Id: Ib97d09ee96d8c8ba13f1088e79cf1c018092e3c9
2016-04-11 16:45:56 +00:00