Error in st2 pack installation

Hi,

I am facing and error while trying to install st2 with pack on Centos 7 operating system.

The command that is being run is:

st2 pack install st2

And I am facing the errors:
st2 pack install st2

    [  failed   ] download pack

id: 5e27d99b9d63510f6d934e3f
action.ref: packs.install
parameters:
packs:

  • st2
    python3: false
    status: failed
    result_task: download pack
    result:
    exit_code: 1
    result: None
    stderr: "No handlers could be found for logger “st2.st2common.services.packs”
    Traceback (most recent call last):
    File “/opt/stackstorm/st2/lib/python2.7/site-packages/python_runner/python_action_wrapper.py”, line 333, in
    obj.run()
    File “/opt/stackstorm/st2/lib/python2.7/site-packages/python_runner/python_action_wrapper.py”, line 192, in run
    output = action.run(**self._parameters)
    File “/opt/stackstorm/packs/packs/actions/pack_mgmt/download.py”, line 78, in run
    return self._validate_result(result=result, repo_url=pack_url)
    File “/opt/stackstorm/packs/packs/actions/pack_mgmt/download.py”, line 99, in _validate_result
    raise Exception(message)
    Exception: The pack has not been downloaded from “None”.

Errors:
No results from the index: tried https://index.stackstorm.org/v1/index.json.
Status: [
{
“url”: “https://index.stackstorm.org/v1/index.json”,
“message”: “SSLError(MaxRetryError(‘HTTPSConnectionPool(host=\‘index.stackstorm.org\’, port=443): Max retries exceeded with url: /v1/index.json (Caused by SSLError(SSLError(“bad handshake: SysCallError(104, \‘ECONNRESET\’)”,),))’,),)”,
“error”: “unresponsive”,
“packs”: 0
}
]
"
stdout: ‘’
error: No handlers could be found for logger “st2.st2common.services.packs”
Traceback (most recent call last):
File “/opt/stackstorm/st2/lib/python2.7/site-packages/python_runner/python_action_wrapper.py”, line 333, in
obj.run()
File “/opt/stackstorm/st2/lib/python2.7/site-packages/python_runner/python_action_wrapper.py”, line 192, in run
output = action.run(**self._parameters)
File “/opt/stackstorm/packs/packs/actions/pack_mgmt/download.py”, line 78, in run
return self._validate_result(result=result, repo_url=pack_url)
File “/opt/stackstorm/packs/packs/actions/pack_mgmt/download.py”, line 99, in _validate_result
raise Exception(message)
Exception: The pack has not been downloaded from “None”.

Errors:
No results from the index: tried https://index.stackstorm.org/v1/index.json.
Status: [
{
“url”: “https://index.stackstorm.org/v1/index.json”,
“message”: “SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘index.stackstorm.org’, port=443): Max retries exceeded with url: /v1/index.json (Caused by SSLError(SSLError(“bad handshake: SysCallError(104, ‘ECONNRESET’)”,),))’,),)”,
“error”: “unresponsive”,
“packs”: 0
}
]

traceback: None
failed_on: download pack
start_timestamp: Wed, 22 Jan 2020 05:11:55 UTC
end_timestamp: Wed, 22 Jan 2020 05:11:58 UTC
±-------------------------±--------------------±--------------±---------------±------------------------------+
| id | status | task | action | start_timestamp |
±-------------------------±--------------------±--------------±---------------±------------------------------+
| 5e27d99b9d63510d3d25b7a6 | failed (2s elapsed) | download pack | packs.download | Wed, 22 Jan 2020 05:11:55 UTC |
±-------------------------±--------------------±--------------±---------------±------------------------------+

Could you please point on what needs to be done to fix this issue. Thank you

Your system doesn’t have connectivity to https://index.stackstorm.org - you need to fix that. Possibly by configuring a proxy, possibly firewall rules. Depends on your network.