[Spacewalk-list] unable to deploy configuration files

Brown, Rodrick rbrown at knight.com
Thu May 10 16:39:13 UTC 2012


I'm having issues deploying configuration files no matter how trivial.

I setup a configuration channel to deploy a test file to /tmp/blah to isolate permissioning
And the python code is throwing an exception :

The client I'm testing is unlocked, and I issued a rhn-actions-control -enable-all
I have no issues with pushing new RPM's to the host so I'm not sure what could be wrong.

Thu May 10 12:33:29 2012] up2date updateLoginInfo() login info
[Thu May 10 12:33:29 2012] up2date logging into up2date server
[Thu May 10 12:33:29 2012] up2date successfully retrieved authentication token from up2date server
[Thu May 10 12:33:29 2012] 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 203, in deploy
    _init()
  File "/usr/share/rhn/actions/configfiles.py", line 405, in _init
    local_config.init('rhncfg-client', defaults=up2date_config)
  File "/usr/share/rhn/config_common/local_config.py", line 99, in init
    cp.read_config_files(overrides)
  File "/usr/share/rhn/config_common/local_config.py", line 39, in read_config_files
    self.read(self._get_config_files())
  File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
 File "/usr/lib64/python2.7/ConfigParser.py", line 554, in _read
    options[name] = '\n'.join(val)
<type 'exceptions.TypeError'>: sequence item 0: expected string, dict found



Please visit our website for important disclaimers/disclosures regarding Knight's products and services:

http://knight.com/KnightEmailDisclaimer.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120510/6b2892e1/attachment.htm>


More information about the Spacewalk-list mailing list