[EXTERNAL EMAIL] The short version:
You need to look into whatever is causing http connections to take so long to the Dell linux yum repository and from the looks of it every other repo on there, but a really fast fix, is to have your mirror script return https instead of http, which is probably a better solution all the way around. The longer version with examples: Folks for a number of days now all of our systems have been failing due to Dell's repositories not functioning correctly. I don't know what the exact root of the issue is on your side, but I can say that an http connection to download a repomd.xml file takes an unacceptably long amount of time, whereas an https connection is rather quick. It is fine if you want everything to go over https, in fact I encourage it, however, your mirrors.cgi script is still outputting http links, and as such connections are timing out, examples follow: This connection took two minutes to complete: wget http://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml --2019-02-15 11:20:59-- http://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml Resolving linux.dell.com... 143.166.156.113 Connecting to linux.dell.com|143.166.156.113|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml [following] --2019-02-15 11:22:40-- https://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml Connecting to linux.dell.com|143.166.156.113|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2383 (2.3K) [text/xml] Saving to: “repomd.xml.1” 100%[======================================>] 2,383 --.-K/s in 0s 2019-02-15 11:22:45 (174 MB/s) - “repomd.xml.1” saved [2383/2383] This connection took much less time: wget https://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml --2019-02-15 11:20:29-- https://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/repodata/repomd.xml Resolving linux.dell.com... 143.166.156.113 Connecting to linux.dell.com|143.166.156.113|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2383 (2.3K) [text/xml] Saving to: “repomd.xml” 100%[======================================>] 2,383 --.-K/s in 0s 2019-02-15 11:20:33 (155 MB/s) - “repomd.xml” saved [2383/2383] Your mirror script: curl 'https://linux.dell.com/repo/hardware/dsu/mirrors.cgi?osname=el6&basearch=x86_64&native=1' http://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64 -Erinn _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge
