Basic verification

$ mistral run-action std.noop

Verify operation of the Workflow service

Note

Perform these commands on the controller node.

  1. Create a workflow file:

    $ cat >/tmp/test.wf.yaml <<EOL
      ---
      version: '2.0'
    
      test_wf:
        tasks:
          echo_task:
            action: std.echo output="Hello"
      EOL
    
  2. Create a workflow from the workflow file:

    $ mistral workflow-create /tmp/test.wf.yaml
    
  3. Create an execution based on the workflow:

    $ mistral execution-create test_wf
    
  4. Run the execution until its returning state is ‘SUCCESS’:

    $   mistral execution-list
    

After performing the above steps, the Mistral service is ready for use.