Bug 703384

Summary: Error when using the web UI to compare the differences between a file revision when SELinux is disabled in RHEL6
Product: Red Hat Satellite 5 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: Docs Release NotesAssignee: Lana Brindley <lbrindle>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 541CC: cperry, liko, mhideo, mmello, msuchy, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected. Revision 0-4
Story Points: ---
Clone Of: 688461 Environment:
Last Closed: 2011-06-16 22:34:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 688461, 690238    
Bug Blocks: 677505    

Comment 1 Lana Brindley 2011-06-06 20:38:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: Under RHEL6, with SELinux disabled, using the web UI to compare the differences between a revision file.

Consequence: lgetfilecon was throwing an exception, and the following error was displayed: 
This action's status is: Failed.
The client picked up this action on <date> <time>.
The client completed this action on <date> <time>.
Client execution returned "Fatal error in Python code occurred [[6]]" (code -1)

Fix: The exception is now handled quietly, and the task allowed to complete.

Result: Instead of the error, the user now sees:
After applied the patch, we are now able to compare files using the web UI: 

This action's status is: Completed.
The client picked up this action on <date> <time>.
The client completed this action on <date> <time>.
Client execution returned "Files successfully diffed" (code 0)
Config Files:
/etc/test-case-00413111 (rev. 1) Differences exist

Comment 2 Lana Brindley 2011-06-07 18:26:44 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -16,4 +16,6 @@
 The client completed this action on <date> <time>.
 Client execution returned "Files successfully diffed" (code 0)
 Config Files:
-/etc/test-case-00413111 (rev. 1) Differences exist+/etc/test-case-00413111 (rev. 1) Differences exist
+
+Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.

Comment 3 Lana Brindley 2011-06-07 18:36:24 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,21 +1,3 @@
-Cause: Under RHEL6, with SELinux disabled, using the web UI to compare the differences between a revision file.
+Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.
 
-Consequence: lgetfilecon was throwing an exception, and the following error was displayed: 
+Revision 0-4-This action's status is: Failed.
-The client picked up this action on <date> <time>.
-The client completed this action on <date> <time>.
-Client execution returned "Fatal error in Python code occurred [[6]]" (code -1)
-
-Fix: The exception is now handled quietly, and the task allowed to complete.
-
-Result: Instead of the error, the user now sees:
-After applied the patch, we are now able to compare files using the web UI: 
-
-This action's status is: Completed.
-The client picked up this action on <date> <time>.
-The client completed this action on <date> <time>.
-Client execution returned "Files successfully diffed" (code 0)
-Config Files:
-/etc/test-case-00413111 (rev. 1) Differences exist
-
-Under &RHEL; 6 with SELinux disabled, using the web UI to compare the differences between a revision file would cause  the lgetfilecon function to throw an exception and display a fatal error. The exception is now handled quietly, and the task allowed to complete as expected.

Comment 4 Lana Brindley 2011-06-16 22:34:37 UTC
5.4.1 Satellite books are now available on docs.redhat.com. Please raise a new
bug for any issues.

LKB