Hi
I am very new to stackstorm and trying out to use for our staging environment.
So I have installed a basic setup for st2 with the WebUI. But when I execute something it always ended
up with the status of scheduled. Did I miss something? I cannot see anything in the logs as well.
I tried to install ansible packs
I followed following doc to do the minimal installation.
https://docs.stackstorm.com/install/rhel7.html#
Looking forward for your guidance to figure out what I did wrong here.
[root@st2-mgmt /]# st2 execution list
+--------------------------+----------------+--------------+--------------------------+-------------------------------+-------------------------------+
| id | action.ref | context.user | status | start_timestamp | end_timestamp |
+--------------------------+----------------+--------------+--------------------------+-------------------------------+-------------------------------+
| 5dd565947ac9b966ae2c2982 | packs.install | stanley | canceled (83414s | Wed, 20 Nov 2019 16:11:00 UTC | Thu, 21 Nov 2019 15:21:14 UTC |
| | | | elapsed) | | |
| 5dd56aa67ac9b966ae2c2985 | packs.install | stanley | canceled (82139s | Wed, 20 Nov 2019 16:32:38 UTC | Thu, 21 Nov 2019 15:21:37 UTC |
| | | | elapsed)
| 5dd7f6ed7ac9b9303ba19388 | packs.install | stanley | scheduled | Fri, 22 Nov 2019 14:55:41 UTC | |
+--------------------------+----------------+--------------+--------------------------+-------------------------------+-------------------------------+
[root@st2-mgmt /]# st2 --debug pack install ansible
2019-11-22 15:32:27,541 DEBUG - Using cached token from file "/root/.st2/token-st2admin"
# -------- begin 139689948968848 request ----------
curl -X POST -H 'Connection: keep-alive' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-requests/2.22.0' -H 'content-type: application/json' -H 'X-Auth-Token: 24a56dfc3a494876a
69544bc405ad345' -H 'Content-Length: 19' --data-binary '{"pack": "ansible"}' http://127.0.0.1:9101/v1/packs/index/search
# -------- begin 139689948968848 response ----------
{
"name": "ansible",
"versions": [
"0.5.9",
"0.5.8",
"0.5.7",
"0.5.6",
"0.5.5",
"0.5.4",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0",
"0.4.0",
"0.3.0",
"0.2.0",
"0.1.0"
],
"author": "StackStorm, Inc.",
"content": {
"tests": {
"count": 1,
"resources": [
"test_actions_lib_ansiblebaserunner.py"
]
},
"actions": {
"count": 8,
"resources": [
"resources": [
"command",
"command_local",
"galaxy.install",
"galaxy.list",
"galaxy.remove",
"playbook",
"vault.decrypt",
"vault.encrypt"
]
}
},
"version": "0.5.9",
"repo_url": "https://github.com/StackStorm-Exchange/stackstorm-ansible",
"keywords": [
"ansible",
"cfg management",
"configuration management"
],
"ref": "ansible",
"email": "[email protected]",
"description": "ansible integrations"
}
# -------- end 139689948968848 response ------------
For the "ansible" pack, the following content will be registered:
rules | 0
sensors | 0
triggers | 0
actions | 8
aliases | 0
Installation may take a while for packs with many items.
# -------- begin 139689948968848 request ----------
curl -X POST -H 'Connection: keep-alive' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-requests/2.22.0' -H 'content-type: application/json' -H 'X-Auth-Token: 24a56dfc3a494876a69544bc405ad345' -H 'Content-Length: 56' --data-binary '{"force": false, "python3": false, "packs": ["ansible"]}' http://127.0.0.1:9101/v1/packs/install
# -------- begin 139689948968848 response ----------
{
"execution_id": "5dd7ff8b7ac9b9303ba1938b"
}
# -------- end 139689948968848 response ------------
No handlers could be found for logger "sseclient"