<div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b>Taking steps forward and a few missteps along the way. <br></b></div><div><b><br></b></div><div><b>My Initial questions are:</b></div><div><b><br></b></div><div><b>1.) I know I'll get an email from my Spacewalk server if something happens during an apt-get update. However, is there a setting to have Spacewalk contact me if a client does need to be upgraded?</b></div><div><b><br></b></div><div><b>2.) Once the client has been registered, do I simply rename the sources.list file in order to ensure the updates are strictly from the registered channels?</b></div><div><b><br></b></div><div><b>Here is what I got from my first client after trying to apt-get update:</b></div><div><br></div><div>W: The repository 'spacewalk://<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a> ubuntu_channel Release' does not have a Release file.<br>N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.<br>N: See apt-secure(8) manpage for repository creation and user configuration details.<br>W: The repository 'spacewalk://<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a> ubuntu_16_security Release' does not have a Release file.<br>N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.<br>N: See apt-secure(8) manpage for repository creation and user configuration details.<br>W: The repository 'spacewalk://<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a> ubuntu_16_updates Release' does not have a Release file.<br>N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.<br>N: See apt-secure(8) manpage for repository creation and user configuration details.<br>#grouper-dev-loader-v:/etc/apt:</div><div><br></div><div><b>I am guessing I can go straight to <a href="http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/">http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/</a> to retrieve the RELEASE file?</b></div><div><b><br></b></div><div><b>Finally,</b></div><div><b><br></b></div><div><b>I got this sent to me by my Spacewalk Server:</b><br></div><div><font size="2"><span style="font-size:11pt">Exception reported from spacewalk<br>
Time: Thu Jan 31 13:03:55 2019<br>
Exception type <type 'exceptions.TypeError'><br>
Exception while handling function repodata<br>
Request object information:<br>
URI: ///XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index<br>
Remote Host: <a href="http://grouper-dev-loader-v.mdc.musc.edu">grouper-dev-loader-v.mdc.musc.edu</a><br>
Server Name: <a href="http://spacewalk.mdc.musc.edu:443">spacewalk.mdc.musc.edu:443</a><br>
Headers passed in:<br>
        Accept-Encoding: identity<br>
        CONTEXT_DOCUMENT_ROOT: /var/www/html<br>
        CONTEXT_PREFIX: <br>
        DOCUMENT_ROOT: /var/www/html<br>
        GATEWAY_INTERFACE: CGI/1.1<br>
        HTTP_ACCEPT_ENCODING: identity<br>
        HTTP_HOST: <a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a><br>
        HTTP_X_RHN_AUTH: iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=<br>
        HTTP_X_RHN_AUTH_EXPIRE_OFFSET: 3600.0<br>
        HTTP_X_RHN_AUTH_SERVER_TIME: 1548957835.75<br>
        HTTP_X_RHN_AUTH_USER_ID: <br>
        HTTP_X_RHN_SERVER_ID: 1000010001<br>
        HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3<br>
        Host: <a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a><br>
        PATH_INFO: /GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index<br>
        PATH_TRANSLATED: /var/www/html/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index<br>
        QUERY_STRING: <br>
        REMOTE_ADDR: 128.23.182.201<br>
        REMOTE_PORT: 53630<br>
        REQUEST_METHOD: GET<br>
        REQUEST_SCHEME: https<br>
        REQUEST_URI: ///XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index<br>
        SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py<br>
        SCRIPT_NAME: /XMLRPC<br>
        SCRIPT_URI: <a href="https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index" target="_blank" rel="noopener noreferrer">https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index</a><br>
        SCRIPT_URL: /XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index<br>
        SERVER_ADDR: 128.23.191.174<br>
        SERVER_ADMIN: root@localhost<br>
        SERVER_NAME: <a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a><br>
        SERVER_PORT: 443<br>
        SERVER_PROTOCOL: HTTP/1.1<br>
        SERVER_SIGNATURE: <br>
        SERVER_SOFTWARE: Apache<br>
        UNIQUE_ID: XFM4i7jv04S7D8jviB5vDwAAAAU<br>
        X-RHN-Auth: iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=<br>
        X-RHN-Auth-Expire-Offset: 3600.0<br>
        X-RHN-Auth-Server-Time: 1548957835.75<br>
        X-RHN-Auth-User-Id: <br>
        X-RHN-Server-Id: 1000010001<br>
        X-RHN-Transport-Capability: follow-redirects=3<br>
        mod_wsgi.application_group: <a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>|/xmlrpc<br>
        mod_wsgi.callable_object: application<br>
        mod_wsgi.enable_sendfile: 0<br>
        mod_wsgi.handler_script: <br>
        mod_wsgi.input_chunked: 0<br>
        mod_wsgi.listener_host: <br>
        mod_wsgi.listener_port: 443<br>
        mod_wsgi.process_group: <br>
        mod_wsgi.queue_start: 1548957835954332<br>
        mod_wsgi.request_handler: wsgi-script<br>
        mod_wsgi.script_reloading: 1<br>
        mod_wsgi.version: (3, 4)<br>
        wsgi.errors: <mod_wsgi.Log object at 0x7f510058f270><br>
        wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f50fe4220a8><br>
        wsgi.input: <mod_wsgi.Input object at 0x7f5100581a30><br>
        wsgi.multiprocess: True<br>
        wsgi.multithread: False<br>
        wsgi.run_once: False<br>
        wsgi.url_scheme: https<br>
        wsgi.version: (1, 0)<br>
Extra information about this error:<br>
Response sent back to the caller:<br>
While running 'repodata': caught<br>
<type 'exceptions.TypeError'> : repodata() takes exactly 2 arguments (3 given)<br>
<br>
<br>
<br>
Exception Handler Information<br>
Traceback (most recent call last):<br>
  File "/usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py", line 135, in call_function<br>
    response = func(*params)<br>
TypeError: repodata() takes exactly 2 arguments (3 given)<br>
<br>
Local variables by frame<br>
Frame call_function in /usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py at line 154<br>
                       fault = <type 'int'> 1<br>
                        self = <type 'instance'> 
<server.handlers.xmlrpc.get_handler.GetHandler instance at 
0x7f50f834d7e8><br>
              force_rollback = <type 'int'> 1<br>
                      method = <type 'str'> repodata<br>
                     exctype = <type 'type'> <type 'exceptions.TypeError'><br>
                      params = <type 'tuple'> ('Packages.diff', 'Index')<br>
                      e_type = <type 'type'> <type 'exceptions.TypeError'><br>
                        func = <type 'instancemethod'> <bound 
method Repository.repodata of 
<spacewalk.server.rhnRepository.Repository instance at 
0x7f50f8070ab8>><br>
                     e_value = <type 'exceptions.TypeError'> repodata() takes exactly 2 arguments (3 given)<br>
                    response = <class 'xmlrpclib.Fault'> <Fault
 1: "While running 'repodata': caught\n<type 
'exceptions.TypeError'> : repodata() takes exactly 2 arguments (3 
given)\n"><br>
<br>
Frame process in /usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py at line 593<br>
                        self = <type 'instance'> 
<server.handlers.xmlrpc.get_handler.GetHandler instance at 
0x7f50f834d7e8><br>
                      params = <type 'tuple'> ('Packages.diff', 'Index')<br>
                      method = <type 'str'> repodata<br>
<br>
Frame handler in /usr/lib/python2.7/site-packages/spacewalk/server/apacheHandler.py at line 203<br>
                           h = <type 'instance'> 
<spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 
0x7f50f8350830><br>
                        self = <type 'instance'> 
<spacewalk.server.apacheHandler.apacheHandler instance at 
0x7f50fc6c0ab8><br>
                         req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7f50f80f28c0><br>
                         ret = <type 'int'> 1<br>
             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': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>'}<br>
                         row = <type 'NoneType'> None<br>
<br>
Frame handle in /usr/share/rhn/wsgi/wsgiHandler.py at line 44<br>
                replacements = <type 'dict'> {'Xml': 'XML', 
'Actualuri': 'ActualURI', 'Md5Sum': 'MD5sum', '_': '-', 'Rhn': 'RHN'}<br>
              component_type = <type 'str'> server.xmlrpc<br>
              start_response = <type 'builtin_function_or_method'>
 <built-in method start_response of mod_wsgi.Adapter object at 
0x7f50fe4220a8><br>
                           k = <type 'str'> Rhn<br>
                         req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7f50f80f28c0><br>
                   parseServ = <type 'instancemethod'> <bound 
method apacheHandler.headerParserHandler of 
<spacewalk.server.apacheHandler.apacheHandler instance at 
0x7f50fc6c0ab8>><br>
                         ret = <type 'int'> 0<br>
                      server = <type 'str'> xmlrpc<br>
                     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_security/repodata/Packages.diff/Index', 
'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 
'HTTP_X_RHN_SERVER_ID': '1000010001', 'wsgi.url_scheme': 'https', 
'SERVER_NAME': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 'REMOTE_ADDR': 
'128.23.182.201', 'mod_wsgi.queue_start': '1548957835954332', 
'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.version': (3, 4), 
'HTTP_X_RHN_AUTH_SERVER_TIME': '1548957835.75', 
'X-RHN-Auth-Server-Time': '1548957835.75', 'X-RHN-Transport-Capability':
 'follow-redirects=3', 'PATH_TRANSLATED': 
'/var/www/html/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index',
 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 
'mod_wsgi.input_chunked': '0', 'SERVER_ADDR'!<br>
 : '128.23.191.174', 'DOCUMENT_ROOT': '/var/www/html', 
'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', 
'X-RHN-Auth': 'iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=', 
'X-RHN-Auth-Expire-Offset': '3600.0', 'SCRIPT_FILENAME': 
'/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root@localhost', 
'SCRIPT_URI': '<a href="https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index" target="_blank" rel="noopener noreferrer">https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index</a>',
 'wsgi.input': <mod_wsgi.Input object at 0x7f5100581a30>, 
'HTTP_HOST': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 'SCRIPT_URL': 
'/XMLRPC/GET-REQ/ubuntu_16_security/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_security/repodata/Packages.diff/Index', 
'HTTP_X_RHN_AUTH_USER_ID': '', 'Host': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 
'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001', 
'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'w!<br>
 sgi.errors': <mod_wsgi.Log object at 0x7f510058f270>, 'REMOTE_!<br>
 PORT': '53630', 'mod_wsgi.listener_host': '', 'REQUEST_SCHEME': 
'https', 'HTTP_X_RHN_AUTH': 
'iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=', 
'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 
'mod_wsgi.application_group': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>|/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 0x7f50fe4220a8>, 'HTTP_ACCEPT_ENCODING': 
'identity', 'UNIQUE_ID': 'XFM4i7jv04S7D8jviB5vDwAAAAU'}<br>
                         key = <type 'str'> UNIQUE_ID<br>
                           v = <type 'str'> RHN<br>
                  servertype = <type 'str'> spacewalk.server.apacheServer<br>
                     new_key = <type 'str'> Accept-Encoding<br>
                     appServ = <type 'instancemethod'> <bound 
method apacheHandler.handler of 
<spacewalk.server.apacheHandler.apacheHandler instance at 
0x7f50fc6c0ab8>><br>
<br>
Frame application in /usr/share/rhn/wsgi/xmlrpc.py at line 22<br>
              start_response = <type 'builtin_function_or_method'>
 <built-in method start_response of mod_wsgi.Adapter object at 
0x7f50fe4220a8><br>
                     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_security/repodata/Packages.diff/Index', 
'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 
'HTTP_X_RHN_SERVER_ID': '1000010001', 'wsgi.url_scheme': 'https', 
'SERVER_NAME': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 'REMOTE_ADDR': 
'128.23.182.201', 'mod_wsgi.queue_start': '1548957835954332', 
'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.version': (3, 4), 
'HTTP_X_RHN_AUTH_SERVER_TIME': '1548957835.75', 
'X-RHN-Auth-Server-Time': '1548957835.75', 'X-RHN-Transport-Capability':
 'follow-redirects=3', 'PATH_TRANSLATED': 
'/var/www/html/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index',
 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 
'mod_wsgi.input_chunked': '0', 'SERVER_ADDR'!<br>
 : '128.23.191.174', 'DOCUMENT_ROOT': '/var/www/html', 
'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', 
'X-RHN-Auth': 'iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=', 
'X-RHN-Auth-Expire-Offset': '3600.0', 'SCRIPT_FILENAME': 
'/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root@localhost', 
'SCRIPT_URI': '<a href="https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index" target="_blank" rel="noopener noreferrer">https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index</a>',
 'wsgi.input': <mod_wsgi.Input object at 0x7f5100581a30>, 
'HTTP_HOST': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 'SCRIPT_URL': 
'/XMLRPC/GET-REQ/ubuntu_16_security/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_security/repodata/Packages.diff/Index', 
'HTTP_X_RHN_AUTH_USER_ID': '', 'Host': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>', 
'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001', 
'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'w!<br>
 sgi.errors': <mod_wsgi.Log object at 0x7f510058f270>, 'REMOTE_!<br>
 PORT': '53630', 'mod_wsgi.listener_host': '', 'REQUEST_SCHEME': 
'https', 'HTTP_X_RHN_AUTH': 
'iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=', 
'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 
'mod_wsgi.application_group': '<a href="http://spacewalk.mdc.musc.edu">spacewalk.mdc.musc.edu</a>|/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 0x7f50fe4220a8>, 'HTTP_ACCEPT_ENCODING': 
'identity', 'UNIQUE_ID': 'XFM4i7jv04S7D8jviB5vDwAAAAU'}<br>
<br>
<br>
Environment for PID=85492 on exception:<br>
LANG = C<br>
NOTIFY_SOCKET = /run/systemd/notify<br>
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin<br>
</span></font></div><div><br></div><div><b>What exactly am I looking at and is this related to the lack of a Release file?</b></div><div><b><br></b></div><div><b>Very respectfully,</b></div><div><b><br></b></div><div><b>James</b><br></div><div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">--<br>--<br>James W. Krych<br>CCNP, CCNA, Net+, Security+, A+, Linux+<br>Mobile: 843-847-1446<br><a href="mailto:james.w.krych@gmail.com" target="_blank">james.w.krych@gmail.com</a><br></div></div></div></div></div></div></div></div>