Bug 1113771

Summary: Upgrade of DWH overwrites Java Heap configuration
Product: Red Hat Enterprise Virtualization Manager Reporter: Scott Herold <sherold>
Component: ovirt-engine-setupAssignee: Yedidyah Bar David <didi>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, bazulay, didi, gklein, iheim, jentrena, Rhev-m-bugs, sbonazzo, sherold, tdosek, yeylon, ylavi
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-05 13:09:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott Herold 2014-06-26 21:46:36 UTC
Description of problem:
Customer has customized the Java Heap configuration of DWH and increased -Xmx form 1GB to 2GB.  During Z-Stream upgrade from RHEV 3.3.2 to 3.3.3 this setting was reverted to the default, and DWH failed to start in a scale environment.


Version-Release number of selected component (if applicable):
3.3.2 to 3.3.3 Upgrade

How reproducible:
100%

Steps to Reproduce:
1.  Upgrade DWH during RHEV-M upgrade
2.  Check Java Heap settings for DWH

Actual results:
Heap reverts to default setting

Expected results:
User-defined heap value is retained across upgrades

Comment 2 Petr Beňas 2014-07-22 12:38:12 UTC
How can one check the Java heap configuration mentioned in comment 0 ?

Comment 3 Yedidyah Bar David 2014-07-22 12:55:56 UTC
(In reply to Petr Beňas from comment #2)
> How can one check the Java heap configuration mentioned in comment 0 ?

Scott - How did they do that? Edited [1]? I do not see any other way. Do we have an article/doc recommending to do that?

[1] /usr/share/ovirt-engine-dwh/etl/history_service.sh

Thanks!

Comment 7 Julio Entrena Perez 2014-10-06 11:29:37 UTC
For reference:

In 3.3: RUN_PROPERTIES="-Xms256M -Xmx1024M" in  /usr/share/ovirt-engine-dwh/history_services.sh

In 3.4: DWH_JVM_ARGS="-Xms256M -Xmx1024M" in a .conf file at /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d directory