[Spacewalk-list] Continuing issues with ubuntu client and Spacewalk 2.9
Robert Paschedag
robert.paschedag at web.de
Thu Feb 7 16:03:24 UTC 2019
Am 7. Februar 2019 14:09:23 MEZ schrieb James Krych <james.w.krych at gmail.com>:
>*Sadly,*
>
>*I am still getting the TRACEBACK error regarding diffs. Message from
>today:*
>Exception reported from spacewalk
>Time: Thu Feb 7 04:55:20 2019
>Exception type <type 'exceptions.TypeError'>
>Exception while handling function repodata
>Request object information:
>URI: ///XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
>Remote Host: grouper-dev-loader-v.mdc.musc.edu
>Server Name: spacewalk.mdc.musc.edu:443
>Headers passed in:
> Accept-Encoding: identity
> CONTEXT_DOCUMENT_ROOT: /var/www/html
> CONTEXT_PREFIX:
> DOCUMENT_ROOT: /var/www/html
> GATEWAY_INTERFACE: CGI/1.1
> HTTP_ACCEPT_ENCODING: identity
> HTTP_HOST: spacewalk.mdc.musc.edu
> HTTP_X_RHN_AUTH: nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=
> HTTP_X_RHN_AUTH_EXPIRE_OFFSET: 3600.0
> HTTP_X_RHN_AUTH_SERVER_TIME: 1549533319.96
> HTTP_X_RHN_AUTH_USER_ID:
> HTTP_X_RHN_SERVER_ID: 1000010001
> HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3
> Host: spacewalk.mdc.musc.edu
> PATH_INFO: /GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
> PATH_TRANSLATED:
>/var/www/html/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
> QUERY_STRING:
> REMOTE_ADDR: 128.23.182.201
> REMOTE_PORT: 59130
> REQUEST_METHOD: GET
> REQUEST_SCHEME: https
> REQUEST_URI:
>///XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
> SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py
> SCRIPT_NAME: /XMLRPC
> SCRIPT_URI:
>https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
> SCRIPT_URL:
>/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index
> SERVER_ADDR: 128.23.191.174
> SERVER_ADMIN: root at localhost
> SERVER_NAME: spacewalk.mdc.musc.edu
> SERVER_PORT: 443
> SERVER_PROTOCOL: HTTP/1.1
> SERVER_SIGNATURE:
> SERVER_SOFTWARE: Apache
> UNIQUE_ID: XFwAiOeFCYNstcIeYzFMcgAAAAQ
> X-RHN-Auth: nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=
> X-RHN-Auth-Expire-Offset: 3600.0
> X-RHN-Auth-Server-Time: 1549533319.96
> X-RHN-Auth-User-Id:
> X-RHN-Server-Id: 1000010001
> X-RHN-Transport-Capability: follow-redirects=3
> mod_wsgi.application_group: spacewalk.mdc.musc.edu|/xmlrpc
> mod_wsgi.callable_object: application
> mod_wsgi.enable_sendfile: 0
> mod_wsgi.handler_script:
> mod_wsgi.input_chunked: 0
> mod_wsgi.listener_host:
> mod_wsgi.listener_port: 443
> mod_wsgi.process_group:
> mod_wsgi.queue_start: 1549533320284352
> mod_wsgi.request_handler: wsgi-script
> mod_wsgi.script_reloading: 1
> mod_wsgi.version: (3, 4)
> wsgi.errors: <mod_wsgi.Log object at 0x7f1417193270>
> wsgi.file_wrapper: <built-in method file_wrapper of
>mod_wsgi.Adapter object at 0x7f14150260a8>
> wsgi.input: <mod_wsgi.Input object at 0x7f1417185a30>
> wsgi.multiprocess: True
> wsgi.multithread: False
> wsgi.run_once: False
> wsgi.url_scheme: https
> wsgi.version: (1, 0)
>Extra information about this error:
>Response sent back to the caller:
>While running 'repodata': caught
><type 'exceptions.TypeError'> : repodata() takes exactly 2 arguments (3
>given)
>
>
>
>Exception Handler Information
>Traceback (most recent call last):
> File
>"/usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py",
>line
>135, in call_function
> response = func(*params)
>TypeError: repodata() takes exactly 2 arguments (3 given)
>
>Local variables by frame
>Frame call_function in
>/usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py at
>line
>154
> fault = <type 'int'> 1
> self = <type 'instance'>
><server.handlers.xmlrpc.get_handler.GetHandler instance at
>0x7f140ec680e0>
> force_rollback = <type 'int'> 1
> method = <type 'str'> repodata
> exctype = <type 'type'> <type 'exceptions.TypeError'>
> params = <type 'tuple'> ('Packages.diff', 'Index')
> e_type = <type 'type'> <type 'exceptions.TypeError'>
> func = <type 'instancemethod'> <bound method
>Repository.repodata of <spacewalk.server.rhnRepository.Repository
>instance
>at 0x7f140ec7acf8>>
> e_value = <type 'exceptions.TypeError'> repodata()
>takes exactly 2 arguments (3 given)
> response = <class 'xmlrpclib.Fault'> <Fault 1: "While
>running 'repodata': caught\n<type 'exceptions.TypeError'> : repodata()
>takes exactly 2 arguments (3 given)\n">
>
>Frame process in
>/usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py at
>line
>593
> self = <type 'instance'>
><server.handlers.xmlrpc.get_handler.GetHandler instance at
>0x7f140ec680e0>
> params = <type 'tuple'> ('Packages.diff', 'Index')
> method = <type 'str'> repodata
>
>Frame handler in
>/usr/lib/python2.7/site-packages/spacewalk/server/apacheHandler.py at
>line
>203
> h = <type 'instance'>
><spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at
>0x7f140ecadd88>
> self = <type 'instance'>
><spacewalk.server.apacheHandler.apacheHandler instance at
>0x7f14132c4ab8>
> req = <type 'instance'>
><wsgi.wsgiRequest.WsgiRequest instance at 0x7f140ece91b8>
> ret = <type 'int'> 1
> 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.mdc.musc.edu'}
> row = <type 'NoneType'> None
>
>Frame handle in /usr/share/rhn/wsgi/wsgiHandler.py at line 44
> 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
>0x7f14150260a8>
> k = <type 'str'> Rhn
> req = <type 'instance'>
><wsgi.wsgiRequest.WsgiRequest instance at 0x7f140ece91b8>
> parseServ = <type 'instancemethod'> <bound method
>apacheHandler.headerParserHandler of
><spacewalk.server.apacheHandler.apacheHandler instance at
>0x7f14132c4ab8>>
> ret = <type 'int'> 0
> server = <type 'str'> xmlrpc
> environ = <type 'dict'> {'mod_wsgi.listener_port':
>'443', 'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'SERVER_SOFTWARE':
>'Apache', 'SCRIPT_NAME': '/XMLRPC', 'mod_wsgi.enable_sendfile': '0',
>'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '',
>'REQUEST_METHOD':
>'GET', 'PATH_INFO':
>'/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '',
>'HTTP_X_RHN_SERVER_ID':
>'1000010001', 'wsgi.url_scheme': 'https', 'SERVER_NAME': '
>spacewalk.mdc.musc.edu', 'REMOTE_ADDR': '128.23.182.201',
>'mod_wsgi.queue_start': '1549533320284352', 'mod_wsgi.request_handler':
>'wsgi-script', 'mod_wsgi.version': (3, 4),
>'HTTP_X_RHN_AUTH_SERVER_TIME':
>'1549533319.96', 'X-RHN-Auth-Server-Time': '1549533319.96',
>'X-RHN-Transport-Capability': 'follow-redirects=3', 'PATH_TRANSLATED':
>'/var/www/html/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'SERVER_PORT': '443', 'wsgi.multiprocess': True,
>'mod_wsgi.input_chunked':
>'0', 'SERVER_ADDR': !
> '128.23.191.174', 'DOCUMENT_ROOT': '/var/www/html',
>'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity',
>'X-RHN-Auth':
>'nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=',
>'X-RHN-Auth-Expire-Offset':
>'3600.0', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py',
>'SERVER_ADMIN': 'root at localhost', 'SCRIPT_URI': '
>https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'wsgi.input': <mod_wsgi.Input object at 0x7f1417185a30>, 'HTTP_HOST': '
>spacewalk.mdc.musc.edu', 'SCRIPT_URL':
>'/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'wsgi.multithread': False, 'HTTP_X_RHN_AUTH_EXPIRE_OFFSET': '3600.0',
>'mod_wsgi.callable_object': 'application', 'CONTEXT_PREFIX': '',
>'REQUEST_URI':
>'///XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'HTTP_X_RHN_AUTH_USER_ID': '', 'Host': 'spacewalk.mdc.musc.edu',
>'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001',
>'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.e!
> rrors': <mod_wsgi.Log object at 0x7f1417193270>, 'REMOTE_PORT'!
> : '59130', 'mod_wsgi.listener_host': '', 'REQUEST_SCHEME': 'https',
>'HTTP_X_RHN_AUTH': 'nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=',
>'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3',
>'mod_wsgi.application_group': 'spacewalk.mdc.musc.edu|/xmlrpc',
>'mod_wsgi.script_reloading': '1', 'X-RHN-Auth-User-Id': '',
>'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter
>object at 0x7f14150260a8>, 'HTTP_ACCEPT_ENCODING': 'identity',
>'UNIQUE_ID':
>'XFwAiOeFCYNstcIeYzFMcgAAAAQ'}
> key = <type 'str'> UNIQUE_ID
> v = <type 'str'> RHN
> servertype = <type 'str'> spacewalk.server.apacheServer
> new_key = <type 'str'> Accept-Encoding
> appServ = <type 'instancemethod'> <bound method
>apacheHandler.handler of <spacewalk.server.apacheHandler.apacheHandler
>instance at 0x7f14132c4ab8>>
>
>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
>0x7f14150260a8>
> environ = <type 'dict'> {'mod_wsgi.listener_port':
>'443', 'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'SERVER_SOFTWARE':
>'Apache', 'SCRIPT_NAME': '/XMLRPC', 'mod_wsgi.enable_sendfile': '0',
>'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '',
>'REQUEST_METHOD':
>'GET', 'PATH_INFO':
>'/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '',
>'HTTP_X_RHN_SERVER_ID':
>'1000010001', 'wsgi.url_scheme': 'https', 'SERVER_NAME': '
>spacewalk.mdc.musc.edu', 'REMOTE_ADDR': '128.23.182.201',
>'mod_wsgi.queue_start': '1549533320284352', 'mod_wsgi.request_handler':
>'wsgi-script', 'mod_wsgi.version': (3, 4),
>'HTTP_X_RHN_AUTH_SERVER_TIME':
>'1549533319.96', 'X-RHN-Auth-Server-Time': '1549533319.96',
>'X-RHN-Transport-Capability': 'follow-redirects=3', 'PATH_TRANSLATED':
>'/var/www/html/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'SERVER_PORT': '443', 'wsgi.multiprocess': True,
>'mod_wsgi.input_chunked':
>'0', 'SERVER_ADDR': !
> '128.23.191.174', 'DOCUMENT_ROOT': '/var/www/html',
>'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity',
>'X-RHN-Auth':
>'nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=',
>'X-RHN-Auth-Expire-Offset':
>'3600.0', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py',
>'SERVER_ADMIN': 'root at localhost', 'SCRIPT_URI': '
>https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'wsgi.input': <mod_wsgi.Input object at 0x7f1417185a30>, 'HTTP_HOST': '
>spacewalk.mdc.musc.edu', 'SCRIPT_URL':
>'/XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'wsgi.multithread': False, 'HTTP_X_RHN_AUTH_EXPIRE_OFFSET': '3600.0',
>'mod_wsgi.callable_object': 'application', 'CONTEXT_PREFIX': '',
>'REQUEST_URI':
>'///XMLRPC/GET-REQ/ubuntu_16_updates/repodata/Packages.diff/Index',
>'HTTP_X_RHN_AUTH_USER_ID': '', 'Host': 'spacewalk.mdc.musc.edu',
>'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001',
>'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.e!
> rrors': <mod_wsgi.Log object at 0x7f1417193270>, 'REMOTE_PORT'!
> : '59130', 'mod_wsgi.listener_host': '', 'REQUEST_SCHEME': 'https',
>'HTTP_X_RHN_AUTH': 'nL53lMc41V96u3uWpqa4tAArkXsFdl15WUjBfmzzDKQ=',
>'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3',
>'mod_wsgi.application_group': 'spacewalk.mdc.musc.edu|/xmlrpc',
>'mod_wsgi.script_reloading': '1', 'X-RHN-Auth-User-Id': '',
>'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter
>object at 0x7f14150260a8>, 'HTTP_ACCEPT_ENCODING': 'identity',
>'UNIQUE_ID':
>'XFwAiOeFCYNstcIeYzFMcgAAAAQ'}
>
>
>Environment for PID=67038 on exception:
>LANG = C
>NOTIFY_SOCKET = /run/systemd/notify
>PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
>
>
>*From the client itself:*
>#grouper-dev-loader-v:/root: rhn_check
>#grouper-dev-loader-v:/root: rhn-channel -l
>ubuntu_channel
>ubuntu_16_updates
>ubuntu_16_security
>#grouper-dev-loader-v:/root: dpkg-query -l 'rhn*'
>Desired=Unknown/Install/Remove/Purge/Hold
>|
>Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>||/ Name Version Architecture
>Description
>+++-===========================-==================-==================-===========================================================
>ii rhn-check 2.9.36-1.ubuntu16. all
>Check
>for RHN actions
>ii rhn-client-tools 2.9.36-1.ubuntu16. all
>Support programs and libraries for Red Hat Satellite or Spa
>un rhn-custom-info <none> <none>
>(no
>description available)
>un rhn-kickstart <none> <none>
>(no
>description available)
>ii rhn-setup 2.9.36-1.ubuntu16. all
>Configure and register an RHN/Spacewalk client
>un rhn-virtualization-host <none> <none>
>(no
>description available)
>ii rhncfg 5.10.129-1.ubuntu1 all
>Spacewalk Configuration Client Libraries
>ii rhncfg-actions 5.10.129-1.ubuntu1 all
>Spacewalk Configuration Client Actions
>ii rhncfg-client 5.10.129-1.ubuntu1 all
>Spacewalk Configuration Client
>un rhnclient <none> <none>
>(no
>description available)
>un rhnlib <none> <none>
>(no
>description available)
>un rhnpush <none> <none>
>(no
>description available)
>ii rhnsd 5.0.44-1.ubuntu16. all
>Spacewalk query daemon
>#grouper-dev-loader-v:/root:
>
>#grouper-dev-loader-v:/root: service rhnsd status
>● rhnsd.service - Spacewalk Server daemon
> Loaded: loaded (/lib/systemd/system/rhnsd.service; static; vendor
>preset: enabled)
> Active: inactive (dead) since Wed 2019-02-06 16:49:22 EST; 15h ago
> Process: 15363 ExecStart=/usr/sbin/rhn_check (code=exited,
>status=0/SUCCESS)
> Main PID: 15363 (code=exited, status=0/SUCCESS)
>
>Feb 06 16:49:19 grouper-dev-loader-v systemd[1]: Started Spacewalk
>Server
>daemon.
>#grouper-dev-loader-v:/root:
>
>*Finally, how are these errors resolved?*
>E: Failed to fetch spacewalk://
>spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/getPackage/vim-runtime_2:7.4.1689-3ubuntu1.2.all-deb.deb
> 404
> Not Found
>
>E: Failed to fetch spacewalk://
>spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/getPackage/whoopsie_0.2.52.5-X.amd64-deb.deb
> 404
> Not Found
>
>E: Failed to fetch spacewalk://
>spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/getPackage/wpasupplicant_2.4-0ubuntu6.3.amd64-deb.deb
> 404
> Not Found
>
>E: Failed to fetch spacewalk://
>spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_updates/getPackage/xdg-user-dirs_0.15-2ubuntu6.16.04.1.amd64-deb.deb
> 404
> Not Found
>
>E: Unable to fetch some archives, maybe run apt-get update or try with
>--fix-missing?
>#grouper-dev-loader-v:/root:
>
>*Respectfully,*
>
>*James*
You are still requesting "diffs"....
404 error: make sure you really downloaded the packages in question. Sync the repo again
Robert
>--
>--
>James W. Krych
>CCNP, CCNA, Net+, Security+, A+, Linux+
>Mobile: 843-847-1446
>james.w.krych at gmail.com
--
sent from my mobile device
More information about the Spacewalk-list
mailing list