Bug 2056460
| Summary: | Implement preallocated disks for oVirt in the OCP installer | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Janos Bonic <jpasztor> |
| Component: | Installer | Assignee: | Janos Bonic <jpasztor> |
| Installer sub component: | OpenShift on RHV | 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: | 2056454 | ||
| Bug Blocks: | 2035334 | ||
|
Description
Janos Bonic
2022-02-21 10:01:10 UTC
Verified by testing these three configurations:
Configuration 1
This installation should be performed without modifications to the install config. The flags on the control plane nodes should be:
cloned
sparse provisioned
QCOW2 format
Configuration 2
In this configuration we preallocate disks and the following configuration should be used.
controlPlane:
platform:
ovirt:
clone: true
sparse: false
format: raw
compute:
platform:
ovirt:
clone: true
sparse: false
format: raw
Configuration 3
controlPlane:
platform:
ovirt:
clone: false
sparse: true
format: cow
compute:
platform:
ovirt:
clone: false
sparse: true
format: cow
OCP version: 4.11.0-0.nightly-2022-05-18-053037
Platform: RHV 4.5.0.6-0.7.el8ev
IPI
Steps:
Configuration 1:
1. Created new install-config using Openshift installer.
2. Ran Openshift installation using unmodified install-config
3. Verified relevant flags on control plane and worker nodes as follows:
Masters:
- Disk format
Expected: cow
Actual: cow
- Sparseness
Expected: true (thin provision)
Actual: true (thin provision)
- Cloned from the template
Expected: true (Clone/Independent)
Actual: true (Clone/Independent)
Workers:
- Disk format
Expected: cow
Actual: cow
- Sparseness
Expected: true (thin provision)
Actual: true (thin provision)
- Cloned from the template
Expected: true (Clone/Independent)
Actual: true (Clone/Independent)
Configuration 2:
1. Modified install-config as outlined above.
2. Ran Openshift installation using modified install-config
3. Verified relevant flags on control plane and worker nodes as follows:
Masters:
- Disk format
Expected: raw
Actual: raw
- Sparseness
Expected: false (preallocated)
Actual: false (preallocated)
- Cloned from the template
Expected: true (Clone/Independent)
Actual: true (Clone/Independent)
Workers:
- Disk format
Expected: raw
Actual: raw
- Sparseness
Expected: false (preallocated)
Actual: false (preallocated)
- Cloned from the template
Expected: true (Clone/Independent)
Actual: true (Clone/Independent)
Configuration 3:
1. Modified install-config as outlined above.
2. Ran Openshift installation using modified install-config
3. Verified relevant flags on control plane and worker nodes as follows:
Masters:
- Disk format
Expected: cow
Actual: cow
- Sparseness
Expected: true (thin provision)
Actual: true (thin provision)
- Cloned from the template
Expected: false (Thin/Dependent)
Actual: false (Thin/Dependent)
Workers:
- Disk format
Expected: cow
Actual: cow
- Sparseness
Expected: true (thin provision)
Actual: true (thin provision)
- Cloned from the template
Expected: false (Thin/Dependent)
Actual: false (Thin/Dependent)
Documentation - new PR https://github.com/openshift/openshift-docs/pull/47085 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 |