* Use inspector_url when creating a fake client for ironic inspector client
* Add a session and a url for designate fake client
Change-Id: I9cc78df13d0f0715538bbdb76c8ccad273bd2033
* Module designateclient.v1 doesn't exist anymore after
python-designateclient 3.0.0 is out. The new client
requires a keystone session so all other parameters
were dropped. Since this service now requires a
a session the generator test now mocks the method
_get_fake_client() for this action.
* Minor style changes.
Change-Id: Ida722828e3f1481e08f52257405ddfa2175733fa
The new openstacksdk mechanism forces a keystone request to find info
about endpoints. We don't need this for fake client, so skip the
__init__ of the class.
Change-Id: I5b0d89ac57c14f982a6afa638f088d365e0e4ab8
* In the latest version of cachetools lib (3.0.0) the previously
deprecated argument "missing" of cache classes has been removed.
* Disabled test_generator failing due to the changes in the
senlin client until it's fixed by https://review.openstack.org/614211
Change-Id: Iac42f592834734a6fddb743e947860b3bb7e1aba
Add ZunAction for zun. Zun is an OpenStack Container service. It aims to
provide an API service for running application containers without the
need to manage servers or clusters.
Change-Id: Ibbe4777528b5af6fdb3a6c2ed3345f8f9c804bef
Signed-off-by: pengdake <19921207pq@gmail.com>
ceilometer api and client have been deprecated for over
two releases and now removed completely. Lets drop these
actions and update the requirements.
Change-Id: Ica2b835a885b9b4705996f91080afc12587bd314
A new config item 'modules-support-region' is introduced to be used by
cloud operators, mistral will decide if add 'action_region' param to
openstack service action inputs according to that config.
Fixed an action definition for tempest tests.
TODO: Add release note.
Implements: blueprint mistral-multi-region-support
Change-Id: I0b582e9f81ab72cd05f4fae592c568f38dec6e00
At the moment, if the inspection of an action fails we set the arg_list to
None. This will create a broken action in many cases.
This change means that we skip actions, only if the inspect fails and an
exception is raised.
Change-Id: I826e24b5bebfc67b0c0101528fd44074dcd3cead
That means around 1300 database inserts (or, attempted inserts, some seem to
fail) before every test. This is very slow. Only one of the tests
actually verifies the OpenStack actions are registered.
Recently I5ab01395c507fc857dca7cf08ab344a07def0dcf gave us a way to set
a different mapping file in the config. This change makes every test use
the much smaller test mapping file, rather than the default file.
Given that one test is checking specific actions being registered, these
were added to the test file to make that test pass. Once the OpenStack actions
are moved to mistral-extra this will improve again. The tempest tests
verify the actions load and tests a number of the OpenStack actions directly,
so our coverage of them isn't reduced.
From a brief test on my laptop, this reduces the unit test run time by
between 60 and 90 seconds.
Related-Bug: #1669511
Change-Id: Icc4ec5ef7d93d5ebb64f21c62d0bf7fc91e2f084
Release note and command line parameter added.
From now it is optional to list openstack modules in mapping file which
you would not include into supported action set.
Change-Id: I5ab01395c507fc857dca7cf08ab344a07def0dcf
Release note and command line parameter added.
Additionally from now on user don't need list all the
openstack modules in mapping file.
Change-Id: Ibdd2e2e471ecf23016b44f742166f6b22f1649b0
This patch adds support for calling Mistral v2 APIs as actions in
Mistral.
There will be at least two more patch sets for this blueprint to
fully support these changes.
Change-Id: I0226482ddee1573232663e124837deb8a1985df8
Implements: blueprint mistral-mistral-actions
Add actions to post, pop and get messages from a Zaqar queue. As the
Zaqar client is built differently from other OpenStack modules, the
usual generator logic doesn't apply, we need to re-implement them
directly in the action
blueprint mistral-zaqar-integration
Change-Id: Ib9cc39a0053ad7c117e2fba4b3b64a216190567f
This patch adds support for all supported Swift v1 API
actions via Mistral.
Some updates are required to swiftclient before
can fully support it in tools/get_action_list.py.
Implements: blueprint swift-actions
Change-Id: Ie5de12a5eb921595be67b06fa68b29aee877ac6b
This patch adds support for all supported Ironic Inspector v1 API
actions via Mistral.
Some updates are required to python-ironic-inspector-client before
can fully support it in tools/get_action_list.py.
Implements: blueprint ironic-inspector-actions
Change-Id: I28c85a0354dd1880eed36bc4cee5a8051ac9d57b
Depends-On: 61f8de56a77187b87c3ae75c637a3aa9045f0beb
When contributor wants to support new OpenStack service actions in
Mistral, there is no need to add different ActionGenerator classes
respectively and its corresponding unit tests.
Change-Id: Ifd49087c84164ecebfa095a9c6c85c089d807a8c