[Spacewalk-list] Spacewalk 1.5 Client, Python Error on Config Upload

Trevor T Kates trevor.t.kates at dom.com
Thu Jul 28 17:50:08 UTC 2011


> Please check the /var/log/up2date on the client machine in question.

[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

I have not made any modifications to the configuration files since updating
this particular client to 1.5 and the previous value in the server_url option
was %(proto)s://%(server_name)s%(server_handler)s. Do I need to modify the
rhncfg-client.conf file to include the substitution for server_name?

Thanks for the assistance.

_______________________________________________________________________________
Trevor T. Kates

CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.




More information about the Spacewalk-list mailing list