spacewalk-clone-by-date getting error "java.lang.OutOfMemoryError"

Solution In Progress - Updated -

Issue

  • Running the followig command spacewalk-clone-by-date -c /example/channels.conf

I get the following Tracebak

Reading repository information.
Traceback (most recent call last):
  File "/usr/bin/spacewalk-clone-by-date", line 253, in <module>
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-clone-by-date", line 243, in main
    return cloneByDate.main(args)
  File "/usr/share/rhn/utils/cloneByDate.py", line 176, in main
    tree_cloner.prepare()
  File "/usr/share/rhn/utils/cloneByDate.py", line 343, in prepare
    cloner.prepare()
  File "/usr/share/rhn/utils/cloneByDate.py", line 472, in prepare
    self.reset_original_pkgs()
  File "/usr/share/rhn/utils/cloneByDate.py", line 461, in reset_original_pkgs
    self.old_pkg_hash = dict((pkg['nvrea'], pkg) for pkg in self.remote_api.list_packages(self.to_label))
  File "/usr/share/rhn/utils/cloneByDate.py", line 673, in list_packages
    pkg_list = self.client.channel.software.listAllPackages(self.auth_token, label)
  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: 'java.lang.OutOfMemoryError: null'>

Environment

  • Red Hat Satellite or Proxy 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.