Bug 2001008
Summary: | [MachineSets] CloneMode defaults to linkedClone, but I don't have snapshot and should be fullClone | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Felipe Campos <felipecampos> |
Component: | Cloud Compute | Assignee: | dmoiseev |
Cloud Compute sub component: | Other Providers | QA Contact: | sunzhaohua <zhsun> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | felipecampos |
Version: | 4.8 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, if vm template had a snapshots - incorrect disk size was picked due to incorrect usage of linkedClone in this case. Default clone mode was changed to fullClone for all situations, linkedClone need to be explicitly specified in provider spec by user.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:07:08 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: |
Description
Felipe Campos
2021-09-03 14:24:39 UTC
I reproduced this. linkedClone will be engaged in case if template have snapshots or existing Snapshot is defined in providerSpec. To reproduce: - install ocp cluster - make a snapshot of vm template - delete machine New machine will be created with 16GiB disk, value from provider spec will be ignored. Verified Reproduced in 4.8.9, New machine will be created with 16GiB disk, value from provider spec will be ignored. Verified in clusterversion: 4.10.0-0.nightly-2022-01-09-195852 Steps: - install ocp cluster - update diskGib: oc edit machineset zhsun410-gwvp9-worker providerSpec: value: apiVersion: vsphereprovider.openshift.io/v1beta1 diskGiB: 200 - make a snapshot of vm template - delete machine New machine will be created with updated diskGiB. 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056 |