Scheduled comparison of configuration channels fails with error 'Fatal error in Python code occured [[6]]' on Red Hat Satellite client

Solution Verified - Updated -

Issue

  • Scheduled comparison of configuration channels fails with error Fatal error in Python code occured [[6]]
  • Error in /var/log/up2date like the following:
Traceback (most recent call last):
  File "/usr/sbin/rhn_check", line 342, in __run_action
    (status, message, data) = CheckCli.__do_call(method, params, kwargs)
  File "/usr/sbin/rhn_check", line 335, in __do_call
    retval = method(*params, **kwargs)
  File "/usr/share/rhn/actions/configfiles.py", line 342, in diff
    diff = fp.diff(file)
  File "/usr/share/rhn/config_common/file_utils.py", line 128, in diff
    temp_file, temp_dirs = self.process(file_struct)
  File "/usr/share/rhn/config_common/file_utils.py", line 48, in process
    fullpath = directory + file_struct['path']
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'NoneType' and 'str'

Environment

  • Red Hat Satellite 5.x
  • Red Hat Enterprise Linux 5.x/6.x/7.x
  • rhncfg*-5.10.74-7.el5sat
  • rhncfg*-5.10.74-7.el6sat
  • rhncfg*-5.10.74-7.el7sat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content