Bug 2056454

Summary: Implement preallocated disks for oVirt in the cluster API provider
Product: OpenShift Container Platform Reporter: Janos Bonic <jpasztor>
Component: Cloud ComputeAssignee: Janos Bonic <jpasztor>
Cloud Compute sub component: oVirt Provider QA Contact: Veronika Fuxova <vfuxova>
Status: CLOSED ERRATA Docs Contact: Eli Marcus <emarcus>
Severity: high    
Priority: high CC: emarcus, mburman
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:50:27 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: 2035334, 2056460    

Description Janos Bonic 2022-02-21 09:51:36 UTC
As per RFE 2035334, this BZ is tracking the implementation of preallocated disks for the worker nodes only. It is a pre-requisite for implementing the control plane part of the RFE.

This implementation exposes 3 options in the machine set configuration. (See https://docs.openshift.com/container-platform/4.8/machine_management/creating_machinesets/creating-machineset-rhv.html for details.)

- clone: creates virtual machines that are cloned from the template instead of linking it to the original. (Default so far was: false)
- sparse: creates a thin-provisioned disk. (Default so far was: true)
- format: lets users switch disk formats. Can be "raw" or "cow". Raw disks don't support backups, but may be better for sparse provisioning on the underlying storage system. (Default so far was: "cow")

The default machine set is created on installation and can be configured using the install-config. Suggestion for default values in this BZ is welcome. 

Note: the default values will only be applied to newly created install-configs and machine sets, old versions will not be changed. Changing the value on the machine set will not reprovision the worker nodes, but newly created worker nodes will pick up the changes.

Comment 4 Veronika Fuxova 2022-05-25 08:17:36 UTC
Verified by automation.

Comment 6 Veronika Fuxova 2022-05-25 08:24:22 UTC
OCP version: 4.11.0-0.nightly-2022-05-18-053037 
Platform: RHV 4.5.0.6-0.7.el8ev

Comment 8 Eli Marcus 2022-06-27 14:38:59 UTC
New Documentation PR 

https://github.com/openshift/openshift-docs/pull/47113

Comment 9 errata-xmlrpc 2022-08-10 10:50:27 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069