-
Notifications
You must be signed in to change notification settings - Fork 8
Debug mode
In debug mode, the ActionHandler does not detach itself from the terminal, so in case of an uncaught exception, logging and backtrace information will be printed to stderr.
-
Switch to user arago:
su arago -
If it is an older version of the ActionHandler, still based on virtualenv, activate the virtualenv:
source /opt/autopilot/engine/python-actionhandler/bin/activate -
If it is a newer version, based on SCL, activate the SCL:
scl enable hiro_integration bash -
If you installed from RPMs, then it is definitively the newer, SCL-based version. The virtualenv versions were installed from .whl files.
-
Start the Actionhandler, for example the WinRM ActionHandler:
hiro-winrm-actionhandler.py --debug start -
To keep it running in the background, use nohup:
nohup hiro-winrm-actionhandler.py --debug start &, in this case, the logging information can be found in nohup.out