По какой-то причине yum перестала работать в моем инстансе Amazon EC2, расположенном в западном секторе ЕС. Кажется, что-то не так с путем к метаданным репо, это правильно? Буду очень благодарен за любую помощь, так как мой опыт в этой области несколько ограничен.
кот / etc / redhat-release:
Red Hat Enterprise Linux Server release 6.2 (Santiago)
ням реполист:
Loaded plugins: amazon-id, rhui-lb, security
https://rhui2-cds01.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
https://rhui2-cds02.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
repo id repo name status
rhui-eu-west-1-client-config-server-6 Red Hat Update Infrastructure 2.0 Client Configuration Server 6 0
rhui-eu-west-1-rhel-server-releases Red Hat Enterprise Linux Server 6 (RPMs) 0
rhui-eu-west-1-rhel-server-releases-optional Red Hat Enterprise Linux Server 6 Optional (RPMs) 0
repolist: 0
yum update: (мне нужно было удалить базовые URL-адреса ниже из-за ограничений ServerFault для новых пользователей)
Loaded plugins: amazon-id, rhui-lb, security
[same as base url 1 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
[same as base url 2 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-eu-west-1-client-config-server-6. Please verify its path and try again
Посмотри на это https://forums.aws.amazon.com/message.jspa?messageID=389303
Похоже, у вас такая же проблема. Проблема на форуме AWS еще не решена, но я надеюсь, что это поможет вам понять проблему.
Пробуем запустить:
yum clean all
rhn_check -vv
Вероятно, та же проблема, что и в этой ссылке, которая также включает исправление (публикация Mostafa re billingProducts имеет значение null): https://forums.aws.amazon.com/thread.jspa?threadID=128658
вам нужно добавить входящее правило для HTTPS в свою группу безопасности, тогда оно будет работать