Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL error #116

Open
tamer-shamseldin opened this issue Jan 15, 2024 · 3 comments
Open

OpenSSL error #116

tamer-shamseldin opened this issue Jan 15, 2024 · 3 comments

Comments

@tamer-shamseldin
Copy link

tamer-shamseldin commented Jan 15, 2024

OneFS-95-1# isi upgrade patches list
Patch Name Description Status

9.5.0.6_LTS2023_GA-RUP_PSP-3839 Multiple Userspace and Kernel Fixes Installed
9.5.0_UGA-PATCH-INFRA_2023-03_PSP-3206 Patch Framework Fix Installed

Total: 2

OneFS-95-1# ./iht/bin/isilon_create_users --no-verify --onefs-user "root" --zone "Prod-CDH" --dist "cdp" "192.168.20.5"
Traceback (most recent call last):
File "./iht/bin/isilon_create_users", line 5, in
from isilon_hadoop_tools._scripts import isilon_create_users
File "/root/iht/lib/python3.8/site-packages/isilon_hadoop_tools/_scripts.py", line 8, in
import urllib3
File "/root/iht/lib/python3.8/site-packages/urllib3/init.py", line 41, in
raise ImportError(
ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2zh-fips 30 May 2023'. See: urllib3/urllib3#2168

@nickyruggs
Copy link

Same here... Centos 7 & Python3.8

@tucked
Copy link
Member

tucked commented Jan 25, 2024

This likely isn't something IHT should address directly (because the fix would be to block the newer, more secure urllib3 v2, even though IHT should otherwise be able to run with it).

IHT is still fine with urllib3 v1, though:

"urllib3 >= 1.22.0",

So I think you should be able to work around by running this inside the virtualenv where IHT is installed:

pip install 'urllib3 < 2'

If you installed with pipx, you can inject that command:

pipx inject isilon-hadoop-tools 'urllib3 < 2'

The better solution, however, is probably to upgrade OpenSSL.

@nickyruggs
Copy link

That 'inject' worked just fine. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants