Bug 2096081 - dl.fedoraproject.org inaccessible from IPv6 only host
Summary: dl.fedoraproject.org inaccessible from IPv6 only host
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-release
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-12 17:16 UTC by Graham Leggett
Modified: 2022-06-14 15:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-13 14:49:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Graham Leggett 2022-06-12 17:16:36 UTC
Description of problem:

Attempt to upgrade fails as follows, attempt to use IPv4 on an IPv6 only host:

dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Version-Release number of selected component (if applicable):

N/A

How reproducible:

Always

Steps to Reproduce:
1. dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
2.
3.

Actual results:

[root@arnie ~]# dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Failed to set locale, defaulting to C
CentOS Linux 8 - BaseOS                                                                                                                0.0  B/s |   0  B     00:00    
CentOS Linux 8 - AppStream                                                                                                             0.0  B/s |   0  B     00:00    
Failed to synchronize cache for repo 'baseos', ignoring this repo.
Failed to synchronize cache for repo 'appstream', ignoring this repo.
Last metadata expiration check: 0:00:43 ago on Sun Jun 12 17:16:58 2022.
[MIRROR] epel-release-latest-8.noarch.rpm: Curl error (7): Couldn't connect to server for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm [Failed to connect to 38.145.60.23: Network is unreachable]
[FAILED] epel-release-latest-8.noarch.rpm: Curl error (7): Couldn't connect to server for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm [Failed to connect to 38.145.60.23: Network is unreachable]
Curl error (7): Couldn't connect to server for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm [Failed to connect to 38.145.60.23: Network is unreachable]
[root@arnie ~]# ping6 dl.fedoraproject.org
ping: dl.fedoraproject.org: Name or service not known

Expected results:

Success.

Additional info:

AAAA record is missing:

[root@arnie ~]# dig AAAA dl.fedoraproject.org

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 <<>> AAAA dl.fedoraproject.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61203
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;dl.fedoraproject.org.          IN      AAAA

;; AUTHORITY SECTION:
fedoraproject.org.      214     IN      SOA     ns-iad01.fedoraproject.org. hostmaster.fedoraproject.org. 2654882620 3600 600 2419200 86400

;; Query time: 39 msec
;; SERVER: 2001:4d48:face:1::b#53(2001:4d48:face:1::b)
;; WHEN: Sun Jun 12 17:24:05 BST 2022
;; MSG SIZE  rcvd: 105

Comment 1 Stephen John Smoogen 2022-06-12 23:35:27 UTC
The location dl.fedoraproject.org is at is currently only ipv6. This is not a bug which can be fixed by the project.

Comment 2 Kevin Fenzi 2022-06-13 14:49:06 UTC
He means ipv4 only. ;) 

You can use: 
download-cc-rdu01.fedoraproject.org
or
download-ib01.fedoraproject.org

which both have ipv6. Or your local mirror (mirrors.fedoraproject.org/publiclist)

There are plans to bring up ipv6 in our datacenter, but we largely have no control over it. :(

Comment 3 Graham Leggett 2022-06-14 10:10:04 UTC
In our datacentre, IPv4 addresses are super expensive, largely in the form of punishing setup fees: https://docs.hetzner.com/general/others/ipv4-pricing/

This is caused by the ever skyward prices of IPv4 addresses, which are creating a bigger bubble than bitcoin: https://auctions.ipv4.global

Please be aware when declaring "not a bug" that lack of support for IPv6 is costing a lot of people a lot of money.

Comment 4 Stephen John Smoogen 2022-06-14 11:23:52 UTC
It is more of a 'not a bug we can fix' and should have been closed 'CANTFIX'. It is also not a software bug which the bugzilla system is meant to track. It is more of a systems problem which needs to be tracked in https://pagure.io/epel/ where the volunteers who work on EPEL can fix the documentation to point out that for ipv6 you go to https://download-ib01.fedoraproject.org/pub/epel/

Comment 5 Stephen John Smoogen 2022-06-14 11:30:40 UTC
I have filed https://pagure.io/epel/issue/183 for you. I am now going on a couple weeks of family leave so hopefully that will get fixed for you.

Comment 6 Troy Dawson 2022-06-14 15:56:25 UTC
I know this ticket is closed.  But I'm not sure that the affected people are watching the epel issue.  So here is our first attempt at fixing the documentation.  Please let us know if it helps.

Pull request with fix:
https://pagure.io/epel/pull-request/184

Preview of Changes:
https://tdawson.fedorapeople.org/epel-docs/public/epel/index.html
https://tdawson.fedorapeople.org/epel-docs/public/epel/epel-faq/#where_is_the_software_repository_located


Note You need to log in before you can comment on or make changes to this bug.