noobaa / noobaa-core

High-performance S3 application gateway to any backend - file / s3-compatible / multi-clouds / caching / replication ...
https://www.noobaa.io
Apache License 2.0
270 stars 78 forks source link

s3 cli request for http port on s390x arch hangs in 5.17 #8479

Open rkomandu opened 2 hours ago

rkomandu commented 2 hours ago

Environment info

noobaa-core-5.17.0-20241016.el9.s390x (S3 standalone)

ALLOW_HTTP : false DEBUGLEVEL : all ENABLEMD5 : false ENDPOINT_FORKS : 2 ENDPOINT_PORT : 6001 ENDPOINT_SSL_PORT : 6443

AWS_ACCESS_KEY_ID=aPjdJH9I6YEeEqwsvwx4 AWS_SECRET_ACCESS_KEY=m8yZh3o7dgh1ZlHClTElU+PWhHet3YXsJUwyD15j aws --endpoint http://10.20.83.106:6001/ s3 ls ^C <<<<<<<<<<<<<<<<--- HANGS HERE

Actual behavior

1.

It should display as "connection refused" if ALLOW_HTTP is false

Expected behavior

1.

Could not connect to the endpoint URL: "http://:6001/"

on x86_64

2024-10-24 06:19:27,552 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): :6001 2024-10-24 06:19:27,554 - MainThread - botocore.endpoint - DEBUG - Exception received when sending HTTP request. Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused

Steps to reproduce

1.

More information - Screenshots / Logs / Other output

Attaching the s3 ls --debug option s3.log.txt

rkomandu commented 2 hours ago

@naveenpaul1 could you check this one. Working on x86_64 and pwr arch