Hi Team,
Need help in resolving the LDAP error.
On stackstorm 3.5 able to use the ldap by modifying the configuration in /etc/st2/st2.conf
Able to list the packs but not able to install the pack with LDAP account
#####error #########
Installation may take a while for packs with many items.
[ succeeded ] init_task
[ succeeded ] download_pack
[ succeeded ] make_a_prerun
[ succeeded ] get_pack_dependencies
[ succeeded ] check_dependency_and_conflict_list
[ succeeded ] install_pack_requirements
[ succeeded ] get_pack_warnings
[ failed ] register_pack
##############
stderr: "st2.actions.python.St2RegisterAction: DEBUG Calling client method “register” with kwargs
“{‘types’: [‘all’], ‘packs’: [‘ansible’]}”
/opt/stackstorm/st2/lib/python3.6/site-packages/urllib3/connectionpool.py:1020: InsecureRequestWarning:
Unverified HTTPS request is being made to host ‘qc1udatast204.abacus-us.com’.
Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 2.0.0.dev0
documentation
InsecureRequestWarning,
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 42, in
decorate
return func(*args, **kwargs)
File “/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/models/core.py”, line 630, in
register
self.handle_error(response)
File “/opt/stackstorm/st2/lib/python3.6/site-packages/st2client/models/core.py”, line 195, in
handle_error
response.raise_for_status()
File “/opt/stackstorm/st2/lib/python3.6/site-packages/requests/models.py”, line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found
Unable to retrieve detailed message from the HTTP response. expected value at line 1 column 1: line 1
column 1 (char 0)
for url: https://host.company.com/v1/packs/register
####################