[Spacewalk-list] Unable to sync Red Hat errata incorrect metadata

Jan Dobes jdobes at redhat.com
Mon Oct 10 15:33:51 UTC 2016


On 10.10.2016 11:43 Morten A. Middelthon wrote:
> On 05. okt. 2016 19:24, Lichtinger, Bernhard wrote:
>> Hi
>>>
>>> I implemented workaround in spacewalk-repo-sync.
>>>
>>> https://github.com/spacewalkproject/spacewalk/commit/47d82a693ac26a25970732c10aee8731eb92fe82
>>>
>>
>> Patch works fine with spacewalk-2.5 with one modification:
>>
>> Instead of
>>
>> log(2, "Bugzilla assigned to advisory %s has invalid id: %s, trying to
>> get it from URL..."
>>
>> I had to use
>>
>> self.print_msg("Bugzilla assigned to advisory %s has invalid id: %s,
>> trying to get it from URL..."
>>
>> I assume the function "log" will be new with 2.6.
>
> Has anyone gone through the trouble of applying the patch on Spacewalk
> 2.2? My Spacewalk server is unfortunately running RHEL 5, which means
> I'm can't upgrade past spacewalk v2.2 :(
> My python skills are very limited, but I'm willing to give it a go if
> noone else has
>

There isn't big difference in Spacewalk 2.2, does this work?

http://pastebin.com/HGk7R6AN

-- 
Jan Dobes
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list