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
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I9298add1f77b56f19f355b19da89f9799d2415c9
This commit prepare for implementing policies in code[1].
Like oslo.config, with oslo.policy, we can define all of
default rules in code base and only change some rules
via policy file. Another thing that we should use yaml
format instead of json format.
[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I2051b6c25333c95aa9ea6786964d4ab710ea93e8
This change aligns the Mistral documents folder structure to
the one specified for Pike [1].
Documents were move to thir appropriate folder, but the different
guides do not follow their cookie cutted structure yet.
Install guide is in a separate change [2], while I could not
found the cookie cutter for the rest of the guides.
test-requirements.txt updated with the missing modules.
tox_install.sh modified to do not pass $MODULE_NAME and -e parameter to
edit-constraints.
[1]: http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
[2]: https://review.openstack.org/#/c/476499/
[3]: https://etherpad.openstack.org/p/doc-migration-tracking
Change-Id: Ia1101fa2eada446d8eebfefa9bd15d8facd8b3b0
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: csatari <gergely.csatari@nokia.com>
Update the Mistral docker image and tooling has been updated to
significantly ease the starting of a Mistral cluster. The setup
now supports all-in-one and multi-container deployments. Also,
the scripts were cleaned up and aligned with the Docker best
practice.
Change-Id: I803d69ee17e7f5ebc95ec2c81887c4f580d73715
This patch updates the docker README file to include the --link arg
to the command for launching a Mistral container to ensure the
rabbitmq and mistral containers can communicate.
This patch also adds a new section that explains how and why to
mount the Mistral source code as a volume in a running container.
Change-Id: Iec25f7e7dfda0bc8c9b38fa37b048448d73f66e4
Co-Authored-By: Brad Crochet <brad@redhat.com>
if called by mistral-db-manage it will log info level
to /var/log/mistral/mistral-db-manage
Included some debug level logging also for main actions.
Change-Id: I0574b38efcc0dd7485953bf3089ff0a5a3ef6394
Closes-Bug: #1689821
This should make it easier to see what files are different between the
two compared coverage reports.
Change-Id: I0367be79145ffb066c44342dcbe97e61a079d598
We are only comparing against master if the parent of the commit is
master. This isn't true if another patch merges after this is proposed
or it is in a series of commits and based on another review.
Change-Id: I2d0f827552fb431cf78a03f77e18b77ed406efd8
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
The current state of Mistral no longer works on Trusty. This patch
updates to Xenial in order to fix the docker image build.
Change-Id: I2a778d43e2dca8eaa370d5a86008a170ffb98f54
Closes-Bug: #1664030
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Change-Id: I93265cd17899e090377cd5399b46ef5c5b86bc75
Needed-By: Ib5a91fd4e7211f4418ca1dc1bd2fa5c31b986bd5
This commit will add script and coverage config file that will allow to run
non voting coverage job which will detect any changes in the code coverage
for each commit on review.
Change-Id: I624d1228df0adf1f34a498e5e86b6b092e667f5f
As we known, Exceptions are raised by the sys.exit() function.
When they are not handled, no stack traceback is printed in the
Python interpreter. In this patch we have known main() got return
values(eg:0, 1), but it can't specifies exit status when terminate
the main thread by unusing sys.exit(). So when using sys.exit(main())
instead of main() may be more readable and reasonable.
Change-Id: Ie69b3a22dd1ddcd5586fc72f452cd162787f2f6f
TrivialFix: Similar [1] in Kolla project
As we known, Exceptions are raised by the sys.exit() function. When they
are not handled, no stack traceback is printed in the Python interpreter.
Therefore, when using sys.exit(main()) instead of main()
may be more readable and reasonable.
[1] https://review.openstack.org/#/c/349353/
Change-Id: Ic71d4bfb1085c68ea9eb7e1382e7263a81634ad1
* This script allows generating helpstrings
of all mistralclient commands and adopt them
to rst format.
* This script is just POC and requires a further
manual editing in order to make the document
more clear.
Change-Id: If5f9144a254ef0b97c17e66638641e1052cc08d1
Sync tools/tox_install.sh with python-openstackclient. This brings in
the following improvements:
* Do not leave temporary directory around, instead delete temporary
directory directly after usage (change
I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
(change I0077c986a17d6bb92791474e03d1e77776e9382f).
Change-Id: Ifb9c9da59c9c7d94362bbc82a389ebce518f59f1
python-ironic-inspector needs an actual session when creating the
client, since it will try to fetch and furtherly validate the given
version regardless if a version is explicitly given. This fetching
and validation do calls to keystone which require credentials. Thus,
I'm using mistral's service credentials to fetch the required info.
Change-Id: I908552d2fb8ab4a5a3593f03f92ee6a31b672034
The Mistral docker example does not work at the moment. The oslo.policy
library now requires the policy file to be set in the configuration.
Closes Bug: #1593286
Signed-off-by: Andras Kovi <akovi@nokia.com>
Change-Id: I7877f2a7acac5efca869e3f00b9e76cf8b3f5d66
Mistral api access can be restricted base on role
by modifying /etc/mistral/policy.json file.
Change-Id: I4c78ca4cc04d25f46aea55948bce339cfe460ff0
Implements: blueprint mistral-customize-authorization
- Implement MagnumAction class
- Map first actions (baymodels) from Magnum
- Tests
Change-Id: Ib61bee8c3d18e1f6ef8a580e3ec3e5157926f89c
Implements: blueprint add-magnum-action-pack
Refactored to make the docker stuff self contained and removed the
unnecessary files from the root directory. Also created a readme file to
concretize how this feature works.
Also added an example script to set up Mistral with MySQL.
Closes-Bug: #1585911
Change-Id: I7fbcccb9d7ad168c5391e71326b205d074ab01ab
Signed-off-by: Andras Kovi <akovi@nokia.com>
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