Redhat – Red Hat 7 – Amazon EC2 – Could not retrieve mirrorlist https://None/pulp

amazon ec2redhatyum

SELinux is running in permissive mode

yum update is yielding:

Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Webmin
| 1.0 kB 00:00:00 Could not retrieve mirrorlist
https://None/pulp/mirror/rhui-client-config/rhel/server/7/x86_64/os
error was 14: curl#6 – "Could not resolve host: None; Name or service
not known"

This is a fresh Amazon Red Hat 7 box, with webmin and a LAMP stack.

Best Answer

Had the same issue, the resolution was that, edit /etc/yum.repos.d/rhui-load-balancers.conf with

rhui2-cds01.eu-central-1.aws.ce.redhat.com
rhui2-cds02.eu-central-1.aws.ce.redhat.com