Bug 1835795
Summary: | [ovirt] allow template parameters customization (mem/cpu/disk) in the machine | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Roy Golan <rgolan> |
Component: | Installer | Assignee: | Roy Golan <rgolan> |
Installer sub component: | OpenShift on RHV | QA Contact: | Guilherme Santos <gdeolive> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | urgent | CC: | dmoessne, dougsland, gdeolive, jzmeskal, michal.skrivanek, mrhodes, pelauter |
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | 4.4.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: No option to customize the worker/masters machine specifications
Consequence: Users had to customize the RHV/oVirt template prior to installation, and point the installer to that template using an environment variable
Fix: Allow customization of workers/masters by implementing MachinePool for this platform, and exposing it in the install-config.yaml
Result: masters/workers VM instances are created according to the MachinePool details, including cpu/mem/disk/vmType/instanceType.
As a result of now knowing how to handle a different disk size, the default disk size now is 120GB.
|
Story Points: | --- |
Clone Of: | 1820300 | Environment: | |
Last Closed: | 2020-06-02 11:18:33 UTC | Type: | --- |
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: | 1820300, 1835576 | ||
Bug Blocks: |
Comment 1
Jan Zmeskal
2020-05-19 11:34:13 UTC
Verified on: openshift-install-linux-4.4.0-0.nightly-2020-05-24-133612 Steps: 1. created a config file: # openshift-install create --dir install_files/ install_config 2. edited the install-config.yaml setting the following variables with non-default value (XX) (...) controlPlane/compute: name: master/worker platform: ovirt: cpu: cores: XX sockets: XX memoryMB: XX osDisk: sizeGB: XX vmType: high_performance (...) platform: ovirt: api_vip: <ip> dns_vip: <ip> ingress_vip: <ip> ovirt_cluster_id: <id> ovirt_storage_domain_id: <id> ovirt_network_name: ovirtmgmt vnicProfileID: <id> (...) 3. # openshift-install create --dir install_files/ cluster 4. on UI, checked the created machines properties Results: installation successfully finished and non-default properties set on yaml file present on vms *** Bug 1823808 has been marked as a duplicate of this bug. *** Talked to rdlugyhe and we agreed on the removing of "Create VM Template" procedure for 4.4.6. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2310 (In reply to Guilherme Santos from comment #8) > Talked to rdlugyhe and we agreed on the removing of "Create VM Template" > procedure for 4.4.6. Do we then plan instead to document customizing install-config.yaml. Please forgive my ignorance, but I couldn't find and bz reflecting to get this into the docs and I would highly appreciate any hint to it. (In reply to daniel from comment #10) > (In reply to Guilherme Santos from comment #8) > > Talked to rdlugyhe and we agreed on the removing of "Create VM Template" > > procedure for 4.4.6. > > Do we then plan instead to document customizing install-config.yaml. > Please forgive my ignorance, but I couldn't find and bz reflecting to get > this into the docs and I would highly appreciate any hint to it. Yes that will be documented properly. Meanwhile you can use the repo document https://github.com/openshift/installer/blob/5d0b06afb924d7c69c44006c3d299cde8e93a6ad/docs/user/ovirt/customization.md |