Satellite syncRepo throws permission error for channel admin roles
Issue
- When scheduling a syncRepo task using the Satellite XMLRPC api channel.software.syncRepo a permission error is thrown when using a user that has channel admin role:
Traceback (most recent call last):
File "syncRepo-cron.py", line 8, in <module>
result = client.channel.software.syncRepo(key,'vmware-tools-rhel5','0 * * * * ?')
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: You do not have permissions to perform this action. You need to have atleast a Organization Administrator role to perform this action'>
Environment
- Red Hat Satellite 5.4
- Red Hat Satellite 5.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.