Replies: 1 comment 2 replies
-
what's the output of the last task (setup virtualenv)? EDIT: what's in the logs, if anything? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I tried to install the openai pack in the st2client.
I got an error below.
My environment is Kubernetes v1.32.2 provisioned by Docker Desktop on a Windows 11 laptop.
It also failed in the StackStrom UI.
How can I fix it?
root@stackstorm-st2client-6b798bb4f7-c8svb:/opt/stackstorm# st2 --debug pack install openai
2025-05-21 08:11:28,637 DEBUG - Using cached token from file "/root/.st2/token-st2admin"
-------- begin 140252139001600 request ----------
curl -X POST -H 'User-Agent: python-requests/2.25.1' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: /' -H 'Connection: keep-alive' -H 'X-Auth-Token: 3db1fc85c5b7406d82b6e4f8d9f64310' -H 'content-type: application/json' -H 'Content-Length: 18' --data-binary '{"pack": "openai"}' http://stackstorm-st2api:9101/packs/index/search
-------- begin 140252139001600 response ----------
{"author":"David Larsen","content":{"actions":{"count":2,"resources":["chat_completion","image_generation"]},"aliases":{"count":2,"resources":["openai_chat_completion","openai_image_generation"]},"tests":{"count":2,"resources":["test_action_chat_completion.py","test_action_image_generation.py"]}},"description":"Pack to query OpenAI API","email":"dalarsen@expediagroup.com","keywords":["openai","ai","chatgpt"],"name":"openai","python_versions":["3"],"ref":"openai","repo_url":"https://github.com/StackStorm-Exchange/stackstorm-openai","version":"0.1.1","versions":["0.1.1","0.1.0"]}
-------- end 140252139001600 response ------------
For the "openai" pack, the following content will be registered:
actions | 2
rules | 0
sensors | 0
aliases | 2
triggers | 0
Installation may take a while for packs with many items.
-------- begin 140252139001600 request ----------
curl -X POST -H 'User-Agent: python-requests/2.25.1' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: /' -H 'Connection: keep-alive' -H 'X-Auth-Token: 3db1fc85c5b7406d82b6e4f8d9f64310' -H 'content-type: application/json' -H 'Content-Length: 65' --data-binary '{"packs": ["openai"], "force": false, "skip_dependencies": false}' http://stackstorm-st2api:9101/packs/install
-------- begin 140252139001600 response ----------
{"execution_id":"682d8ab1da0a5b9c628aa763"}
-------- end 140252139001600 response ------------
-------- begin 140252139003184 request ----------
curl -X GET -H 'User-Agent: python-requests/2.25.1' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: /' -H 'Connection: keep-alive' -H 'X-Auth-Token: 3db1fc85c5b7406d82b6e4f8d9f64310' 'http://stackstorm-st2api:9101/executions/682d8ab1da0a5b9c628aa763/children/?depth=1'
-------- begin 140252139003184 response ----------
[{"action":{"tags":[],"uid":"action:core:noop","metadata_file":"actions/noop.yaml","name":"noop","ref":"core.noop","description":"Action that does nothing","enabled":true,"entry_point":"","pack":"core","runner_type":"noop","parameters":{},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb92e"},"runner":{"name":"noop","description":"A runner that returns a static response regardless of input parameters","uid":"runner_type:noop","enabled":true,"runner_package":"noop_runner","runner_module":"noop_runner","runner_parameters":{},"output_schema":{},"id":"682d355e6a337f2547ec7305"},"liveaction":{"action":"core.noop","action_is_workflow":false,"parameters":{},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-c8htz","pid":1},"id":"682d8ab1ee449183714e4e93"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab1ee449183714e4e91","status":"succeeded","start_timestamp":"2025-05-21T08:11:29.985661Z","end_timestamp":"2025-05-21T08:11:30.260373Z","result_size":49,"context":{"pack":"core","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab1ee449183714e4e91","task_name":"init_task","task_id":"init_task","task_route":0}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:29.999000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:30.180000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:30.221000Z","status":"running"},{"timestamp":"2025-05-21T08:11:30.277000Z","status":"succeeded"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-lw4kz/#/history/682d8ab2ee449183714e4e94/general","id":"682d8ab2ee449183714e4e94","result":{"failed":false,"succeeded":true,"return_code":0},"elapsed_seconds":0.274712},{"action":{"tags":[],"uid":"action:packs:download","metadata_file":"actions/download.yaml","name":"download","ref":"packs.download","description":"Downloads packs and places it in the local content repository.","enabled":true,"entry_point":"pack_mgmt/download.py","pack":"packs","runner_type":"python-script","parameters":{"packs":{"type":"array","items":{"type":"string"},"required":true},"abs_repo_base":{"type":"string","default":"/opt/stackstorm/packs/","immutable":true},"verifyssl":{"type":"boolean","default":true},"force":{"type":"boolean","description":"Set to True to force install the pack and skip StackStorm version compatibility check","required":false,"default":false},"dependency_list":{"type":"array","description":"Dependency list that needs to be downloaded.","items":{"type":"string"},"required":false}},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb937"},"runner":{"name":"python-script","description":"A runner for launching python actions.","uid":"runner_type:python-script","enabled":true,"runner_package":"python_runner","runner_module":"python_runner","runner_parameters":{"debug":{"description":"Enable runner debug mode.","type":"boolean","required":false,"default":false},"content_version":{"description":"Git revision of the pack content to use for this action execution (git commit sha / tag / branch). Only applies to packs which are git repositories.","type":"string","required":false},"env":{"description":"Environment variables which will be available to the script.","type":"object"},"timeout":{"default":600,"description":"Action timeout in seconds. Action will get killed if it doesn't finish in timeout seconds.","type":"integer"},"log_level":{"description":"Default log level for Python runner actions.","type":"string","default":"DEBUG","enum":["AUDIT","CRITICAL","ERROR","WARNING","INFO","DEBUG"]}},"output_key":"result","output_schema":{"type":"object","properties":{"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"null"}]},"stderr":{"type":"string","required":true},"stdout":{"type":"string","required":true},"exit_code":{"type":"integer","required":true}},"additionalProperties":false},"id":"682d355e6a337f2547ec7302"},"liveaction":{"action":"packs.download","action_is_workflow":false,"parameters":{"packs":["openai"],"force":false,"dependency_list":null},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-422zc","pid":1},"id":"682d8ab28dd7e5537ff4efc8"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab28dd7e5537ff4efc6","status":"succeeded","start_timestamp":"2025-05-21T08:11:30.502115Z","end_timestamp":"2025-05-21T08:11:32.344128Z","parameters":{"packs":["openai"],"force":false,"dependency_list":null},"result_size":215,"context":{"pack":"packs","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab28dd7e5537ff4efc6","task_name":"download_pack","task_id":"download_pack","task_route":0}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:30.514000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:30.594000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:30.646000Z","status":"running"},{"timestamp":"2025-05-21T08:11:32.365000Z","status":"succeeded"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-m2tzd/#/history/682d8ab28dd7e5537ff4efc9/general","id":"682d8ab28dd7e5537ff4efc9","result":{"stdout":"","stderr":"st2.actions.python.DownloadGitRepoAction: DEBUG Moving pack from /root/.st2packs/752ec4804f66a618e65e7523bc75300d to /opt/stackstorm/packs/.\n","exit_code":0,"result":{"openai":"Success."}},"elapsed_seconds":1.842013},{"action":{"tags":[],"uid":"action:packs:virtualenv_prerun","metadata_file":"actions/virtualenv_prerun.yaml","name":"virtualenv_prerun","ref":"packs.virtualenv_prerun","description":"Transformation step to conver packs_status to list of packs.","enabled":true,"entry_point":"pack_mgmt/virtualenv_setup_prerun.py","pack":"packs","runner_type":"python-script","parameters":{"packs_status":{"type":"object"},"packs_list":{"type":"array","items":{"type":"string"},"required":false,"default":null,"description":"Names of the pack in Exchange, a git repo URL or local file system."}},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb945"},"runner":{"name":"python-script","description":"A runner for launching python actions.","uid":"runner_type:python-script","enabled":true,"runner_package":"python_runner","runner_module":"python_runner","runner_parameters":{"debug":{"description":"Enable runner debug mode.","type":"boolean","required":false,"default":false},"content_version":{"description":"Git revision of the pack content to use for this action execution (git commit sha / tag / branch). Only applies to packs which are git repositories.","type":"string","required":false},"env":{"description":"Environment variables which will be available to the script.","type":"object"},"timeout":{"default":600,"description":"Action timeout in seconds. Action will get killed if it doesn't finish in timeout seconds.","type":"integer"},"log_level":{"description":"Default log level for Python runner actions.","type":"string","default":"DEBUG","enum":["AUDIT","CRITICAL","ERROR","WARNING","INFO","DEBUG"]}},"output_key":"result","output_schema":{"type":"object","properties":{"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"null"}]},"stderr":{"type":"string","required":true},"stdout":{"type":"string","required":true},"exit_code":{"type":"integer","required":true}},"additionalProperties":false},"id":"682d355e6a337f2547ec7302"},"liveaction":{"action":"packs.virtualenv_prerun","action_is_workflow":false,"parameters":{"packs_status":{"openai":"Success."},"packs_list":null},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-vdr2d","pid":1},"id":"682d8ab48dd7e5537ff4efd7"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab48dd7e5537ff4efd5","status":"succeeded","start_timestamp":"2025-05-21T08:11:32.597468Z","end_timestamp":"2025-05-21T08:11:32.961547Z","parameters":{"packs_status":{"openai":"Success."},"packs_list":null},"result_size":59,"context":{"pack":"packs","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab48dd7e5537ff4efd5","task_name":"make_a_prerun","task_id":"make_a_prerun","task_route":0}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:32.613000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:32.751000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:32.808000Z","status":"running"},{"timestamp":"2025-05-21T08:11:32.986000Z","status":"succeeded"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-m2tzd/#/history/682d8ab48dd7e5537ff4efd8/general","id":"682d8ab48dd7e5537ff4efd8","result":{"stdout":"","stderr":"","exit_code":0,"result":["openai"]},"elapsed_seconds":0.364079},{"action":{"tags":[],"uid":"action:packs:get_pack_dependencies","metadata_file":"actions/get_pack_dependencies.yaml","name":"get_pack_dependencies","ref":"packs.get_pack_dependencies","description":"Get pack dependencies specified in pack.yaml","enabled":true,"entry_point":"pack_mgmt/get_pack_dependencies.py","pack":"packs","runner_type":"python-script","parameters":{"packs_status":{"type":"object","description":"Name of the pack in Exchange or a git repo URL and download status.","required":true,"default":null},"nested":{"type":"integer","description":"Nested level of dependencies to prevent infinite or really long download loops.","required":true,"default":3}},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb93a"},"runner":{"name":"python-script","description":"A runner for launching python actions.","uid":"runner_type:python-script","enabled":true,"runner_package":"python_runner","runner_module":"python_runner","runner_parameters":{"debug":{"description":"Enable runner debug mode.","type":"boolean","required":false,"default":false},"content_version":{"description":"Git revision of the pack content to use for this action execution (git commit sha / tag / branch). Only applies to packs which are git repositories.","type":"string","required":false},"env":{"description":"Environment variables which will be available to the script.","type":"object"},"timeout":{"default":600,"description":"Action timeout in seconds. Action will get killed if it doesn't finish in timeout seconds.","type":"integer"},"log_level":{"description":"Default log level for Python runner actions.","type":"string","default":"DEBUG","enum":["AUDIT","CRITICAL","ERROR","WARNING","INFO","DEBUG"]}},"output_key":"result","output_schema":{"type":"object","properties":{"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"null"}]},"stderr":{"type":"string","required":true},"stdout":{"type":"string","required":true},"exit_code":{"type":"integer","required":true}},"additionalProperties":false},"id":"682d355e6a337f2547ec7302"},"liveaction":{"action":"packs.get_pack_dependencies","action_is_workflow":false,"parameters":{"packs_status":{"openai":"Success."},"nested":10},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-gkx2p","pid":1},"id":"682d8ab58dd7e5537ff4efe6"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab58dd7e5537ff4efe4","status":"succeeded","start_timestamp":"2025-05-21T08:11:33.259847Z","end_timestamp":"2025-05-21T08:11:33.739107Z","parameters":{"packs_status":{"openai":"Success."},"nested":10},"result_size":168,"context":{"pack":"packs","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab58dd7e5537ff4efe4","task_name":"get_pack_dependencies","task_id":"get_pack_dependencies","task_route":0}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:33.272000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:33.376000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:33.422000Z","status":"running"},{"timestamp":"2025-05-21T08:11:33.760000Z","status":"succeeded"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-m2tzd/#/history/682d8ab58dd7e5537ff4efe7/general","id":"682d8ab58dd7e5537ff4efe7","result":{"stdout":"Could not open pack.yaml at location /opt/stackstorm/packs/openai\n","stderr":"","exit_code":0,"result":{"dependency_list":[],"conflict_list":[],"nested":9}},"elapsed_seconds":0.47926},{"action":{"tags":[],"uid":"action:core:noop","metadata_file":"actions/noop.yaml","name":"noop","ref":"core.noop","description":"Action that does nothing","enabled":true,"entry_point":"","pack":"core","runner_type":"noop","parameters":{},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb92e"},"runner":{"name":"noop","description":"A runner that returns a static response regardless of input parameters","uid":"runner_type:noop","enabled":true,"runner_package":"noop_runner","runner_module":"noop_runner","runner_parameters":{},"output_schema":{},"id":"682d355e6a337f2547ec7305"},"liveaction":{"action":"core.noop","action_is_workflow":false,"parameters":{},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-v9769","pid":1},"id":"682d8ab58dd7e5537ff4eff5"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab58dd7e5537ff4eff3","status":"succeeded","start_timestamp":"2025-05-21T08:11:33.994319Z","end_timestamp":"2025-05-21T08:11:34.178095Z","result_size":49,"context":{"pack":"core","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab58dd7e5537ff4eff3","task_name":"check_dependency_and_conflict_list","task_id":"check_dependency_and_conflict_list","task_route":0}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:34.009000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:34.098000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:34.139000Z","status":"running"},{"timestamp":"2025-05-21T08:11:34.194000Z","status":"succeeded"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-m2tzd/#/history/682d8ab68dd7e5537ff4eff6/general","id":"682d8ab68dd7e5537ff4eff6","result":{"failed":false,"succeeded":true,"return_code":0},"elapsed_seconds":0.183776},{"action":{"tags":[],"uid":"action:packs:setup_virtualenv","metadata_file":"actions/setup_virtualenv.yaml","name":"setup_virtualenv","ref":"packs.setup_virtualenv","description":"Set up virtual environment for the provided packs","enabled":true,"entry_point":"pack_mgmt/setup_virtualenv.py","pack":"packs","runner_type":"python-script","parameters":{"packs":{"type":"array","description":"List of packs to create virtualenv for.","items":{"type":"string"}},"update":{"type":"boolean","default":false,"description":"Check this option if the virtual environment already exists and if you only want to perform an update and installation of new dependencies. If you don't check this option, the virtual environment will be destroyed then re-created. If you check this and the virtual environment doesn't exist, it will create it."},"no_download":{"type":"boolean","description":"Use version of pip which is already on the system instead of downloading the latest version from PyPi when creating a virtual environment.","required":false,"default":true},"env":{"type":"object","description":"Optional environment variables","required":false,"default":null},"timeout":{"default":600,"required":false,"description":"Action timeout in seconds. Action will get killed if it doesn't finish in timeout","type":"integer"}},"output_schema":{},"notify":{},"id":"682d359a1ef11ea0e2afb940"},"runner":{"name":"python-script","description":"A runner for launching python actions.","uid":"runner_type:python-script","enabled":true,"runner_package":"python_runner","runner_module":"python_runner","runner_parameters":{"debug":{"description":"Enable runner debug mode.","type":"boolean","required":false,"default":false},"content_version":{"description":"Git revision of the pack content to use for this action execution (git commit sha / tag / branch). Only applies to packs which are git repositories.","type":"string","required":false},"env":{"description":"Environment variables which will be available to the script.","type":"object"},"timeout":{"default":600,"description":"Action timeout in seconds. Action will get killed if it doesn't finish in timeout seconds.","type":"integer"},"log_level":{"description":"Default log level for Python runner actions.","type":"string","default":"DEBUG","enum":["AUDIT","CRITICAL","ERROR","WARNING","INFO","DEBUG"]}},"output_key":"result","output_schema":{"type":"object","properties":{"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"array"},{"type":"null"}]},"stderr":{"type":"string","required":true},"stdout":{"type":"string","required":true},"exit_code":{"type":"integer","required":true}},"additionalProperties":false},"id":"682d355e6a337f2547ec7302"},"liveaction":{"action":"packs.setup_virtualenv","action_is_workflow":false,"parameters":{"packs":["openai"],"env":null,"timeout":600},"callback":{},"runner_info":{"hostname":"stackstorm-st2actionrunner-7f7bb5d844-c8htz","pid":1},"id":"682d8ab68dd7e5537ff4f004"},"workflow_execution":"682d8ab120bc8a20e9d91227","task_execution":"682d8ab68dd7e5537ff4f002","status":"failed","start_timestamp":"2025-05-21T08:11:34.441354Z","end_timestamp":"2025-05-21T08:11:35.050001Z","parameters":{"packs":["openai"],"env":null,"timeout":600},"result_size":852,"context":{"pack":"packs","user":"st2admin","parent":{"execution_id":"682d8ab1da0a5b9c628aa763","user":"st2admin","pack":"packs"},"orquesta":{"workflow_execution_id":"682d8ab120bc8a20e9d91227","task_execution_id":"682d8ab68dd7e5537ff4f002","task_name":"install_pack_requirements","task_id":"install_pack_requirements","task_route":1}},"parent":"682d8ab1da0a5b9c628aa763","log":[{"timestamp":"2025-05-21T08:11:34.454000Z","status":"requested"},{"timestamp":"2025-05-21T08:11:34.623000Z","status":"scheduled"},{"timestamp":"2025-05-21T08:11:34.667000Z","status":"running"},{"timestamp":"2025-05-21T08:11:35.065000Z","status":"failed"}],"web_url":"https://stackstorm-st2workflowengine-7d7dd87f77-m2tzd/#/history/682d8ab68dd7e5537ff4f005/general","id":"682d8ab68dd7e5537ff4f005","result":{"stdout":"","stderr":"st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "openai" (None)\nTraceback (most recent call last):\n File "/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py", line 395, in \n obj.run()\n File "/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py", line 214, in run\n output = action.run(**self._parameters)\n File "/opt/stackstorm/packs/packs/actions/pack_mgmt/setup_virtualenv.py", line 93, in run\n setup_pack_virtualenv(\n File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2common/util/virtualenvs.py", line 95, in setup_pack_virtualenv\n raise Exception(msg)\nException: Pack "openai" is not installed. Looked in: /opt/stackstorm/packs\n","exit_code":1,"result":"None"},"elapsed_seconds":0.608647}]
-------- end 140252139003184 response ------------
id: 682d8ab1da0a5b9c628aa763
action.ref: packs.install
parameters:
packs:
status: failed
start_timestamp: Wed, 21 May 2025 08:11:29 UTC
end_timestamp: Wed, 21 May 2025 08:11:35 UTC
log:
timestamp: '2025-05-21T08:11:29.480000Z'
timestamp: '2025-05-21T08:11:29.651000Z'
timestamp: '2025-05-21T08:11:29.688000Z'
timestamp: '2025-05-21T08:11:35.236000Z'
result:
errors:
result:
exit_code: 1
result: None
stderr: "st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "openai" (None)
Traceback (most recent call last):
File "/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py", line 395, in
obj.run()
File "/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py", line 214, in run
output = action.run(**self._parameters)
File "/opt/stackstorm/packs/packs/actions/pack_mgmt/setup_virtualenv.py", line 93, in run
setup_pack_virtualenv(
File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2common/util/virtualenvs.py", line 95, in setup_pack_virtualenv
raise Exception(msg)
Exception: Pack "openai" is not installed. Looked in: /opt/stackstorm/packs
"
stdout: ''
task_id: install_pack_requirements
type: error
output:
conflict_list: []
message: ''
packs_list:
warning_list: null
+--------------------------+------------------------+---------------------------------+-----------------------------+-------------------------------+
| id | status | task | action | start_timestamp |
+--------------------------+------------------------+---------------------------------+-----------------------------+-------------------------------+
| 682d8ab2ee449183714e4e94 | succeeded (1s elapsed) | init_task | core.noop | Wed, 21 May 2025 08:11:29 UTC |
| 682d8ab28dd7e5537ff4efc9 | succeeded (2s elapsed) | download_pack | packs.download | Wed, 21 May 2025 08:11:30 UTC |
| 682d8ab48dd7e5537ff4efd8 | succeeded (0s elapsed) | make_a_prerun | packs.virtualenv_prerun | Wed, 21 May 2025 08:11:32 UTC |
| 682d8ab58dd7e5537ff4efe7 | succeeded (0s elapsed) | get_pack_dependencies | packs.get_pack_dependencies | Wed, 21 May 2025 08:11:33 UTC |
| 682d8ab68dd7e5537ff4eff6 | succeeded (1s elapsed) | check_dependency_and_conflict_l | core.noop | Wed, 21 May 2025 08:11:33 UTC |
| | | ist | | |
| 682d8ab68dd7e5537ff4f005 | failed (1s elapsed) | install_pack_requirements | packs.setup_virtualenv | Wed, 21 May 2025 08:11:34 UTC |
+--------------------------+------------------------+---------------------------------+-----------------------------+-------------------------------+
Beta Was this translation helpful? Give feedback.
All reactions