Yum generates '[Errno 14] HTTP Error 401: Authorization Required' while accessing RHUI CDS

Solution Verified - Updated -


After creating and installing the client entitlement RPMs on a client system (both RHEL5 and RHEL6), receiving "HTTP Error 401: Authorization Required" when executing yum commands.

# yum repolist
Loaded plugins: rhui-lb, security
https://host1.domain.com/pulp/repos//customer-vpdc-unmanaged/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required
Trying other mirror.
https://host2.domain.com/pulp/repos//customer-vpdc-unmanaged/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-custom-10000. Please verify its path and try again

The log file of /var/log/httpd/ssl_error_log on the CDS gives a better indicates the real issue:

IOError: [Errno 13] Permission denied: '/etc/pki/pulp/content/pulp-protected-repos'


Red Hat Update Infrastructure (RHUI) 2.0
Red Hat Enterprise Linux (RHEL) 5 & 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content