[Spacewalk-list] [CLOSED+SOLUTION] Sles Patchlvl 4 Spacewalk-Service fail

VeNoMouS venom at gen-x.co.nz
Wed Jul 29 22:35:51 UTC 2015


 

Moving forward it would be nice if spacewalk team put backwards
compatibility for the function call they changed in rhnlib... 

On 2015-07-29 20:33, Bosch, Fabian (BITBW) wrote: 

> EXACTLY! THANKS.
> 
> This did the trick: (remember: I am on a SLES SP4 Client-System) 
> 
> Rename functions in /usr/lib64/python2.6/site-packages/rhn/connections.py 
> 
> line 241 
> 
> def idn_pune_to_unicode(hostname): 
> 
> to 
> 
> def idn_puny_to_unicode(hostname): 
> 
> line 248 
> 
> def idn_ascii_to_pune(hostname): 
> 
> to 
> 
> def idn_ascii_to_puny(hostname): 
> 
> And make sure, that the Up2date config under /usr/share/rhn/up2date_client/config.py
> imports and uses the new name. 
> 
> Make a search & replace 
> 
> idn_pune_to_unicode 
> 
> to 
> 
> idn_puny_to_unicode 
> 
> idn_ascii_to_pune 
> 
> to 
> 
> idn_ascii_to_puny 
> 
> so that the up2date references the right function.
> 
> last step:
> renew/review your information in the /etc/sysconfig/rhn/up2date 
> 
> worked for me. 
> 
> Thanks to all
> 
> Freundliche Grüße 
> 
> Fabian Bosch 
> 
> Referat 34 - Open Source 
> 
> Tel: 94476, Raum: KRA 1.68 
> 
> VON: VeNoMouS [mailto:venom at gen-x.co.nz] 
> GESENDET: Mittwoch, 29. Juli 2015 10:00
> AN: spacewalk-list at redhat.com
> CC: Bosch, Fabian (BITBW)
> BETREFF: Re: [Spacewalk-list] Sles Patchlvl 4 Spacewalk-Service fail 
> 
> Could be same thing related to what I posted here https://bugzilla.redhat.com/show_bug.cgi?id=1235574 [3] I run SLES 11.3 
> 
> On 2015-07-29 19:18, Bosch, Fabian (BITBW) wrote: 
> 
>> Hi @ all 
>> 
>> I recently upgraded SLES to newly released Patchlevel 4. The System has been registered an working unter Patchlevel 3 with Spacewalk v2.3.
>> The Upgrade via Spacewalk/zypper worked fine, but after Dist-Upgrade spacewalk-service stopped working and is now skipped. 
>> The only message I got was that I have to install spacewalk-backend-libs. No Information about the required Version - spacewalk-backend-libs needs _python(abi)=2.7._ 
>> 
>> Never heared neither have such a package.
>> 
>> Anyone has experience with SLES SP4 and Spacewalk? Are there additional packages needed providing python(abi) or are there client-tools for Patchlevel 4 in the tube? 
>> 
>> Software installed:
>> rhn-client-tools 2.3.16-3.1 
>> 
>> Rhnsd 5.0.15-3.1 
>> 
>> Rhnlib-2.5.75-2.1 
>> 
>> Zypp-plugin-spacewalk-0.9.9-3.1 
>> 
>> Just for your Information: 
>> 
>> Why SLES ?? - It wasn't my Choice ☺ And now I want to demonstrate that there is no need for SUSE Manager - a proprietary Patchmanagement based on Spacewalk.
>> 
>> Regards, 
>> 
>> Fabian Bosch 
>> 
>> Referat 34 - Open Source 
>> 
>> IT Baden-Württemberg (BITBW) 
>> 
>> Krailenshaldenstraße 44 
>> 
>> 70469 Stuttgart 
>> 
>> Telefon: +49 711 8910-94476
>> Telefax: +49 711 8910-17575 
>> 
>> E-Mail: fabian.bosch at bitbw.bwl.de 
>> 
>> Internet: www.bitbw.de [1] 
>> 
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list [2]

 

Links:
------
[1] http://www.bitbw.de
[2] https://www.redhat.com/mailman/listinfo/spacewalk-list
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1235574
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150730/57e1ebb4/attachment.htm>


More information about the Spacewalk-list mailing list