*Taking steps forward and a few missteps along the way. *

*My Initial questions are:*

*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?*

*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?*

*Here is what I got from my first client after trying to apt-get update:*

W: The repository 'spacewalk://spacewalk.mdc.musc.edu ubuntu_channel
Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
W: The repository 'spacewalk://spacewalk.mdc.musc.edu ubuntu_16_security
Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
W: The repository 'spacewalk://spacewalk.mdc.musc.edu ubuntu_16_updates
Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
#grouper-dev-loader-v:/etc/apt:

*I am guessing I can go straight to
http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/
<http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/>
to retrieve the RELEASE file?*

*Finally,*

*I got this sent to me by my Spacewalk Server:*
Exception reported from spacewalk
Time: Thu Jan 31 13:03:55 2019
Exception type <type 'exceptions.TypeError'>
Exception while handling function repodata
Request object information:
URI: ///XMLRPC/GET-REQ/ubuntu_16_security/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: iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=
        HTTP_X_RHN_AUTH_EXPIRE_OFFSET: 3600.0
        HTTP_X_RHN_AUTH_SERVER_TIME: 1548957835.75
        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_security/repodata/Packages.diff/Index
        PATH_TRANSLATED:
/var/www/html/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index
        QUERY_STRING:
        REMOTE_ADDR: 128.23.182.201
        REMOTE_PORT: 53630
        REQUEST_METHOD: GET
        REQUEST_SCHEME: https
        REQUEST_URI:
///XMLRPC/GET-REQ/ubuntu_16_security/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_security/repodata/Packages.diff/Index
        SCRIPT_URL:
/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index
        SERVER_ADDR: 128.23.191.174
        SERVER_ADMIN: root@localhost
        SERVER_NAME: spacewalk.mdc.musc.edu
        SERVER_PORT: 443
        SERVER_PROTOCOL: HTTP/1.1
        SERVER_SIGNATURE:
        SERVER_SOFTWARE: Apache
        UNIQUE_ID: XFM4i7jv04S7D8jviB5vDwAAAAU
        X-RHN-Auth: iETk+fc0/xkpaVTOFfM5IkZa1Ose9/Yzr3vEsJ85KqI=
        X-RHN-Auth-Expire-Offset: 3600.0
        X-RHN-Auth-Server-Time: 1548957835.75
        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: 1548957835954332
        mod_wsgi.request_handler: wsgi-script
        mod_wsgi.script_reloading: 1
        mod_wsgi.version: (3, 4)
        wsgi.errors: <mod_wsgi.Log object at 0x7f510058f270>
        wsgi.file_wrapper: <built-in method file_wrapper of
mod_wsgi.Adapter object at 0x7f50fe4220a8>
        wsgi.input: <mod_wsgi.Input object at 0x7f5100581a30>
        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 0x7f50f834d7e8>
              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 0x7f50f8070ab8>>
                     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 0x7f50f834d7e8>
                      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
0x7f50f8350830>
                        self = <type 'instance'>
<spacewalk.server.apacheHandler.apacheHandler instance at 0x7f50fc6c0ab8>
                         req = <type 'instance'>
<wsgi.wsgiRequest.WsgiRequest instance at 0x7f50f80f28c0>
                         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
0x7f50fe4220a8>
                           k = <type 'str'> Rhn
                         req = <type 'instance'>
<wsgi.wsgiRequest.WsgiRequest instance at 0x7f50f80f28c0>
                   parseServ = <type 'instancemethod'> <bound method
apacheHandler.headerParserHandler of
<spacewalk.server.apacheHandler.apacheHandler instance at 0x7f50fc6c0ab8>>
                         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_security/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': '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'!
 : '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': '
https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index',
'wsgi.input': <mod_wsgi.Input object at 0x7f5100581a30>, 'HTTP_HOST': '
spacewalk.mdc.musc.edu', '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': 'spacewalk.mdc.musc.edu',
'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001',
'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'w!
 sgi.errors': <mod_wsgi.Log object at 0x7f510058f270>, 'REMOTE_!
 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': '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 0x7f50fe4220a8>, 'HTTP_ACCEPT_ENCODING': 'identity', 'UNIQUE_ID':
'XFM4i7jv04S7D8jviB5vDwAAAAU'}
                         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 0x7f50fc6c0ab8>>

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
0x7f50fe4220a8>
                     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': '
spacewalk.mdc.musc.edu', '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'!
 : '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': '
https://spacewalk.mdc.musc.edu/XMLRPC/GET-REQ/ubuntu_16_security/repodata/Packages.diff/Index',
'wsgi.input': <mod_wsgi.Input object at 0x7f5100581a30>, 'HTTP_HOST': '
spacewalk.mdc.musc.edu', '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': 'spacewalk.mdc.musc.edu',
'wsgi.version': (1, 0), 'X-RHN-Server-Id': '1000010001',
'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'w!
 sgi.errors': <mod_wsgi.Log object at 0x7f510058f270>, 'REMOTE_!
 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': '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 0x7f50fe4220a8>, 'HTTP_ACCEPT_ENCODING': 'identity', 'UNIQUE_ID':
'XFM4i7jv04S7D8jviB5vDwAAAAU'}


Environment for PID=85492 on exception:
LANG = C
NOTIFY_SOCKET = /run/systemd/notify
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

*What exactly am I looking at and is this related to the lack of a Release
file?*

*Very respectfully,*

*James*
--
--
James W. Krych
CCNP, CCNA, Net+, Security+, A+, Linux+
Mobile: 843-847-1446
james.w.kr...@gmail.com
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to