Dataiku Elastic AI kubernetes: all task fail with "urllib3 v2.0 only supports OpenSSL 1.1.1+"
I've built the base image with
/dss_data/data/bin/dssadmin build-base-image --type container-exec
I've setup the Administration > Settings > Containerized execution and PUSH BASE IMAGES
I can see the container/docker image in ECR
When I run AutoML or any other task it always fails with
[2023/08/15-14:10:49.661] [KNL-python-single-command-kernel-k8smonitor-10047] [INFO] [dku.containers.kubernetes] - Querying job status on job dataiku-exec-doctor-preprocessing-oxsedyj- try number 1 Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/local/lib/python3.7/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/opt/dataiku/python/dataiku/__init__.py", line 13, in <module> from .core.dataset import Dataset, _dataset_writer_atexit_handler File "/opt/dataiku/python/dataiku/core/dataset.py", line 38, in <module> from dataiku.core import intercom, metrics, dataset_write, continuous_write File "/opt/dataiku/python/dataiku/core/intercom.py", line 2, in <module> import requests File "/opt/dataiku/pyenv/lib/python3.7/site-packages/requests/__init__.py", line 43, in <module> import urllib3 File "/opt/dataiku/pyenv/lib/python3.7/site-packages/urllib3/__init__.py", line 42, in <module> "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently " ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168 [2023/08/15-14:10:50.941] [Thread-4542] [DEBUG] [dku.utils] - Process kubectl-get-job done (return code 0)
My understanding is that the error
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
comes from the pod that is running the base image created by dataiku. So how can I fix it?
Operating system used: Amazon Linux 2
Best Answer
-
Hello,
You need to upgrade to at least DSS version 11.4.3 and re-do the build base image step (as well as all the necessary post-upgrade tasks):
https://doc.dataiku.com/dss/latest/release_notes/11.html#coding
https://doc.dataiku.com/dss/latest/installation/custom/upgrade.html
Answers
-
I have 11.3.2 which is the one that shows on
https://www.dataiku.com/product/get-started/linux/
Where can I find the other versions download links?
-
-
Would be good if somebody changes the
https://www.dataiku.com/product/get-started/linux/
to always propose the latest release GA version