rhnreg_ks encountering rhn.rpclib.InvalidRedirectionError when trying to register clients to Satellite
Issue
[root@rhel5 ~]# rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --serverUrl=https://satellite.example.com/ --email=user@example.com --username=<sat_admin> --password=<password>An error has occurred:
rhn.rpclib.InvalidRedirectionError
See /var/log/up2date for more information[root@rhel5 ~]# cat /var/log/up2date
[Wed Sep 7 11:56:35 2011] up2date
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 227, 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 292, 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 50, in \__call__
return rpcServer.doCall(method, *args, **kwargs)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 204, in doCall
ret = method(*args, **kwargs)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
ret = self._request(methodname, params)
File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 416, in _request
raise InvalidRedirectionError(
rhn.rpclib.InvalidRedirectionError: Redirected to unsupported protocol None
This is happening on both RHEL4 and RHEL5 clients.
Environment
-
Red Hat Enterprise Linux 4.8 client
-
Red Hat Enterprise Linux 5.5 client
-
RHN Satellite 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.