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

Bug 1283141

Summary: [node] hosted-engine-setup will not ask about appliance memory if the appliance OVA path is passed via answerfile
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: Plugins.GeneralAssignee: Rafael Martins <rmartins>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3.1CC: bmcclain, bugs, didi, fdeutsch, gklein, lveyde, mavital, rmartins, sbonazzo, stirabos
Target Milestone: ovirt-3.6.1Keywords: Triaged
Target Release: 1.3.1Flags: rule-engine: ovirt-3.6.z+
bmcclain: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 12:22:04 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:
Bug Depends On:    
Bug Blocks: 1284979    

Description Simone Tiraboschi 2015-11-18 11:20:23 UTC
Description of problem:
hosted-engine-setup will not ask about appliance memory if the appliance OVA path is passed via answerfile.

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


How reproducible:


Steps to Reproduce:
1. deploy hosted-engine using the engine appliance
2. pass the engine appliance OVA path via answerfile
3. avoid putting the appliance memory in the answerfile

Actual results:
It will just use the appliance value without asking

Expected results:
If the memory value is not in the answerfile it will ask

Additional info:
https://gerrit.ovirt.org/#/c/47028/ is implicitly solving this.

Comment 1 Artyom 2015-12-08 09:57:12 UTC
Verified on ovirt-hosted-engine-setup-1.3.1.1-1.el7ev.noarch
run: hosted-engine --deploy --config-append=answers-20151206104826.conf
when answer file looks:
[environment:default]
OVEHOSTED_CORE/screenProceed=bool:True
OVEHOSTED_CORE/deployProceed=bool:True
OVEHOSTED_CORE/confirmSettings=bool:True
OVEHOSTED_NETWORK/bridgeName=str:ovirtmgmt
OVEHOSTED_NETWORK/firewallManager=str:iptables
OVEHOSTED_STORAGE/storageDatacenterName=str:hosted_datacenter
OVEHOSTED_STORAGE/domainType=str:nfs3
OVEHOSTED_STORAGE/imgAlias=str:hosted_engine
OVEHOSTED_STORAGE/storageDomainName=str:hosted_storage
OVEHOSTED_VDSM/consoleType=str:vnc
OVEHOSTED_VM/vmMACAddr=str:00:16:3E:14:E7:A2
OVEHOSTED_VM/vmBoot=str:disk
OVEHOSTED_VM/ovfArchive=str:/usr/share/ovirt-engine-appliance/rhevm-appliance-20151119.0-1.el7ev.ova
OVEHOSTED_NOTIF/smtpPort=str:25
OVEHOSTED_NOTIF/smtpServer=str:localhost
OVEHOSTED_NOTIF/sourceEmail=str:root@localhost
OVEHOSTED_NOTIF/destEmail=str:root@localhost

deployment ask for vm memory:
Please specify the memory size of the VM in MB [Defaults to maximum available: 14979]: 4096

Comment 2 Sandro Bonazzola 2015-12-16 12:22:04 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.