Bug 203240 - Configfiles.py diff config channel files fails, format_file_str
Summary: Configfiles.py diff config channel files fails, format_file_str
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 400
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Clifford Perry
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2006-08-19 18:23 UTC by Steven Warfield
Modified: 2011-01-05 22:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-05 22:29:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steven Warfield 2006-08-19 18:23:58 UTC
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 ?
   handle_action(action)
 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,
create_key_list()), str(extras)))
 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

How reproducible:

Very

Steps to Reproduce:
1. Kickstart a machine rhel 3 u6
2. Schedule a diff
3. rhn_check
  
Actual results:

Files fail to diff

Expected results:
 
Files will diff

Additional info:

Comment 2 Clifford Perry 2011-01-05 22:29:54 UTC
The RHN Satellite 4.x and RHN Proxy 4.x products have reached their end of life. Please see:

Satellite 4 EOL Errata
 - https://rhn.redhat.com/errata/RHSA-2011-0001.html

RHN Proxy 4 EOL Errata
 - https://rhn.redhat.com/errata/RHSA-2011-0002.html

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. 

Regards,
Clifford


Note You need to log in before you can comment on or make changes to this bug.