uvarc / accord

Top-level repository for tracking the ACCORD deployment.
0 stars 0 forks source link

K8S network rules aren't allowing outbound access to http_proxy #15

Closed nmagee closed 3 years ago

nmagee commented 3 years ago

In an environment I should be able to

pip3 install pandas

but currently that command hangs.

Test output is here from a Theia Python environment:

user@theia-python-nemagee-7nvdm:/home$ python3 -m pip install boto3
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f460d976520>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/boto3/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f460d9766a0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/boto3/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f460d9767c0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/boto3/
mubarakkgvg3qh commented 3 years ago

http_proxy ENV var needed to be added to the user pods env. Ravi has added it. now able to pip install from a theia python user pod.

nmagee commented 3 years ago

Awesome @mubarakkgvg3qh - I wasn't sure if they would inherit from the hosts or not.