Bug 486435

Summary: clicking on configuration URL results in error
Product: [Retired] Dogtag Certificate System Reporter: Ade Lee <alee>
Component: TPSAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: urgent    
Version: unspecifiedCC: alee, benl, jgalipea, jmagne
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 23:32:32 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:    
Bug Blocks: 443788    
Attachments:
Description Flags
screenshot
none
RA diffs
none
TPS diffs none

Description Ade Lee 2009-02-19 18:30:46 UTC
Created attachment 332607 [details]
screenshot

Description of problem:

After a TPS is installed, the configuration URL is clicked.  This results in the error shown in the screen capture.

The error_log shows the following error:

[Thu Feb 19 12:08:38 2009] Login.pm: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] Login.pm: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:38 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: print() on closed filehandle DEBUG at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 144.
[Thu Feb 19 12:08:39 2009] -e: Use of uninitialized value in string eq at /var/lib/pki-tps8/lib/perl/PKI/TPS/Login.pm line 392.
[Thu Feb 19 12:08:39 2009] [error] [client 10.11.12.54] Handler for perl-script returned invalid result code 1

Entering the code manually works - but this should not have to be the case.
The last change to Login.pl file was made by mharmsen.

r225 | mharmsen | 2009-02-12 13:35:32 -0500 (Thu, 12 Feb 2009) | 2 lines
Bugzilla Bug #467155 -  Change "renameTo" to "cp -p ".


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ade Lee 2009-02-20 02:06:21 UTC
The RA fails to install completely -- probably as a result of this change.

We see the same error - but this time the RA does not accept the manually entered pin.

Comment 2 Matthew Harmsen 2009-02-23 23:21:53 UTC
Created attachment 332985 [details]
RA diffs

Comment 3 Matthew Harmsen 2009-02-23 23:22:36 UTC
Created attachment 332986 [details]
TPS diffs

Comment 4 Jack Magne 2009-02-23 23:31:02 UTC
Attachements (id=332985,id=332986) +jmagne.

Comment 5 Matthew Harmsen 2009-02-24 00:23:11 UTC
% svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^?
M      dogtag/ra/pki-ra.spec
M      dogtag/tps/pki-tps.spec
M      base/ra/lib/perl/PKI/RA/wizard.pm
M      base/ra/lib/perl/PKI/RA/Login.pm
M      base/tps/lib/perl/PKI/TPS/wizard.pm
M      base/tps/lib/perl/PKI/TPS/Login.pm

% svn commit
Sending        base/ra/lib/perl/PKI/RA/Login.pm
Sending        base/ra/lib/perl/PKI/RA/wizard.pm
Sending        base/tps/lib/perl/PKI/TPS/Login.pm
Sending        base/tps/lib/perl/PKI/TPS/wizard.pm
Sending        dogtag/ra/pki-ra.spec
Sending        dogtag/tps/pki-tps.spec
Transmitting file data ......
Committed revision 239.

Comment 6 Jenny Severance 2009-05-28 20:29:08 UTC
Accessing configuration by using provided URL after installation is successful with RHCS.  

closing bug verified.