[Spacewalk-list] Error while changing boostrap configuration

DEMARQUAY, Mathieu mathieu.demarquay at capgemini.com
Tue May 4 07:47:10 UTC 2010


Problem solved, there is probably a bug in /usr/share/rhn/certs/rhn_bootstrap.py

In this file I replaced line 37:
« from rhn.common import rhn_rpm »
To
« from spacewalk.common import rhn_rpm »


Is this corrected in version 1.0?

________________________________
De : spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] De la part de DEMARQUAY, Mathieu
Envoyé : lundi 3 mai 2010 18:40
À : Spacewalk-list at redhat.com
Objet : [Spacewalk-list] Error while changing boostrap configuration

Hi,

When I try to change the property « Enable Client GPG checking » in the web GUI (Admin / Bootstrap script), I get the error «Unhandled error »

In catalina.out I see:

2010-05-03 18:23:30,578 [TP-Processor8] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered executing (args=[/usr/bin/sudo, /usr/bin/rhn-bootstrap, --allow-config-actions, --allow-remote-commands, --no-gpg, --hostname= obfuscated.hostname.org, --ssl-cert=/var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT])
2010-05-03 18:23:30,579 [TP-Processor8] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from process: Unable to load module rhn_bootstrapNo module named common

Indeed, I reproduce the problem by doing:

# /usr/bin/sudo /usr/bin/rhn-bootstrap --allow-config-actions --allow-remote-commands --no-gpg --hostname=obfuscated.hostname.org --ssl-cert=/var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT
Unable to load module rhn_bootstrap
No module named common

Any idea on what's going wrong? (Spacewalk server 0.8)

Mathieu


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100504/ce6bc545/attachment.htm>


More information about the Spacewalk-list mailing list