Bug 1300245 - hosted-engine setup proposes as a default to use all the available RAM for the engine VM also if bigger than the value in the appliance OVF
Summary: hosted-engine setup proposes as a default to use all the available RAM for th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Plugins.General
Version: 1.3.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.3
: 1.3.3.1
Assignee: Rafael Martins
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1305885
TreeView+ depends on / blocked
 
Reported: 2016-01-20 10:44 UTC by Simone Tiraboschi
Modified: 2016-02-18 11:22 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:22:33 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: exception+
ylavi: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 52525 0 master MERGED packaging: setup: ensure that memory is always stored as integer 2016-01-22 09:55:55 UTC
oVirt gerrit 52593 0 ovirt-hosted-engine-setup-1.3 MERGED packaging: setup: ensure that memory is always stored as integer 2016-02-02 16:24:16 UTC

Description Simone Tiraboschi 2016-01-20 10:44:23 UTC
Description of problem:
hosted-engine setup proposes as a default to use all the available RAM for the engine VM also if bigger than the value in the appliance OVF.

Example:
256 GB host, 16 GB recommended in the engine-appliance OVF:
Please specify the memory size of the VM in MB [Defaults to maximum available: 255067]: 


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

How reproducible:
100%

Steps to Reproduce:
1. hosted-engine --deploy on a system with more than 16GB of RAM
2.
3.

Actual results:
Please specify the memory size of the VM in MB [Defaults to maximum available: 255067]: 

Expected results:
Please specify the memory size of the VM in MB [Defaults to appliance OVF value: 16384]: 

Additional info:

Probably is the result of a string vs integer comparison.
Please ensure that we are always handling it as an integer (also if the user enters a custom value and we gather it via dialog.queryEnvKey )

Comment 1 Artyom 2016-02-17 13:20:40 UTC
Verified on ovirt-hosted-engine-setup-1.3.3.3-1.el7ev.noarch


Note You need to log in before you can comment on or make changes to this bug.