Bug 203240 - Configfiles.py diff config channel files fails, format_file_str
Configfiles.py diff config channel files fails, format_file_str
Status: CLOSED WONTFIX
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server (Show other bugs)
400
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Clifford Perry
Red Hat Satellite QA List
:
Depends On:
Blocks: 462714
  Show dependency treegraph
 
Reported: 2006-08-19 14:23 EDT by Steven Warfield
Modified: 2011-01-05 17:29 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-05 17:29:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steven Warfield 2006-08-19 14:23:58 EDT
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 17:29:54 EST
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.