Bug 1401488 - Errata no longer imported at the end of reposync in Spacewalk 2.6 while it worked before upgrade in 2.5
Summary: Errata no longer imported at the end of reposync in Spacewalk 2.6 while it wo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.5
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 1409576 space27
TreeView+ depends on / blocked
 
Reported: 2016-12-05 12:21 UTC by Jan-Albert van Ree
Modified: 2017-09-27 19:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1409576 (view as bug list)
Environment:
Last Closed: 2017-09-27 19:28:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan-Albert van Ree 2016-12-05 12:21:05 UTC
Description of problem:

Errata are not imported so while there are many new updates available after a reposync they have no associated erratum

Version-Release number of selected component (if applicable):

spacewalk-backend-tools-2.6.74-1.el7.noarch

How reproducible:

100% by doing a sync

Steps to Reproduce:
1. Upgrade working 2.5 Spacewalk server to 2.6
2. Do a sync of repository with errata such as EPEL

Actual results:

From /var/log/rhn/rhn_taskomatic_daemon.log
INFO   | jvm 1    | 2016/12/05 04:02:42 | 2016-12-05 04:02:41,943 [Thread-32261] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - 04:02:41 ERROR: cannot concatenate 'str' and 'int' objects
And no erratum for dec 2016

Expected results:

New errata available dated december 2016

Additional info:

Seen this on 2 servers, both otherwise succesfully upgraded from 2.5 to 2.6 (both running Scientific Linux 7.2 as OS)

Comment 1 Patrick Hurrelmann 2016-12-29 14:13:00 UTC
I tried to fix it with https://github.com/spacewalkproject/spacewalk/pull/497

Comment 2 Jan-Albert van Ree 2016-12-29 22:10:51 UTC
I confirm the fix Patrick posted in Comment 1 solves the issue.

Comment 3 Jan Dobes 2017-01-02 13:54:31 UTC
Reproduced with https://dl.fedoraproject.org/pub/epel/7/x86_64/ repository.

fixed in spacewalk master:

8f15be928e87bff607854aa9543ac39ef90c6d36

I moved the str() in your patch into the fix_notice function - where the conversion to number is performed. Thank you.

Comment 4 Nuno Higgs 2017-06-29 12:32:44 UTC
Is there any information when will this patch be available on the RHEL7 RPM's?

Comment 5 Eric Herget 2017-09-27 19:28:42 UTC
Spacewalk 2.7 has been released.

https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27


Note You need to log in before you can comment on or make changes to this bug.