Bug 1331271

Summary: satellite-sync fails with "TypeError: can't multiply sequence by non-int of type 'str'"
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: Satellite SynchronizationAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED ERRATA QA Contact: Ales Dujicek <adujicek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 570CC: adujicek, tlestach
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-backend-2.3.3-41-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-02 12:34:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Hutař 2016-04-28 07:35:03 UTC
Description of problem:
satellite-sync fails with "TypeError: can't multiply sequence by non-int of type 'str'"


Version-Release number of selected component (if applicable):
spacewalk-backend-tools-2.3.3-39.el6sat.noarch


How reproducible:
always when satellite-sync hits IntegrityError


Steps to Reproduce:
1. Run satellite-sync again and again until you hit IntegrityError


Actual results:
2016/04/13 05:52:43 -04:00 Importing channel errata
2016/04/13 05:53:51 -04:00    Importing *relevant* errata: rhel-x86_64-workstation-6 (3384)
2016/04/13 05:53:56 -04:00 
SYNC ERROR: unhandled exception occurred:

Exception reported from cloud-qe-01.idm.lab.eng.rdu2.redhat.com
Time: Wed Apr 13 05:53:56 2016
Exception type <type 'exceptions.TypeError'>

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/satellite-sync", line 139, in main
    return satsync.Runner().main()
  File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 255, in main
    + "If this error persits after removing cache, please contact Red Hat support.")
TypeError: can't multiply sequence by non-int of type 'str'


Expected results:
Should work

Comment 1 Tomáš Kašpárek 2016-04-28 14:04:45 UTC
spacewalk.git(master): 5406f1e5f3fe8e41e2c08f682f0d6a1564011927

Comment 6 errata-xmlrpc 2016-06-02 12:34:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1200