03-30-2022 02:56 PM
When I run the init_script during cluster creation
apt-get update && apt-get install -y ffmpeg libsndfile1-dev
I get an error in cluster logs
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/o/openal-soft/libopenal1_1.19.1-1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable)
Any suggestions how to fix it would be most appreciated
03-30-2022 03:56 PM
Please check routing in managed vpc. It seems that traffic out is blocked.
You can also, in the notebook, run that command to diagnose connection issues as maybe it is only during init scripts:
%sh
nc -zv archive.ubuntu.com 443
03-30-2022 03:56 PM
Please check routing in managed vpc. It seems that traffic out is blocked.
You can also, in the notebook, run that command to diagnose connection issues as maybe it is only during init scripts:
%sh
nc -zv archive.ubuntu.com 443
04-03-2022 12:01 PM
Hi @Sergii Ivakhno ,
Looks like the outbound connection could not be established. Please check the outbound access in the security group and egress traffic in the route table.
04-04-2022 02:13 AM
Thanks for reply - strangely I only notice this error with apt-get. For example pip install works correctly so not sure if it's networking issues (unless pip works with Databricks-hosted mirror).
04-04-2022 02:58 AM
Hi @Sergii Ivakhno Could you please check if outbound TCP access for port 80 is allowed in the security group.
04-26-2022 09:29 AM
Hi @Sergii Ivakhno , Just a friendly follow-up. Do you still need help, or @Pratik Bhawsar 's response help you to find the solution? Please let us know.
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.