Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 851833

Summary: [ovirt-dwh] - ETL - Fails to connect to oVirt Engine Portal
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-dwhAssignee: Yaniv Lavi <ylavi>
Status: CLOSED CURRENTRELEASE QA Contact: David Botzer <dbotzer>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: bazulay, dyasny, iheim, mkenneth, pstehlik, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: SI16 - rhevm-dwh-3.1.0-11.el6ev.noarch.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:58:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dwhd-log
none
server.log
none
engine-log none

Description David Botzer 2012-08-26 08:37:43 UTC
Created attachment 607043 [details]
dwhd-log

Description of problem:
Data is not collected in History DB, due to that ETL Fails to connect to oVirt Engine Portal

Version-Release number of selected component (if applicable):
3.1/si15
rhevm-3.1.0-13
rhevm-dwh-3.1.0-9
rhevm-reports-3.1.0-9
jasperreports-server-pro-4.7.0-1

How reproducible:
Always

Steps to Reproduce:
1.Install rhevm + dwh & reports RPMs
2.Create setup (running VM)
3.wait for couple of minutes & Check the history DB, and DWH log file
4.Change the /etc/ovirt-engine/ovirt-engine-dwh/Default.properties
with the corresponding protocol & Port number & restart dwhd service
e.x
ovirtEnginePortalConnectionProtocol=http / to https
& ovirtEnginePortalPort=80/443 
  
Actual results:
in both cases http/https
1. DWH log files reports - 
"Can not sample data, oVirt Engine Portal is not available"
2. History DB is empty

Expected results:
Should collect data in both http & https

Additional info:
Log file

Comment 1 David Botzer 2012-08-26 08:39:52 UTC
Created attachment 607044 [details]
server.log

Comment 2 David Botzer 2012-08-26 08:40:28 UTC
Created attachment 607045 [details]
engine-log

Comment 3 Itamar Heim 2012-08-26 08:52:37 UTC
juan - iirc you worked on something in this area?

Comment 4 Yaniv Lavi 2012-08-26 09:24:14 UTC
Not a blocker sonce there is a workaround.
Missing truststore for https connection needed.



Yaniv

Comment 6 Yaniv Kaul 2012-08-26 10:24:55 UTC
(In reply to comment #4)
> Not a blocker sonce there is a workaround.

Please specify the workaround.

> Missing truststore for https connection needed.
> 
> 
> 
> Yaniv

Comment 7 Yaniv Lavi 2012-08-26 11:44:38 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > Not a blocker sonce there is a workaround.
> 
> Please specify the workaround.

Go to /usr/share/ovirt-engine-dwh/etl/history_service.sh
change portal connect port to jboss http port.
restart service.

> 
> > Missing truststore for https connection needed.
> > 
> > 
> > 
> > Yaniv

Comment 8 Yaniv Lavi 2012-08-26 12:11:14 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #4)
> > > Not a blocker sonce there is a workaround.
> > 
> > Please specify the workaround.
> 
Correction:
> Go to /etc/ovirt-engine/ovirt-engine-dwh/Default.properties
> change portal connect port to jboss http port.
> restart service.
> 
> > 
> > > Missing truststore for https connection needed.
> > > 
> > > 
> > > 
> > > Yaniv

Comment 9 Yaniv Lavi 2012-08-26 14:31:32 UTC
Fixed in upstream patch;
http://gerrit.ovirt.org/#/c/7469/


Yaniv

Comment 11 David Botzer 2012-08-30 09:56:52 UTC
Fixed, 3.1/si16
Data is gathered correctly, right after setup
Both Local & Remote
Fixed, 3.1/si16