[Spacewalk-list] Spacewalk Client 1.4 -> 1.5 Upgrade, Config File Upload Fails

Michael Mraka michael.mraka at redhat.com
Wed Aug 31 09:27:26 UTC 2011


Martin Eggen wrote:
% I am experiencing the same problem on  client upload to configuration channels after client upgrade to 1.5 - the problem persists after applying ade5bad7b02032d32f8e62f4c16dbc6c86f670e0 .
% /var/log/up2date.log gives me:
% 
% ConfigParser.InterpolationMissingOptionError: Bad value substitution:
%         section: [rhncfg-client]
%         option : server_url
%         key    : server_name
%         rawval : https://%(server_name)s%(server_handler)s

Google says it might be fixed by commit 3ae3db25bf808c01fd4655e68a1a8a81137086f0

    add proto, server_name and server_list to local_config overrides
    
    this was forgotten in commit:
    1a95582f4079fb92566daf491bd2c542f00865b6
    
    addressing:
    > [Thu Jul 28 13:25:02 2011] up2date
    > Traceback (most recent call last):
    >   File "/usr/sbin/rhn_check", line 333, in __run_action
    >     (status, message, data) = CheckCli.__do_call(method, params, kwargs)
    >   File "/usr/sbin/rhn_check", line 326, in __do_call
    >     retval = method(*params, **kwargs)
    >   File "/usr/share/rhn/actions/configfiles.py", line 189, in upload
    >     r = rpc_cli_repository.ClientRepository()
    >   File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 32, in __init__
    >     repository.RPC_Repository.__init__(self, setup_network)
    >   File "/usr/share/rhn/config_common/repository.py", line 223, in __init__
    >     self.__server_url = self._local_config.get('server_url')
    >   File "/usr/share/rhn/config_common/local_config.py", line 105, in get
    >     return _get_config().get_option(var)
    >   File "/usr/share/rhn/config_common/local_config.py", line 72, in get_option
    >     ret = self.get(self.section, option, vars=self.overrides)
    >   File "/usr/lib/python2.4/ConfigParser.py", line 525, in get
    >     return self._interpolate(section, option, value, d)
    >   File "/usr/lib/python2.4/ConfigParser.py", line 570, in _interpolate
    >     raise InterpolationMissingOptionError(
    > ConfigParser.InterpolationMissingOptionError: Bad value substitution:
    >         section: [rhncfg-client]
    >         option : server_url
    >         key    : server_name
    >         rawval : https://%(server_name)s%(server_handler)s

package rhncfg-5.10.13-1.

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list