[Spacewalk-list] clone-by-date errors

Dean Peirce dean.peirce at gmail.com
Tue Apr 26 13:25:27 UTC 2022


Hi all,
I have a problem with spacewalk-clone-by-date after running
spacewalk-remove-old-packages.py
and then spacewalk-data-fsck -r -S -C -O

My channels have been cloned like below for a long time without any errors:
    dev -> qa -> stage -> prod

Following the package cleanup I now get the error below when trying to
clone qa -> stage

spacewalk-clone-by-date --username=xxxxx --password=xxxxxxxxxx
--config=/common/app/spacewalk/scripts/channel/stage-channels.conf -d
2022-04-25
Reading repository information.
Using issue_date.

By continuing the following will be cloned:
  centos_7_qa -> centos_7_stage  (0/0 Errata)
  wazuh_hids_qa -> wazuh_hids_stage  (0/0 Errata)
  ice_grid_3.7_qa -> ice_grid_3.7_stage  (0/0 Errata)
  centos_7_updates_qa -> centos_7_updates_stage  (61/61 Errata)
  spacewalk_client_channel_qa -> spacewalk_client_channel_stage  (0/0
Errata)
  ice_grid_3.5_qa -> ice_grid_3.5_stage  (0/0 Errata)
  epel_7_channel_qa -> epel_7_channel_stage  (332/332 Errata)
  salt_qa -> salt_stage  (0/0 Errata)
Cloning Errata into centos_7_updates_stage (61):
________________________________________
Traceback (most recent call last):
  File "/bin/spacewalk-clone-by-date", line 429, in <module>
    sys.exit(abs(main() or 0))
  File "/bin/spacewalk-clone-by-date", line 419, in main
    return cloneByDate.main(args)
  File "/usr/share/rhn/utils/cloneByDate.py", line 282, in main
    cloner.clone(options.skip_depsolve)
  File "/usr/share/rhn/utils/cloneByDate.py", line 465, in clone
    cloner.process()
  File "/usr/share/rhn/utils/cloneByDate.py", line 650, in process
    self.clone()
  File "/usr/share/rhn/utils/cloneByDate.py", line 755, in clone
    self.remote_api.clone_errata(self.to_label, errata_set)
  File "/usr/share/rhn/utils/cloneByDate.py", line 898, in clone_errata
    errata_list)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1321, in single_request
    response.msg,
xmlrpclib.ProtocolError: <ProtocolError for spacewalk.xxxx.xxx.com/rpc/api:
500 Internal Server Error>

Any help would be greatly appreciated
Thanks in advance

Dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20220426/f96bf018/attachment.htm>


More information about the Spacewalk-list mailing list