Bug 660565

Summary: cannot send a bug report to Customer Portal when exception occurs during installation
Product: Red Hat Enterprise Linux 6 Reporter: Masahiro Matsuya <mmatsuya>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: akozumpl
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-06 14:13:56 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:

Description Masahiro Matsuya 2010-12-07 06:30:06 UTC
Description of problem:

A customer cannot send a bug report to Customer Portal when exception occurs in anaconda. They saw the following error.

 "Case Creation Failed"
 error: problem: curl_easy_perform: Peer certificate cannot be authenticated with known CA certificates.

Certainly, there is no certificate information in /etc/report.d/RHEL.conf.
When I added "sslcertdata = INSECURE" in /etc/report.d/RHEL.conf, a new case was created properly in Customer Portal. But, I guess that an appropriate certificate for Customer Portal is written in it.

Version-Release number of selected component (if applicable):
RHEL6.0
report-0.18-7.el6
anaconda-13.21.82-1.el6

How reproducible:
Always

Steps to Reproduce:
1. make any exception occur during installation
2. choose Save button in exeception dialog
3. choose Red Hat Global Support as a destination to send the report
4. choose Create Case
5. input login account and password of Customer Protal
  
Actual results:
A new case is not created.

Expected results:
A new case is created.

Additional info:

Comment 1 Gavin Romig-Koch 2010-12-07 14:54:55 UTC
What installation method was used when this was reproduced (DVD, NFS, HTTP, etc)?

Comment 2 Masahiro Matsuya 2010-12-08 01:20:23 UTC
I used http installation.

Comment 3 Gavin Romig-Koch 2011-01-04 20:38:29 UTC
I'm reassigning this to Anaconda.  This code is using libcurl and libssl to communicate with RHT (api.access.redhat.com).  The error message indicates that either libcurl or libssl within the installer can't find the CA certs, or the CA certs don't contain the needed cert for api.access.redhat.com.  This code works fine on installed RHEL6.

Comment 4 Chris Lumens 2011-01-04 20:52:40 UTC
What package and what files in that package contain the certs needed?

Comment 5 Ales Kozumplik 2011-01-05 09:52:09 UTC
This could be a dup of 667122. Masahiro can you retest with libnsspem.so in /usr/lib* directory of the install image? The howto-do-that is described here:

https://bugzilla.redhat.com/show_bug.cgi?id=667122#c8

Thanks.
Ales

Comment 6 Masahiro Matsuya 2011-01-06 12:20:26 UTC
Hi Ales,

I added libnsspem.so into install.img, and I confirmed I could report a bug to Customer Portal without any errors.

Thanks!

Masahiro

Comment 7 Ales Kozumplik 2011-01-06 14:13:56 UTC

*** This bug has been marked as a duplicate of bug 667122 ***

Comment 8 Ales Kozumplik 2011-01-06 14:15:36 UTC
Masahiro,

Thanks for confirming this. The 667122 fix (and thus fix for this bug) is coming soon.