[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] TRACEBACK: import configuration file



How big is the file?  The default max file size is 128KiB.

CC

On Wed, Aug 18, 2010 at 8:27 PM, James Hogarth <james hogarth gmail com> wrote:
> Hi,
>
> Went to import /etc/squid/squid.conf and got the traceback below and a
> failed import:
>
> This is spacewalk 1.1 with the 1.1 client tools installed on up to
> date Centos 5.5/EPEL.
>
> The UTF-8 issue still exist or something else?
>
> James
>
>
>
>
>
>
> __________
>
> Exception reported from spacewalk.entertainment.bskyb.com
> Time: Wed Aug 18 12:48:27 2010
> Exception type exceptions.AttributeError Exception while handling
> function config.client.get_default_delimiters
> Request object information:
> URI: /CONFIG-MANAGEMENT
> Remote Host: 10.249.194.10
> Server Name: spacewalk.entertainment.bskyb.com:443
> Headers passed in:
>        Accept-Encoding: identity
>        Content-Length: 527
>        Host: spacewalk.entertainment.bskyb.com:443
>        content-encoding: x-gzip
>        content-transfer-encoding: binary
>        content-type: application/binary
>        user-agent: rhn.rpclib.py/$Revision$
>        x-client-version: 1
>        x-info: RPC Processor (C) Red Hat, Inc (version $Revision$)
>        x-rhn-client-capability: rhncfg.dirs_enabled(1)=1,configfiles.base64_enc(1)=1
>        x-rhn-transport-capability: follow-redirects=3
>        x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc
> (version $Revision$)
>
> Exception Handler Information
> Traceback (most recent call last):
>  File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function
>    response = apply(func, params)
>  File "/usr/share/rhn/server/handlers/config/rhn_config_management.py",
> line 56, in client_get_delimiters
>    return self._get_delimiters()
>  File "/usr/share/rhn/server/configFilesHandler.py", line 120, in
> _get_delimiters
>    return {
>  File "/usr/share/rhn/common/rhnConfig.py", line 356, in __getattr__
>    raise AttributeError(key)
> AttributeError: config_delim_start
>
> Local variables by frame
> Frame __getattr__ in /usr/share/rhn/common/rhnConfig.py at line 356
>                        self = <type 'instance'> <RHNOptions instance at
> 47187777781200: {'abuse_check': 0, 'db_password': 'spacewalk',
> 'satellite': 1, 'max_user_len': 64, 'checksum_priority_list':
> ['sha512', 'sha384', 'sha256', 'sha1', 'md5'], 'force_package_upload':
> 0, 'ca_chain': '/usr/share/rhn/RHNS-CA-CERT',
> 'freeloader_throttle_start': 9, 'disallow_user_creation': 1,
> 'disable_iss': 0, 'min_user_len': 3, 'mount_point': '/var/satellite',
> 'iss_ca_chain': '/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT', 'db_user':
> 'spacewalk', 'throttle_freeloaders': 0, 'repomd_cache_mount_point':
> '/var/cache', 'pam_auth_service': None, 'kickstart_mount_point':
> '/var/satellite', 'message_to_all': '/etc/rhn/message_to_all.txt',
> 'enable_nvrea': 1, 'client_auth_timeout': 3600.0, 'iss_parent': None,
> 'session_secret_1': 'b4d35f3e23fc411e819a6896ec1ed3b2',
> 'throttle_grace_period': 168.0, 'pkg_list_dir': '/var/up2date/list',
> 'session_secret_4': '697330557d8a2bdbc46697662a9bac49',
> 'session_secret_2': 'd0b509fa!
>  a2c8b7378a940e894d814166', 'session_secret_3':
> 'c08ccebaf5fd8c37f323e185f2d4a23f', 'session_lifetime': 1800,
> 'enable_snapshots': 1, 'refer_to_www': 0, 'proxy_auth_timeout':
> 21600.0, 'grace_no_throttle': 0, 'send_message_to_all': 0,
> 'freeloader_throttle_end': 21, 'reset_base_channel': 1,
> 'min_passwd_len': 5, 'repomd_path_prefix': 'rhn/repodata',
> 'maximum_config_file_size': 131072, 'buffer_size': 16384,
> 'max_passwd_len': 32, 'prepended_dir': 'redhat', 'disconnected': 1,
> 'quiet_mail': 15, 'db_port': 1521, 'log_file':
> '/var/log/rhn/rhn_server.log', 'db_backend': 'oracle',
> 'max_email_len': 128, 'disallowed_suffixes': None,
> 'use_taskomatic_repomd': 1, 'jabber_server':
> 'spacewalk.entertainment.bskyb.com', 'nls_lang': 'english.AL32UTF8',
> 'traceback_mail': 'james hogarth bskyb com', 'db_name': 'XE',
> 'db_host': 'spacewalk.entertainment.bskyb.com', 'allowed_iss_slaves':
> None, 'encrypted_passwords': 1, 'join_rhn': 0, 'debug': 1,
> 'secret_key': '8a7defc2fd85604846c0b94ab2a3f56a', 'min_ne!
>  w_user_len': 5, 'send_eol_mail': 0, 'compress_headers': 1}>
>                         key = <type 'str'> config_delim_start
>
> Frame _get_delimiters in /usr/share/rhn/server/configFilesHandler.py at line 120
>                        self = <type 'instance'>
> <server.handlers.config.rhn_config_management.ConfigManagement
> instance at 0x2aeaccb9b638>
>
> Frame client_get_delimiters in
> /usr/share/rhn/server/handlers/config/rhn_config_management.py at line
> 56
>                        self = <type 'instance'>
> <server.handlers.config.rhn_config_management.ConfigManagement
> instance at 0x2aeaccb9b638>
>                    systemid = <type 'str'> <?xml version="1.0"?> <params>
> <param> <value><struct> <member> <name>username</name>
> <value><string>wizard</string></value>
> </member>
> <member>
> <name>operating_system</name>
> <value><string>centos-release</string></value>
> </member>
> <member>
> <name>description</name>
> <value><string>Initial Registration Parameters:
> OS: centos-release
> Release: 5
> CPU Arch: x86_64-redhat-linux</string></value>
> </member>
> <member>
> <name>checksum</name>
> <value><string>8e000a1d46591c4812f8b5107d1dc6ea</string></value>
> </member>
> <member>
> <name>profile_name</name>
> <value><string>spacewalkproxy.prod.entertainment.bskyb.com
> </string></value> </member> <member> <name>system_id</name>
> <value><string>ID-1000010237</string></value>
> </member>
> <member>
> <name>architecture</name>
> <value><string>x86_64-redhat-linux</string></value>
> </member>
> <member>
> <name>os_release</name>
> <value><string>5</string></value>
> </member>
> <member>
> <name>fields</name>
> <value><array><data>
> <value><string>system_id</string></value>
> <value><string>os_release</string></value>
> <value><string>operating_system</string></value>
> <value><string>architecture</string></value>
> <value><string>username</string></value>
> <value><string>type</string></value>
> </data></array></value>
> </member>
> <member>
> <name>type</name>
> <value><string>REAL</string></value>
> </member>
> </struct></value>
> </param>
> </params>
>
>
> Frame call_function in /usr/share/rhn/server/apacheRequest.py at line 171
>                        self = <type 'instance'>
> <server.apacheRequest.apachePOST instance at 0x2aeac6f92f80>
>                      params = <type 'tuple'> ('<?xml
> version="1.0"?>\n<params>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>wizard</string></value>\n</member>\n<member>\n<name>operating_system</name>\n<value><string>centos-release</string></value>\n</member>\n<member>\n<name>description</name>\n<value><string>Initial
> Registration Parameters:\nOS: centos-release\nRelease: 5\nCPU Arch:
> x86_64-redhat-linux</string></value>\n</member>\n<member>\n<name>checksum</name>\n<value><string>8e000a1d46591c4812f8b5107d1dc6ea</string></value>\n</member>\n<member>\n<name>profile_name</name>\n<value><string>spacewalkproxy.prod.entertainment.bskyb.com
> </string></value>\n</member>\n<member>\n<name>system_id</name>\n<value><string>ID-1000010237</string></value>\n</member>\n<member>\n<name>architecture</name>\n<value><string>x86_64-redhat-linux</string></value>\n</member>\n<member>\n<name>os_release</name>\n<value><string>5</string></value>\n</member>\n<member>\n<name>fie!
>  lds</name>\n<value><array><data>\n<value><string>system_id</string></value>\n<value><string>os_release</string></value>\n<value><string>operating_system</string></value>\n<value><string>architecture</string></value>\n<value><string>username</string></value>\n<value><string>type</string></value>\n</data></array></value>\n</member>\n<member>\n<name>type</name>\n<value><string>REAL</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n',)
>              force_rollback = <type 'int'> 1
>                        func = <type 'instancemethod'> <bound method
> ConfigManagement.client_get_delimiters of
> <server.handlers.config.rhn_config_management.ConfigManagement
> instance at 0x2aeaccb9b638>>
>                      method = <type 'unicode'> config.client.get_default_delimiters
>
> Frame process in /usr/share/rhn/server/apacheRequest.py at line 473
>                          fd = <type 'instance'> <cStringIO.StringO object at
> 0x2aeac0218f30>
>                       _body = <type 'str'> <?xml version='1.0'?>
> <methodCall> <methodName>config.client.get_default_delimiters</methodName>
> <params>
> <param>
> <value><string>&lt;?xml version="1.0"?&gt; &lt;params&gt;
> &lt;param&gt; &lt;value&gt;&lt;struct&gt; &lt;member&gt;
> &lt;name&gt;username&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;wizard&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;operating_system&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;centos-release&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;description&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;Initial Registration Parameters:
> OS: centos-release
> Release: 5
> CPU Arch: x86_64-redhat-linux&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;checksum&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;8e000a1d46591c4812f8b5107d1dc6ea&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;profile_name&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;spacewalkproxy.prod.entertainment.bskyb.com
> &lt;/string&gt;&lt;/value&gt; &lt;/member&gt; &lt;member&gt;
> &lt;name&gt;system_id&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;ID-1000010237&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;architecture&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;x86_64-redhat-linux&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;os_release&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;5&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;fields&lt;/name&gt;
> &lt;value&gt;&lt;array&gt;&lt;data&gt;
> &lt;value&gt;&lt;string&gt;system_id&lt;/string&gt;&lt;/value&gt;
> &lt;value&gt;&lt;string&gt;os_release&lt;/string&gt;&lt;/value&gt;
> &lt;value&gt;&lt;string&gt;operating_system&lt;/string&gt;&lt;/value&gt;
> &lt;value&gt;&lt;string&gt;architecture&lt;/string&gt;&lt;/value&gt;
> &lt;value&gt;&lt;string&gt;username&lt;/string&gt;&lt;/value&gt;
> &lt;value&gt;&lt;string&gt;type&lt;/string&gt;&lt;/value&gt;
> &lt;/data&gt;&lt;/array&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;member&gt;
> &lt;name&gt;type&lt;/name&gt;
> &lt;value&gt;&lt;string&gt;REAL&lt;/string&gt;&lt;/value&gt;
> &lt;/member&gt;
> &lt;/struct&gt;&lt;/value&gt;
> &lt;/param&gt;
> &lt;/params&gt;
> </string></value>
> </param>
> </params>
> </methodCall>
>
>                      params = <type 'tuple'> ('<?xml
> version="1.0"?>\n<params>\n<param>\n<value><struct>\n<member>\n<name>username</name>\n<value><string>wizard</string></value>\n</member>\n<member>\n<name>operating_system</name>\n<value><string>centos-release</string></value>\n</member>\n<member>\n<name>description</name>\n<value><string>Initial
> Registration Parameters:\nOS: centos-release\nRelease: 5\nCPU Arch:
> x86_64-redhat-linux</string></value>\n</member>\n<member>\n<name>checksum</name>\n<value><string>8e000a1d46591c4812f8b5107d1dc6ea</string></value>\n</member>\n<member>\n<name>profile_name</name>\n<value><string>spacewalkproxy.prod.entertainment.bskyb.com
> </string></value>\n</member>\n<member>\n<name>system_id</name>\n<value><string>ID-1000010237</string></value>\n</member>\n<member>\n<name>architecture</name>\n<value><string>x86_64-redhat-linux</string></value>\n</member>\n<member>\n<name>os_release</name>\n<value><string>5</string></value>\n</member>\n<member>\n<name>fie!
>  lds</name>\n<value><array><data>\n<value><string>system_id</string></value>\n<value><string>os_release</string></value>\n<value><string>operating_system</string></value>\n<value><string>architecture</string></value>\n<value><string>username</string></value>\n<value><string>type</string></value>\n</data></array></value>\n</member>\n<member>\n<name>type</name>\n<value><string>REAL</string></value>\n</member>\n</struct></value>\n</param>\n</params>\n',)
>                      method = <type 'unicode'> config.client.get_default_delimiters
>                        self = <type 'instance'>
> <server.apacheRequest.apachePOST instance at 0x2aeac6f92f80>
>
> Frame handler in /usr/share/rhn/server/apacheHandler.py at line 210
>                           h = <type 'instance'> <__builtin__.OracleCursor on
> <cx_Oracle.Connection to spacewalk XE>>
>                        self = <type 'instance'>
> <server.apacheHandler.apacheHandler instance at 0x2aeac6f36d88>
>                         req = <type 'mp_request'> <mp_request object at
> 0x2aeac0581050>
>                         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.entertainment.bskyb.com'}
>                         row = <type 'NoneType'> None
>
> Frame HandlerDispatch in
> /usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299
>                         req = <type 'mp_request'> <mp_request object at
> 0x2aeac0581050>
>                      config = <type 'mp_table'> {'PythonInterpreter':
> 'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
>                        self = <type 'instance'> <mod_python.apache.CallBack
> instance at 0x2aeac0579b48>
>                      object = <type 'instancemethod'> <bound method
> apacheHandler.handler of <server.apacheHandler.apacheHandler instance
> at 0x2aeac6f36d88>>
>                           l = <type 'list'> ['server.apacheServer', 'Handler']
>                      module = <type 'module'> <module 'server.apacheServer'
> from '/usr/share/rhn/server/apacheServer.pyc'>
>                       hlist = <type 'mp_hlist'>
> {'handler:'server.apacheServer::Handler','directory':'/CONFIG-MANAGEMENT/','silent':0}
>                  object_str = <type 'str'> Handler
>                       debug = <type 'int'> 0
>                 module_name = <type 'str'> server.apacheServer
>                  pathstring = <type 'str'> sys.path+['/usr/share/rhn']
>                      result = <type 'int'> 500
>
>
> Environment for PID=17619 on exception:
> CONSOLE = /dev/console
> HOME = /
> INIT_VERSION = sysvinit-2.86
> LANG = C
> NLS_LANG = english.AL32UTF8
> ORACLE_HOME = /opt/oracle
> PATH = /sbin:/usr/sbin:/bin:/usr/bin
> PERL_BADFREE = 0
> PREVLEVEL = N
> PWD = /
> RUNLEVEL = 3
> SELINUX_INIT = YES
> SHLVL = 3
> TERM = linux
> _ = /usr/sbin/httpd
> previous = N
> runlevel = 3
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list redhat com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]