YASPI

Case:

yum fails: http://yum.puppetlabs.com/el/6/dependencies/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 – “Failed to connect to 2600:3c00::f03c:91ff:fe69:6bf0: Network is unreachable” in a machine which doesn’t have IPv6 connectivity

Solution:

Since connections go through proxy, define it to respective repo config

Root cause:

Host has A and AAAA records, yum 1st tries A and when it fails it tries AAAA (which also fails)

$host yum.puppetlabs.com
yum.puppetlabs.com is an alias for burji2.puppetlabs.com.
burji2.puppetlabs.com has address 198.58.114.168
burji2.puppetlabs.com has IPv6 address 2600:3c00::f03c:91ff:fe69:6bf0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.