Description of problem: Currently OVEHOSTED_STORAGE/imgSizeGB is set to 50GB in the file /usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf and due to this HE deployment fails with the error message below. 2017-07-31 16:27:05 WARNING otopi.plugins.gr_he_common.vm.image image._disk_customization:172 Minimum requirements to fit the disk from the appliance OVF not met (required 5 8 GiB) 2017-07-31 16:27:05 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/vm/image.py", line 175, in _disk_customization raise RuntimeError(msg) RuntimeError: Minimum requirements to fit the disk from the appliance OVF not met (required 58 GiB) 2017-07-31 16:27:05 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment customization': Minimum requirements to fit the disk from the applian ce OVF not met (required 58 GiB) Version-Release number of selected component (if applicable): cockpit-ovirt-dashboard-0.10.7-0.0.21.el7ev.noarch How reproducible: Always Steps to Reproduce: 1. Install RHEL7.4 and RHV 4.1.5 2. Configure gluster from cockpit 3. Configure HostedEngine from cockpit with the answer files being passed from gdeploy. Actual results: Hosted engine deployment fails with the error " Minimum requirements to fit the disk from the appliance OVF not met (required 58 GiB)" Expected results: Hosted Engine deployment should pass and for this to happen parameter OVEHOSTED_STORAGE/imgSizeGB has to be removed from the file specified in description so that hosted-engine-setup will ask for this info during deployment and user can provide his input. Additional info:
verified and works fine with build cockpit-ovirt-dashboard-0.10.7-0.0.23.el7ev.noarch. I see that the line OVEHOSTED_STORAGE/imgSizeGB has been removed from the file /usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf. contents of file /usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf: ============================================================================= [root@yarrow ~]# cat /usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf [environment:default] OVEHOSTED_NETWORK/bridgeName=str:ovirtmgmt OVEHOSTED_NETWORK/firewallManager=str: OVEHOSTED_ENGINE/insecureSSL=none:None OVEHOSTED_ENGINE/clusterName=str:Default OVEHOSTED_STORAGE/storageDatacenterName=str:hosted_datacenter OVEHOSTED_STORAGE/domainType=str:glusterfs OVEHOSTED_STORAGE/glusterBrick=none:None OVEHOSTED_STORAGE/LunID=none:None OVEHOSTED_STORAGE/iSCSIPortalIPAddress=none:None OVEHOSTED_STORAGE/iSCSITargetName=none:None OVEHOSTED_STORAGE/glusterProvisionedShareName=str:hosted_engine_glusterfs OVEHOSTED_STORAGE/iSCSIPortalPort=none:None OVEHOSTED_STORAGE/spUUID=str:00000000-0000-0000-0000-000000000000 OVEHOSTED_STORAGE/storageDomainName=str:hosted_storage OVEHOSTED_STORAGE/glusterProvisioningEnabled=bool:False OVEHOSTED_STORAGE/iSCSIPortal=none:None OVEHOSTED_STORAGE/storageType=none:None OVEHOSTED_STORAGE/vgUUID=none:None OVEHOSTED_STORAGE/iSCSIPortalUser=none:None OVEHOSTED_VDSM/consoleType=str:vnc OVEHOSTED_VM/vmCDRom=none:None OVEHOSTED_VM/automateVMShutdown=bool:True OVEHOSTED_NETWORK/firewallManager=str: Specifying the size of the VM disk in GB is being asked during hosted engine deployment. Attaching screenshot for the same.
Created attachment 1312970 [details] screenshot for the size of appliance
/usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf - needs to be edited in earlier versions to remove the OVEHOSTED_STORAGE/imgSizeGB