Red Hat Bugzilla – Bug 203240
Configfiles.py diff config channel files fails, format_file_str
Last modified: 2011-01-05 17:29:54 EST
Description of problem:
RHN satellite server (4.0.6) running on RHEL AS 3.0 (Update 6) kickstarts a
client server. After the client server is registered and fully booted, schedule
a diff for all managed config files for that server. When an rhn_check is ran
on the client server the following will display
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 345 in ?
File "/usr/sbin/rhn_check", line 218, in handle_action
(status, message, data) = run_action(method, params)
File "/usr/sbin/rhn_check", line 174, in run_action
(status, message, data) = do_call(method, params)
File "/usr/sbin/rhn_check", line 91, in do_call
retval = apply(method, params)
File "/usr/share/rhn/actions/configfiles.py", line 288, in deploy
log_to_file(0, "Files successfully deployed: %s %s (format_file_str(files,
NameError: global name 'format_file_str' is not defined.
If I manually edit the configfiles.py file on the client server from
format_file_str to format_file_string (as it is referenced everywhere else in
the file) Diffs from the satellite work just fine.
Version-Release number of selected component (if applicable):
Satellite 4.0.6, RHEL AS3 update 6
Steps to Reproduce:
1. Kickstart a machine rhel 3 u6
2. Schedule a diff
Files fail to diff
Files will diff
The RHN Satellite 4.x and RHN Proxy 4.x products have reached their end of life. Please see:
Satellite 4 EOL Errata
RHN Proxy 4 EOL Errata
This bugzilla was reported for a product which is no longer supported. As such we are closing this bugzilla out. If you feel this bug report should be reviewed again since it is valid for a currently supported product version, then please feel free to re-open this bug report.