[Spacewalk-devel] Spacewalk Proxy 0.5

Rob James rssjames at googlemail.com
Thu Apr 9 15:44:05 EDT 2009


Hi guys, I've finally had a chance to run through the install of
Spacewalk Proxy against 0.5 (I think 0.2 was the last release I found
time for). I've run into a few problems and also made a few notes on
some fixes needed in the installer (these are generally pretty trivial
-- I can provide patches but it might just be easier for someone with
git access to make the changes - let me know what you prefer). Here
goes:

- At the point we get to the activate in the script httpd is not yet
installed any more so it can't chown systemid to the apache user (so
it fails)
- If the system has already been registered as a Proxy the activation
fails (need to delete the system and reregister it)
- It would probably be good to check somewhere in the installer that
the machine you're trying to activate is registered in the Spacewalk
server (since it's clearly not going to work otherwise!)
- The error "/usr/sbin/configure-proxy.sh: line 236: cat: No such file
or directory" is given if you don't choose to install monitoring
(probably need to wrap this bit in an "if monitoring" block)
- On line 311 there's a missing line continuation character which
means it'll just stop - should be -e "s|</VirtualHost>|SSLProxyEngine
on\n</VirtualHost>|" \

Hopefully those notes are helpful to you. Let me know if you want me
to bugzilla them.

Finally I couldn't actually get it to work afterwards - trying to
register a client gives the error below (i've tryed deleting
/var/spool/up2date/loginAuth.pkl) - any help much appriciated:

Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 266, in ?
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 90, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 329, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 156, in
__get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in __call__
    raise self.__exception_from_fault(f)
up2date_client.up2dateErrors.CommunicationError: Error communicating
with server. The message was:

Error Message:
    RHN Proxy error (auth caching issue). Please contact your system
administrator.
Error Class Code: 1000
Error Class Info: RHN Proxy error.
Explanation:
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.

Regards,
-R




More information about the Spacewalk-devel mailing list