[Spacewalk-list] Import of errata broken after upgrade from 2.5 to 2.6

Patrick Hurrelmann patrick.hurrelmann at lobster.de
Thu Dec 29 13:29:05 UTC 2016


On 29.12.2016 10:02, Patrick Hurrelmann wrote:
> On 21.12.2016 10:24, Ree, Jan-Albert van wrote:
>> Since I haven't heard anybody else about this issue yet and haven't seen any activity on the bug I reported I thought I'd ask around here....
>> Has anybody else noticed that errata no longer get imported after upgrading from Spacewalk 2.5 to 2.6 ?
>>
>> Since the upgrade at the end of every yum reposync I see the following error in the rhn_taskomatic_daemon.log file :
>>
>> ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - 04:04:07 ERROR: cannot concatenate 'str' and 'int' objects
>>
>> I've seen this behaviour on two separate machines, both running Scientific Linux 7 and both immediately after a fully working Spacewalk 2.5 instance was upgraded to 2.6
>> Both machines use a local postgresql-9.2.15 database
>>
>> My bug report : https://bugzilla.redhat.com/show_bug.cgi?id=1401488
>>
>> Regards,
>> --
>> Jan-Albert
> Hi Jan-Albert,
>
> I just updated to 2.6 and I'm facing the very same error. This is on an
> fully updated CentOS 7.3.
> Looks like an ugly regression.
>
> Regards
> Patrick
>

Hi everyone,

I digged deeper and probably found the culprit. Commit
5923c05266b8ecdc165c1e14f2b2e62a9acc1295 [1]
seems to have introduced this regression. I created small patch and it
works for me, but the fix may be wrong
though. Anyway, I created the PR#497 [2] to address this. If you are
willing to try it yourself, please get the
patch from the PR [3] or use the attached patch (if it makes it through
the list).

Best regards
Patrick

[1]
https://github.com/spacewalkproject/spacewalk/commit/5923c05266b8ecdc165c1e14f2b2e62a9acc1295
[2] https://github.com/spacewalkproject/spacewalk/pull/497
[3]
https://patch-diff.githubusercontent.com/raw/spacewalkproject/spacewalk/pull/497.patch

-- 
Lobster SCM GmbH, Hindenburgstraße 15, D-82343 Pöcking
HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reposync.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20161229/6c021e78/attachment.bin>


More information about the Spacewalk-list mailing list