Satellite 5: Yum repolist showing 0 and receiving traceback "[Errno 13] Permission denied: '/var/cache/rhn/repodata/rhel-x86_64-server-ha-6/repomd.xml" from clients

Solution Verified - Updated -

Issue

  • Yum repolist showing 0 and receiving below traceback from clients
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 122, in call_function
    response = func(*params)
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 272, in repodata
    return self._repodata_taskomatic(file_name)
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 247, in _repodata_taskomatic
    return self._getFile(CFG.REPOMD_CACHE_MOUNT_POINT + "/" + file_path)
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnRepository.py", line 315, in _getFile
    return rhnRepository.Repository._getFile(self, path)
  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnRepository.py", line 170, in _getFile
    return rpclib.transports.File(open(filePath, "rb"), length, name=filePath)
IOError: [Errno 13] Permission denied: '/var/cache/rhn/repodata/rhel-x86_64-server-ha-6/repomd.xml'

Environment

  • Red Hat Satellite 5.x

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