Environment
- Yugabyte Anywhere - 2.14.9
Issue
After the platform upgrade to 2.14.9, we might get health alerts related to python pip.
Error: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/
OR:
Error: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc4df355518>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc4df355908>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
Cause
This is due a bug PLAT-8833 that was introduced in 2.14.9 where pip appears to attempt to reach out to the internet and fails.
Resolution
Steps
There are two ways to resolve this issue:
Option 1:
Upgrade the Yugabyte Anywhere to 2.14.10.1 or newer version.
Option 2:
- From the YBA node, login into the yugaware container and comment out the line.
ubuntu@ybanode:~$ sudo docker exec -ti yugaware bash [root@97ff69190561 yugaware]# vi /opt/yugabyte/devops/bin/common.sh Comment out the line: #run_pip install --upgrade pip > /dev/null
- Save changes and exit.
Comments
0 comments
Please sign in to leave a comment.