Running Self-VerificationΒΆ

StackStorm package-based installations come with a script, that allows to verify StackStorm installation, using StackStorm itself. Currently script covers the following aspects of StackStorm:

  • Basic st2 commands (similar to the commands outlined in Manual Verification section)
  • Examples pack installation
  • Commands described in Quick Start
  • Packs pack actions
  • ActionChain and Mistral Workflows

To run the self-verification:

  1. If you don’t have encryption keys setup already, do so. This requires admin privileges on the box and StackStorm.
  2. Run the self-check script. This also copies over the examples from /usr/share/doc/st2/examples to /opt/stackstorm/packs/ and registers the content from examples. This step pollutes your StackStorm environment by downloading fixtures from st2tests.
sudo ST2_AUTH_TOKEN=$(st2 auth st2admin -p <PASSWORD> -t) /opt/stackstorm/st2/bin/st2-self-check