[Spacewalk-list] Error in registering to a Spacewalk 2.8 server

kokeisd at gmail.com kokeisd at gmail.com
Wed Jan 2 10:11:34 UTC 2019


Hi
I am setting up a Spacewalk 2.8 on a RHEL7 server, when I try to register a
client(also RHEL7) to the Spacewalk server, I keep  getting below errors. I
have been searching the internet and mailist but still cannot figure out.
Appreciate if someone can share some ideas. Thanks in advnace.

[root at localhostbin]# rhnreg_ks --serverUrl=
https://spacewalk.server.net/XMLRPC
--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=1-rhel-server-channel-key
An error has occurred:
rhn-plugin: Error communicating with server. The message was:
Internal Server Error
See /var/log/up2date for more information

###In the up2date log, I see below message
Traceback (most recent call last):
  File "/sbin/rhnreg_ks", line 215, in <module>
    cli.run()
  File "/usr/lib/python2.7/site-packages/up2date_client/rhncli.py", line
94, in run
    sys.exit(self.main() or 0)
  File "/sbin/rhnreg_ks", line 93, in main
    rhnreg.getCaps()
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnreg.py", line
271, in getCaps
    s.capabilities.validate()
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnserver.py", line
185, in __get_capabil
ities
    self.registration.welcome_message()
  File "/usr/lib/python2.7/site-packages/up2date_client/rhnserver.py", line
67, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/up2date_client/rpcServer.py", line
290, in doCall
    raise_with_tb(up2dateErrors.CommunicationError(e.errmsg
<http://up2dateerrors.communicationerror%28e.errmsg/>))
  File "/usr/lib/python2.7/site-packages/up2date_client/rpcServer.py", line
214, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/site-packages/up2date_client/rpcServer.py", line
48, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 394, in
_request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.7/site-packages/rhn/transports.py", line 177, in
request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.7/site-packages/rhn/transports.py", line 740, in
send_http
    response.status, response.reason, response.msg)
<class 'up2date_client.up2dateErrors.CommunicationError
<http://client.up2dateerrors.communicationerror/>'>: rhn-plugin: Error
communicating with s
erver. The message was:
Internal Server Error

###In /var/log/httpd/ssl_error_log
[Wed Jan 02 16:15:20.218900 2019] [wsgi:error] [pid 3518] [client
<clientip>:59390]   File "/usr/share/rhn/wsgi/wsgiHandler.py", line 24, in
handle
[Wed Jan 02 16:15:20.218905 2019] [wsgi:error] [pid 3518] [client
<clientip>:59390]     for key in environ.keys():
[Wed Jan 02 16:15:20.218988 2019] [wsgi:error] [pid 3518] [client
<clientip>:59390] RuntimeError: dictionary changed size during iteration
[Wed Jan 02 16:43:47.366579 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510] mod_wsgi (pid=3526): Exception occurred processing WSGI
script '/usr/share/rhn/wsgi/xmlrpc.py'.
[Wed Jan 02 16:43:47.367092 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510] Traceback (most recent call last):
[Wed Jan 02 16:43:47.367130 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510]   File "/usr/share/rhn/wsgi/xmlrpc.py", line 22, in
application
[Wed Jan 02 16:43:47.367139 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510]     return wsgiHandler.handle(environ, start_response,
"xmlrpc", "server.xmlrpc")
[Wed Jan 02 16:43:47.367150 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510]   File "/usr/share/rhn/wsgi/wsgiHandler.py", line 24, in
handle
[Wed Jan 02 16:43:47.367155 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510]     for key in environ.keys():
[Wed Jan 02 16:43:47.367175 2019] [wsgi:error] [pid 3526] [client
<clientip>:38510] RuntimeError: dictionary changed size during iteration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190102/ae01d870/attachment.htm>


More information about the Spacewalk-list mailing list