This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

All executions ended up in Scheduled status | Download packs

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. :slight_smile:

[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"

Your post seems to have been cut off. What was the result - in full - of st2 --debug pack install ansible on the command line?

[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"

This looks suspicious. Not sure what it caused, but might be broken environment/installation. Considering you’re just trying first steps it would be easier to go with the new installation rather then diving deep into debugging what caused that issue.

I’d suggest to try out our prebuilt Vagrant image which already has StackStorm installed: Vagrant & Virtual Appliance — StackStorm 3.1.0 documentation. This way you don’t need to follow installation instructions as ST2 is already packaged and verified with the Vagrant box.

Alternative for trying the platform quick is to rely on our one-line scripted installer: Installation — StackStorm 3.1.0 documentation
Just make sure to grab a new and clean VM for it.

Thank you for the comment. I have changed the AMI I used and now it seems working. I can download packs without any issue.
Probably this looks like a broken installation. :slight_smile: