How to execute a pipeline from a Jupyter notebook in a disconnected environment
Issue
Executing a pipeline from a Jupyter notebook in a disconnected environment might fail because of an SSL certificate validation issue.
A failure due to pipeline SSL certificate validation is indicated by the following error in the Jupyter notebook logs:
File "/opt/app-root/lib64/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ds-pipeline-pipelines-definition.apps.example.com', port=443): Max retries exceeded with url: /apis/v1beta1/healthz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
Environment
- Red Hat OpenShift AI (RHOAI)
- Version: <= 2.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.