Bug 1064827

Summary: ssl2jkstrust.py does not get root ca from chain in some cases
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engine-reportsAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED ERRATA QA Contact: Barak Dagan <bdagan>
Severity: high Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, adahms, alonbl, bazulay, emesika, iheim, ngupta, pablo.iranzo, pstehlik, Rhev-m-bugs, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.3.2   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: is35 - rhevm-reports-3.3.2-1.el6ev.noarch.rpm Doc Type: Bug Fix
Doc Text:
Previously, the rhevm-reports-setup command would sometimes fail to establish PKI trust the machine on which the Red Hat Enterprise Virutalization Manager was installed, causing the command to fail. Now, the method of retrieving the root certificate authority certificate from the SSL session has been revised to support a greater variety of SSL configurations.
Story Points: ---
Clone Of: 1058016 Environment:
Last Closed: 2014-04-09 18:53: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:
Bug Depends On: 1058016    
Bug Blocks:    

Comment 6 Barak Dagan 2014-03-23 10:24:40 UTC
Verified on is35, 3.3.2, on system updated from 3.2:

# rpm -qa | egrep 'rhevm-3|dwh|reports'
rhevm-3.3.2-0.49.el6ev.noarch
rhevm-dwh-3.3.2-1.el6ev.noarch
jasperreports-server-pro-5.5.0-6.el6ev.noarch
rhevm-reports-3.3.2-3.el6ev.noarch

2014-03-20 12:38:16::DEBUG::rhevm-reports-setup::912::root:: downloading certificates https://MyHost:443
2014-03-20 12:38:16::DEBUG::common_utils::1024::root:: Executing command --> '/usr/share/ovirt-engine-reports/ssl2jkstrust.py --host=fire32-rep.scl.lab.tlv.redhat.com --port=443 --keystore=/etc/ovirt-engine/ovirt-engine-reports/trust.jks --storepass=mypass' in working directory '/etc/yum.repos.d'
2014-03-20 12:38:17::DEBUG::common_utils::1079::root:: output =
2014-03-20 12:38:17::DEBUG::common_utils::1080::root:: stderr = Certificate was added to keystore

Comment 7 Zac Dover 2014-04-03 03:10:22 UTC
This bug is currently attached to errata RHBA-2014:17207 If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.

* Consequence: What happens when the bug presents.

* Fix: What was done to fix the bug.

* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks in advance.

Comment 9 errata-xmlrpc 2014-04-09 18:53:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0393.html