[Satellite 6] Error:-'RestClient::InternalServerError: 500 Internal Server Error'

Solution Verified - Updated

Environment

  • Red Hat Satellite

Issue

  • Below error is reported while

    • Syncing a repository on satellite
    • Enabling a repository on satellite
    RestClient::InternalServerError: 500 Internal Server Error
    

Resolution

  • Setting proper permissions & ownership on /etc/pki/pulp/content/pulp-protected-repos resolved issue.
-rw-r--r-- 1 apache apache 0 Aug  2 02:19 /etc/pki/pulp/content/pulp-protected-repos

For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.

Diagnostic Steps

While checking in /var/log/messages , errors related to pulp permissions for Satellite 6.2 Tools repositories has been noticed as below:

 [Errno 13] Permission denied: '/etc/pki/pulp/content/pulp-protected-repos'
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.