Skip to main content

Mistral Project

Project description

Task Orchestration and Scheduling service for OpenStack cloud

Installation

First of all, in a shell run:

tox

This will install necessary virtual environments and run all the project tests. Installing virtual environments may take significant time (~10-15 mins).

Running Mistral API server

To run Mistral API server perform the following command in a shell:

tox -evenv – python mistral/cmd/launch.py –server api –config-file path_to_config*

Note that an example configuration file can be found in etc/mistral.conf.example.

Running Mistral Engines

To run Mistral Engine perform the following command in a shell:

tox -evenv – python mistral/cmd/launch.py –server engine –config-file path_to_config*

Running Mistral Task Executors

To run Mistral Task Executor instance perform the following command in a shell:

tox -evenv – python mistral/cmd/launch.py –server executor –config-file path_to_config

Note that at least one Engine instance and one Executor instance should be running so that workflow tasks are processed by Mistral.

Debugging

To debug using a local engine and executor without dependencies such as RabbitMQ, create etc/mistral.conf with the following settings:

[DEFAULT]
rpc_backend = fake

[pecan]
auth_enable = False

and run in pdb, PyDev or PyCharm:

mistral/cmd/launch.py --server all --config-file etc/mistral.conf --use-debugger

Running examples

To run the examples find them in mistral-extra repository (https://github.com/stackforge/mistral-extra) and follow the instructions on each example.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mistral-0.0.2.tar.gz (141.8 kB view details)

Uploaded Source

File details

Details for the file mistral-0.0.2.tar.gz.

File metadata

  • Download URL: mistral-0.0.2.tar.gz
  • Upload date:
  • Size: 141.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mistral-0.0.2.tar.gz
Algorithm Hash digest
SHA256 622c1fed67f42ec457392dff52ea0fd529df2ba7fcc0c155c620944f2d7a1e09
MD5 52ff23b0763d2410a3e6c6c46e5f4737
BLAKE2b-256 f932e0e89fe1d21b1efbefba74fdd4e9bcd3bb116a7fde92121fda6415f8ea68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page