[Spacewalk-list] Spacewalk Upgrade Issue

Bedorf, Paul Paul.Bedorf at mosaic.com
Wed Oct 23 15:09:42 UTC 2013


Description:

Hi, in our environment we are running the following:

spacewalk 1.8 nightly
centos 5.9 64bit
postgresql 8.4 (installed locally on the spacewalk server)

Spacewalk works absolutely perfect, no issues what's so ever. I have decided to upgrade spacewalk to the latest version 2.0, below you will find the steps that I took:

Upgrade:


a.       I have followed the instructions on the following page:
https://fedorahosted.org/spacewalk/wiki/HowToUpgrade19

b.      Install spacewalk-repo
rpm -Uvh http://yum.spacewalkproject.org/2.0/RHEL/5/x86_64/spacewalk-repo-2.0-3.el5.noarch.rpm

c.       Enable nightly builds
sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/spacewalk-nightly.repo

d.      sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/spacewalk.repo

e.      yum install cobbler-epel
yum upgrade
yum install rpmconf
su - postgres -c 'PGPASSWORD=spacepw; createlang pltclu spaceschema ;'
/usr/sbin/spacewalk-service stop
/usr/bin/spacewalk-schema-upgrade

f.        All is 100% successful at this point, I keep on going:
spacewalk-setup --disconnected -upgrade
/usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl
/usr/sbin/spacewalk-service start

g.       All is again 100% successful at this point, I restart the spacewalk server and can log in via admin URL and I see spacewalk has been upgraded to version 2.1 nightly

h.      All my configurations are there, and all of my systems are there.

Issue:


a.       I log in to one of the client machine's and attempt to re-register the client to spacewalk, just to ensure it is working correctly, I issue this command:

rhnreg_ks --force  -vvv --serverUrl=http://10.99.30.144/XMLRPC --activationkey=1-3768ca29596c8b11e3d7a8cad4136446
D: rpcServer: Calling XMLRPC registration.welcome_message
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: rpcServer: Calling XMLRPC registration.welcome_message
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: rpcServer: Calling XMLRPC registration.new_system
A protocol error occurred: Status 500 , attempt #1,
Error communicating with server. The message was:
Status 500
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))


b.      I also receive an email with more info about this error message:

Exception reported from spacewalk2.corp.mosaic.com

Time: Wed Oct 23 02:31:18 2013

Exception type spacewalk.server.rhnSQL.sql_base.SQLSchemaError

Exception while handling function registration.new_system Request object information:

URI: /XMLRPC

Remote Host: phx-vld-sandbox01.corp.mosaic.com Server Name: 10.99.30.144:80 Headers passed in:

                Accept-Encoding: identity

                CONTENT_LENGTH: 1603

                CONTENT_TYPE: text/xml

                DOCUMENT_ROOT: /var/www/html

                GATEWAY_INTERFACE: CGI/1.1

                HTTP_ACCEPT_ENCODING: identity

                HTTP_HOST: 10.99.30.144

                HTTP_USER_AGENT: rhn.rpclib.py/2.5.69-1.el5

                HTTP_X_CLIENT_VERSION: 1

                HTTP_X_INFO: RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)

                HTTP_X_RHN_CLIENT_CAPABILITY: caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1

                HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3

                HTTP_X_TRANSPORT_INFO: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)

                HTTP_X_UP2DATE_VERSION: 2.1.10-1.el5

                Host: 10.99.30.144

                PATH_INFO:

                QUERY_STRING:

                REMOTE_ADDR: 10.99.30.143

                REMOTE_PORT: 45630

                REQUEST_METHOD: POST

                REQUEST_URI: /XMLRPC

                SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py

                SCRIPT_NAME: /XMLRPC

                SCRIPT_URI: http://10.99.30.144/XMLRPC

                SCRIPT_URL: /XMLRPC

                SERVER_ADDR: 10.99.30.144

                SERVER_ADMIN: root at localhost

                SERVER_NAME: 10.99.30.144

                SERVER_PORT: 80

                SERVER_PROTOCOL: HTTP/1.1

                SERVER_SIGNATURE: <address>Apache Server at 10.99.30.144 Port 80</address>



                SERVER_SOFTWARE: Apache

                User-Agent: rhn.rpclib.py/2.5.69-1.el5

                X-Client-Version: 1

                X-Info: RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)

                X-RHN-Client-Capability: caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1

                X-RHN-Transport-Capability: follow-redirects=3

                X-Transport-Info: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)

                X-Up2Date-Version: 2.1.10-1.el5

                mod_ssl.is_https: <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x2ab920cad300>

                mod_ssl.var_lookup: <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x2ab920cad300>

                mod_wsgi.application_group: spacewalk2.corp.mosaic.com|/xmlrpc

                mod_wsgi.callable_object: application

                mod_wsgi.handler_script:

                mod_wsgi.input_chunked: 0

                mod_wsgi.listener_host:

                mod_wsgi.listener_port: 80

                mod_wsgi.process_group:

                mod_wsgi.request_handler: wsgi-script

                mod_wsgi.script_reloading: 1

                mod_wsgi.version: (3, 2)

                wsgi.errors: <mod_wsgi.Log object at 0x2ab920c22470>

                wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2ab920cad300>

                wsgi.input: <mod_wsgi.Input object at 0x2ab920c2edb0>

                wsgi.multiprocess: True

                wsgi.multithread: False

                wsgi.run_once: False

                wsgi.url_scheme: http

                wsgi.version: (1, 1)

Extra information about this error:

SQL Error generated: (99999, 'ERROR:  current transaction is aborted, commands ignored until end of transaction block', '', <psycopg2.InternalError instance at 0x2ab9264c0fc8>)



Exception Handler Information

Traceback (most recent call last):

                File "/usr/lib/python2.4/site-packages/spacewalk/server/apacheRequest.py", line 123, in call_function

                response = apply(func, params)

                File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 504, in new_system

                 architecture, data)

                File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 408, in create_system

                newserv.use_token()

                File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_class.py", line 346, in use_token

                tokens_obj, self.virt_type)

                File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_token.py", line 1041, in process_token

                history["groups"] = token_server_groups(server_id, tokens_obj)

                File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_token.py", line 185, in token_server_groups

                 h.execute(token_id=token_id)

                File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 163, in execute

                return apply(self._execute_wrapper, (self._execute, ) + p, kw)

                File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 279, in _execute_wrapper

                raise sql_base.SQLSchemaError(error_code, e.pgerror, e)

SQLSchemaError: (99999, 'ERROR:  current transaction is aborted, commands ignored until end of transaction block', '', <psycopg2.InternalError instance at 0x2ab9264c0fc8>)



Local variables by frame

Frame _execute_wrapper in /usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py at line 279

                            function = <type 'instancemethod'> <bound method Cursor._execute of <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x2ab925b98cb0>>

                                   e = <type 'instance'> current transaction is aborted, commands ignored until end of transaction block



                                self = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x2ab925b98cb0>

                                   m = <type 'NoneType'> None

                               value = <type 'int'> 3

                                   p = <type 'tuple'> ()

                              params = <type 'str'> token_id: 3

                                 key = <type 'str'> token_id

                                  kw = <type 'dict'> {'token_id': 3}

                          error_code = <type 'int'> 99999



Frame execute in /usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py at line 163

                                   p = <type 'tuple'> ()

                                self = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x2ab925b98cb0>

                                  kw = <type 'dict'> {'token_id': 3}



Frame token_server_groups in /usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_token.py at line 185

                       server_groups = <type 'dict'> {}

                           server_id = <type 'int'> 1000010399

                                   h = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x2ab925b98cb0>

                               token = <type 'dict'> {'note': 'cent5_64bit_key', 'usage_limit': None, 'user_id': 1, 'org_id': 1, 'server_id': None, 'token_desc': 'Spacewalk Management Entitled Servers', 'token_type': 'enterprise_entitled', 'token': '1-3768ca29596c8b11e3d7a8cad4136446', 'token_id': 3, 'deploy_configs': 'N', 'kickstart_session_id': None, 'is_base': 'Y'}

                            token_id = <type 'int'> 3

                          tokens_obj = <type 'instance'> <spacewalk.server.rhnServer.server_token.ActivationTokens instance at 0x2ab924ca1dd0>



Frame process_token in /usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_token.py at line 1041

                is_provisioning_entitled = <type 'int'> 1

                           server_id = <type 'int'> 1000010399

                is_management_entitled = <type 'int'> 1

                           virt_type = <type 'str'> vmware

                              server = <type 'instance'> <Row instance at 0x2ab925b98098 on (rhnServer, id, 1000010399)>

                         server_arch = <type 'str'> x86_64-redhat-linux

                             history = <type 'dict'> {'channels': ["Subscribed to base channel 'cent5_64bit_CD' (cent564bitcd)", "FAILED to subscribe to channel 'cent5_64bit_NAGIOS'", "FAILED to subscribe to channel 'cent5_64bit_UPDATES'", "FAILED to subscribe to channel 'Cent5_64bit_SPACECLIENTREPO18'", "FAILED to subscribe to channel 'cent5_64bit_389'", "FAILED to subscribe to channel 'cent5_64bit_EXTRAS'"], 'entitlement': 'Entitled as a Spacewalk Provisioning Entitled Servers member'}

                          tokens_obj = <type 'instance'> <spacewalk.server.rhnServer.server_token.ActivationTokens instance at 0x2ab924ca1dd0>

                     is_reactivation = <type 'bool'> False



Frame use_token in /usr/lib/python2.4/site-packages/spacewalk/server/rhnServer/server_class.py at line 346

                      is_rereg_token = <type 'int'> 0

                                self = <class 'spacewalk.server.rhnServer.server_class.Server'> <Server Class at 46974690199888: {'self.cert': None, 'self.server': {'description': ('Initial Registration Parameters:\nOS: redhat-release\nRelease: 5Server\nCPU Arch: x86_64-redhat-linux', 1), 'auto_update': ('N', 1), 'secret': ('803997e0d72779b3a6ef2f7ef3164a3c', 1), 'org_id': (1, 1), 'creator_id': (1, 1), 'server_arch_id': (1023, 1), 'digital_server_id': ('ID-1000010399', 1), 'release': ('5Server', 1), 'os': ('redhat-release', 1), 'id': (1000010399, 0), 'name': ('phx-vld-sandbox01.corp.mosaic.com', 1)}}>



                          tokens_obj = <type 'instance'> <spacewalk.server.rhnServer.server_token.ActivationTokens instance at 0x2ab924ca1dd0>



Frame create_system in /usr/share/rhn/server/handlers/xmlrpc/registration.py at line 408

                     release_version = <type 'str'> 5Server

                         log_user_id = <type 'int'> 1

                                user = <type 'NoneType'> None

                        architecture = <type 'str'> x86_64-redhat-linux

                                self = <type 'instance'> <server.handlers.xmlrpc.registration.Registration instance at 0x2ab925b50050>

                         applet_uuid = <type 'NoneType'> None

                        profile_name = <type 'str'> phx-vld-sandbox01.corp.mosaic.com

                          tokens_obj = <type 'instance'> <spacewalk.server.rhnServer.server_token.ActivationTokens instance at 0x2ab924ca1dd0>

                            log_item = <type 'str'> token = '1-3768ca29596c8b11e3d7a8cad4136446'

                        token_string = <type 'str'> 1-3768ca29596c8b11e3d7a8cad4136446

                        up2date_uuid = <type 'NoneType'> None

                                data = <type 'dict'> {'token': '1-3768ca29596c8b11e3d7a8cad4136446', 'profile_name': 'phx-vld-sandbox01.corp.mosaic.com', 'architecture': 'x86_64-redhat-linux', 'os_release': '5Server', 'smbios': {'smbios.system.serial': 'VMware-42 04 42 d2 df b7 a6 c6-ca e6 70 26 7e a9 aa 51', 'smbios.system.product': 'VMware Virtual Platform', 'smbios.system.family': 'Not Specified', 'smbios.bios.vendor': 'Phoenix Technologies LTD', 'smbios.system.manufacturer': 'VMware, Inc.', 'smbios.system.skunumber': 'Not Specified', 'smbios.system.version': 'None', 'smbios.system.uuid': '420442d2-dfb7-a6c6-cae6-70267ea9aa51'}, 'release_name': 'redhat-release'}

newserv = <class 'spacewalk.server.rhnServer.server_class.Server'> <Server Class at 46974690199888: {'self.cert': None, 'self.server': {'description': ('Initial Registration Parameters:\nOS: redhat-release\nRelease: 5Server\nCPU Arch: x86_64-redhat-linux', 1), 'auto_update': ('N', 1), 'secret': ('803997e0d72779b3a6ef2f7ef3164a3c', 1), 'org_id': (1, 1), 'creator_id': (1, 1), 'server_arch_id': (1023, 1), 'digital_server_id': ('ID-1000010399', 1), 'release': ('5Server', 1), 'os': ('redhat-release', 1), 'id': (1000010399, 0), 'name': ('phx-vld-sandbox01.corp.mosaic.com', 1)}}>



                             channel = <type 'NoneType'> None

                             release = <type 'str'> 5Server



Frame new_system in /usr/share/rhn/server/handlers/xmlrpc/registration.py at line 504

                                self = <type 'instance'> <server.handlers.xmlrpc.registration.Registration instance at 0x2ab925b50050>

                     release_version = <type 'str'> 5Server

                        profile_name = <type 'str'> phx-vld-sandbox01.corp.mosaic.com

                        architecture = <type 'str'> x86_64-redhat-linux

                                data = <type 'dict'> {'token': '1-3768ca29596c8b11e3d7a8cad4136446', 'profile_name': 'phx-vld-sandbox01.corp.mosaic.com', 'architecture': 'x86_64-redhat-linux', 'os_release': '5Server', 'smbios': {'smbios.system.serial': 'VMware-42 04 42 d2 df b7 a6 c6-ca e6 70 26 7e a9 aa 51', 'smbios.system.product': 'VMware Virtual Platform', 'smbios.system.family': 'Not Specified', 'smbios.bios.vendor': 'Phoenix Technologies LTD', 'smbios.system.manufacturer': 'VMware, Inc.', 'smbios.system.skunumber': 'Not Specified', 'smbios.system.version': 'None', 'smbios.system.uuid': '420442d2-dfb7-a6c6-cae6-70267ea9aa51'}, 'release_name': 'redhat-release'}

                                user = <type 'NoneType'> None



Frame call_function in /usr/lib/python2.4/site-packages/spacewalk/server/apacheRequest.py at line 162

                                   e = <type 'instance'> (99999, 'ERROR:  current transaction is aborted, commands ignored until end of transaction block', '', <psycopg2.InternalError instance at 0x2ab9264c0fc8>)

                                   f = <type 'NoneType'> None

                                self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x2ab925b4efc8>

                      force_rollback = <type 'int'> 1

                              params = <type 'tuple'> ({'token': '1-3768ca29596c8b11e3d7a8cad4136446', 'profile_name': 'phx-vld-sandbox01.corp.mosaic.com', 'architecture': 'x86_64-redhat-linux', 'os_release': '5Server', 'smbios': {'smbios.system.serial': 'VMware-42 04 42 d2 df b7 a6 c6-ca e6 70 26 7e a9 aa 51', 'smbios.system.product': 'VMware Virtual Platform', 'smbios.system.family': 'Not Specified', 'smbios.bios.vendor': 'Phoenix Technologies LTD', 'smbios.system.manufacturer': 'VMware, Inc.', 'smbios.system.skunumber': 'Not Specified', 'smbios.system.version': 'None', 'smbios.system.uuid': '420442d2-dfb7-a6c6-cae6-70267ea9aa51'}, 'release_name': 'redhat-release'},)

                                func = <type 'instancemethod'> <bound method Registration.new_system of <server.handlers.xmlrpc.registration.Registration instance at 0x2ab925b50050>>

                              method = <type 'unicode'> registration.new_system



Frame process in /usr/lib/python2.4/site-packages/spacewalk/server/apacheRequest.py at line 486

                                  fd = <type 'instance'> <cStringIO.StringO object at 0x2ab9203df620>

                               _body = <type 'str'> <?xml version='1.0'?> <methodCall> <methodName>registration.new_system</methodName>

<params>

<param>

<value><struct>

<member>

<name>token</name>

<value><string>1-3768ca29596c8b11e3d7a8cad4136446</string></value>

</member>

<member>

<name>profile_name</name>

<value><string>phx-vld-sandbox01.corp.mosaic.com</string></value>

</member>

<member>

<name>architecture</name>

<value><string>x86_64-redhat-linux</string></value>

</member>

<member>

<name>os_release</name>

<value><string>5Server</string></value>

</member>

<member>

<name>smbios</name>

<value><struct>

<member>

<name>smbios.system.serial</name>

<value><string>VMware-42 04 42 d2 df b7 a6 c6-ca e6 70 26 7e a9 aa 51</string></value> </member> <member> <name>smbios.system.product</name>

<value><string>VMware Virtual Platform</string></value> </member> <member> <name>smbios.system.family</name> <value><string>Not Specified</string></value> </member> <member> <name>smbios.bios.vendor</name> <value><string>Phoenix Technologies LTD</string></value> </member> <member> <name>smbios.system.manufacturer</name>

<value><string>VMware, Inc.</string></value> </member> <member> <name>smbios.system.skunumber</name>

<value><string>Not Specified</string></value> </member> <member> <name>smbios.system.version</name>

<value><string>None</string></value>

</member>

<member>

<name>smbios.system.uuid</name>

<value><string>420442d2-dfb7-a6c6-cae6-70267ea9aa51</string></value>

</member>

</struct></value>

</member>

<member>

<name>release_name</name>

<value><string>redhat-release</string></value>

</member>

</struct></value>

</param>

</params>

</methodCall>



params = <type 'tuple'> ({'token': '1-3768ca29596c8b11e3d7a8cad4136446', 'profile_name': 'phx-vld-sandbox01.corp.mosaic.com', 'architecture': 'x86_64-redhat-linux', 'os_release': '5Server', 'smbios': {'smbios.system.serial': 'VMware-42 04 42 d2 df b7 a6 c6-ca e6 70 26 7e a9 aa 51', 'smbios.system.product': 'VMware Virtual Platform', 'smbios.system.family': 'Not Specified', 'smbios.bios.vendor': 'Phoenix Technologies LTD', 'smbios.system.manufacturer': 'VMware, Inc.', 'smbios.system.skunumber': 'Not Specified', 'smbios.system.version': 'None', 'smbios.system.uuid': '420442d2-dfb7-a6c6-cae6-70267ea9aa51'}, 'release_name': 'redhat-release'},)

                              method = <type 'unicode'> registration.new_system

                                self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x2ab925b4efc8>



Frame handler in /usr/lib/python2.4/site-packages/spacewalk/server/apacheHandler.py at line 196

                                   h = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x2ab92588a998>

                                self = <type 'instance'> <spacewalk.server.apacheHandler.apacheHandler instance at 0x2ab923ff4ef0>

                                 req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x2ab920ca8cf8>

                                 ret = <type 'int'> 0

                     templateStrings = <type 'dict'> {'email_account_info': '\nAccount Information:\n  Your Spacewalk login:         <login />\n  Your Spacewalk email address: <email-address />', 'email_footer': '--the Spacewalk Team', 'hostname': 'spacewalk.corp.mosaic.com'}

                                 row = <type 'NoneType'> None



Frame handle in /usr/share/rhn/wsgi/wsgiHandler.py at line 45

                        replacements = <type 'dict'> {'Xml': 'XML', 'Actualuri': 'ActualURI', 'Md5Sum': 'MD5sum', '_': '-', 'Rhn': 'RHN'}

                      component_type = <type 'str'> server.xmlrpc

                      start_response = <type 'builtin_function_or_method'> <built-in method start_response of mod_wsgi.Adapter object at 0x2ab920cad300>

                                   k = <type 'str'> Rhn

                                 req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x2ab920ca8cf8>

                           parseServ = <type 'instancemethod'> <bound method apacheHandler.headerParserHandler of <spacewalk.server.apacheHandler.apacheHandler instance at 0x2ab923ff4ef0>>

                                 ret = <type 'int'> 0

                              server = <type 'str'> xmlrpc

                             environ = <type 'dict'> {'mod_wsgi.listener_port': '80', 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x2ab920cad300>, 'X-RHN-Client-Capability': 'caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1', 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at 10.99.30.144 Port 80</address>\n', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'X-Info': 'RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)', 'CONTENT_LENGTH': '1603', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.69-1.el5', 'HTTP_X_UP2DATE_VERSION': '2.1.10-1.el5', 'SERVER_NAME': '10.99.30.144', 'REMOTE_ADDR': '10.99.30.143', 'mod_wsgi.request!

_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.69-1.el5', 'wsgi.url_scheme': 'http', 'Host': '10.99.30.144', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'application', 'SERVER_PORT': '80', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': '10.99.30.144', 'DOCUMENT_ROOT': '/var/www/html', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', 'HTTP_X_RHN_CLIENT_CAPABILITY': 'caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root at localhost', 'X-Up2Date-Version': '2.1.10-1.el5', 'X-Transport-Info': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)', 'SCRIPT_URI': 'http://10.99.30.144/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x2ab920c2edb0>, 'HTTP_HOST': '10.99.3!

0.144', 'SCRIPT_URL': '/XMLRPC', 'wsgi.multithread': False, 'REQUEST_U

RI': '/XMLRPC', 'X-Client-Version': '1', 'wsgi.version': (1, 1), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x2ab920c22470>, 'REMOTE_PORT': '45630', 'mod_wsgi.listener_host': '', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x2ab920cad300>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'spacewalk2.corp.mosaic.com|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2ab920cad300>, 'HTTP_ACCEPT_ENCODING': 'identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)'}

                                 key = <type 'str'> HTTP_X_INFO

                                   v = <type 'str'> RHN

                          servertype = <type 'str'> spacewalk.server.apacheServer

                             new_key = <type 'str'> X-Info

                             appServ = <type 'instancemethod'> <bound method apacheHandler.handler of <spacewalk.server.apacheHandler.apacheHandler instance at 0x2ab923ff4ef0>>



Frame application in /usr/share/rhn/wsgi/xmlrpc.py at line 22

                      start_response = <type 'builtin_function_or_method'> <built-in method start_response of mod_wsgi.Adapter object at 0x2ab920cad300>

                             environ = <type 'dict'> {'mod_wsgi.listener_port': '80', 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x2ab920cad300>, 'X-RHN-Client-Capability': 'caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1', 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at 10.99.30.144 Port 80</address>\n', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'X-Info': 'RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)', 'CONTENT_LENGTH': '1603', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.69-1.el5', 'HTTP_X_UP2DATE_VERSION': '2.1.10-1.el5', 'SERVER_NAME': '10.99.30.144', 'REMOTE_ADDR': '10.99.30.143', 'mod_wsgi.request!

_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.69-1.el5', 'wsgi.url_scheme': 'http', 'Host': '10.99.30.144', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'application', 'SERVER_PORT': '80', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': '10.99.30.144', 'DOCUMENT_ROOT': '/var/www/html', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', 'HTTP_X_RHN_CLIENT_CAPABILITY': 'caneatCheese(1)=1,packages.extended_profile(2)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root at localhost', 'X-Up2Date-Version': '2.1.10-1.el5', 'X-Transport-Info': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69-1.el5)', 'SCRIPT_URI': 'http://10.99.30.144/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x2ab920c2edb0>, 'HTTP_HOST': '10.99.3!

0.144', 'SCRIPT_URL': '/XMLRPC', 'wsgi.multithread': False, 'REQUEST_U

RI': '/XMLRPC', 'X-Client-Version': '1', 'wsgi.version': (1, 1), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x2ab920c22470>, 'REMOTE_PORT': '45630', 'mod_wsgi.listener_host': '', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x2ab920cad300>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'spacewalk2.corp.mosaic.com|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2ab920cad300>, 'HTTP_ACCEPT_ENCODING': 'identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.69-1.el5)'}





Environment for PID=4721 on exception:

CONSOLE = /dev/console

HOME = /

INIT_VERSION = sysvinit-2.86

LANG = C

PATH = /sbin:/usr/sbin:/bin:/usr/bin

PREVLEVEL = N

PWD = /

RUNLEVEL = 3

SELINUX_INIT = YES

SHLVL = 3

TERM = linux

_ = /usr/sbin/httpd

previous = N

runlevel = 3



c.       I have also tried deleting this server from the spacewalk and trying the registration again, but it fails with the same error message as per above.

d.      At this point I am stuck and don't quite know what the problem may be.

e.      Can anyone try to re-produce the problem and let me know the fix for it?

Thank You


__________________________________________________
Paul Bedorf | Linux Administrator | Mosaic
O: 905.238.8058 x 6414 | M: 416.799.4028
mosaic.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131023/1a4b77b3/attachment.htm>


More information about the Spacewalk-list mailing list