Replies: 3 comments 7 replies
-
It looks like the st2api address is not configured |
Beta Was this translation helpful? Give feedback.
-
This is the error in st2api logs.
|
Beta Was this translation helpful? Give feedback.
-
Yes sure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Could any one help me here, i am unable to install any pack on multiple ST2 boxes.
{code}
[root@zsc-sjc4-stackstorm2 packs]# st2 pack install pagerduty
For the "pagerduty" pack, the following content will be registered:
actions | 65
rules | 0
sensors | 0
aliases | 4
triggers | 0
Installation may take a while for packs with many items.
id: 669250530596e39e723ad7c3
action.ref: packs.install
parameters:
packs:
skip_dependencies: true
status: failed
start_timestamp: Sat, 13 Jul 2024 10:00:51 UTC
end_timestamp: Sat, 13 Jul 2024 10:00:59 UTC
log:
timestamp: '2024-07-13T10:00:51.206000Z'
timestamp: '2024-07-13T10:00:51.308000Z'
timestamp: '2024-07-13T10:00:51.347000Z'
timestamp: '2024-07-13T10:00:59.138000Z'
result:
errors:
result:
exit_code: 1
result: None
stderr: "st2.actions.python.St2RegisterAction: DEBUG Calling client method "register" with kwargs "{'types': ['all'], 'packs': ['pagerduty']}"
Traceback (most recent call last):
File "/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py", line 395, in
obj.run()
File "/opt/stackstorm/st2/lib/python3.6/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/register.py", line 79, in run
format_func=format_result,
File "/opt/stackstorm/packs/packs/actions/pack_mgmt/register.py", line 155, in _run_client_method
result = method(**method_kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/models/core.py", line 45, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/models/core.py", line 682, in register
response = self.client.post(url, payload, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/utils/httpclient.py", line 33, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/utils/httpclient.py", line 80, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/utils/httpclient.py", line 91, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/utils/httpclient.py", line 61, in decorate
return func(*args, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/utils/httpclient.py", line 129, in post
response = requests.post(self.root + url, json.dumps(data), **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/sessions.py", line 528, in request
prep = self.prepare_request(req)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/sessions.py", line 466, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/models.py", line 316, in prepare
self.prepare_url(url, params)
File "/opt/stackstorm/st2/lib/python3.6/site-packages/requests/models.py", line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None/v1/packs/register': No schema supplied. Perhaps you meant http://None/v1/packs/register?
"
stdout: ''
task_id: register_pack
type: error
output:
conflict_list: null
message: Successfully installed packs
packs_list:
warning_list: []
+--------------------------+------------------------+---------------------+---------------------+-----------------+
| id | status | task | action | start_timestamp |
+--------------------------+------------------------+---------------------+---------------------+-----------------+
| 66925053a0e050627cc62688 | succeeded (0s elapsed) | init_task | core.noop | Sat, 13 Jul |
| | | | | 2024 10:00:51 |
| | | | | UTC |
| 66925053a0e050627cc62698 | succeeded (2s elapsed) | download_pack | packs.download | Sat, 13 Jul |
| | | | | 2024 10:00:51 |
| | | | | UTC |
| 66925055a0e050627cc626a8 | succeeded (1s elapsed) | make_a_prerun | packs.virtualenv_pr | Sat, 13 Jul |
| | | | erun | 2024 10:00:53 |
| | | | | UTC |
| 66925056a0e050627cc626b8 | succeeded (3s elapsed) | install_pack_requir | packs.setup_virtual | Sat, 13 Jul |
| | | ements | env | 2024 10:00:54 |
| | | | | UTC |
| 66925059a0e050627cc626c8 | succeeded (1s elapsed) | get_pack_warnings | packs.get_pack_warn | Sat, 13 Jul |
| | | | ings | 2024 10:00:57 |
| | | | | UTC |
| 6692505aa0e050627cc626d8 | failed (1s elapsed) | register_pack | packs.load | Sat, 13 Jul |
| | | | | 2024 10:00:58 |
| | | | | UTC |
+--------------------------+------------------------+---------------------+---------------------+-----------------+
{code}
Beta Was this translation helpful? Give feedback.
All reactions