Bug 1829651
Summary: | [4.4] MachineConfig CRD does not define all fields which users might have set in 4.3 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | W. Trevor King <wking> |
Component: | Machine Config Operator | Assignee: | Antonio Murdaca <amurdaca> |
Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4 | CC: | agarcial, amurdaca, bbreard, bparees, hongkliu, imcleod, jhou, jligon, mgugino, mnguyen, nstielau, scuppett, sdodson, skuznets, walters, wking, xtian |
Target Milestone: | --- | Keywords: | Upgrades |
Target Release: | 4.4.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1829138 | Environment: | |
Last Closed: | 2020-05-04 11:50:03 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: | 1829138 | ||
Bug Blocks: |
Description
W. Trevor King
2020-04-30 01:51:48 UTC
Test plan, from Colin in [1]: > Anyone who wants to test this, it should be sufficient to do oc create on this: https://github.com/openshift/release/blob/23b3ddb6b32e8157e9b882172264b8d1b008070c/clusters/build-clusters/01_cluster/machine_config/m5d4x_machineconfig.yaml > > Then, notice the storage/disks field is dropped: > > $ oc describe machineconfig/m5d4x > ... > storage: {} > After this PR merges you should see the storage section from the submitted object. [1]: https://github.com/openshift/machine-config-operator/pull/1698#issuecomment-621572770 Verified in 4.4.0-0.nightly-2020-04-30-051505 Create the machineconfig https://github.com/openshift/release/blob/23b3ddb6b32e8157e9b882172264b8d1b008070c/clusters/build-clusters/01_cluster/machine_config/m5d4x_machineconfig.yaml >, the storage field is not dropped oc describe machineconfig m5d4x Name: m5d4x Namespace: Labels: machineconfiguration.openshift.io/role=worker-m5d4x Annotations: <none> API Version: machineconfiguration.openshift.io/v1 Kind: MachineConfig Metadata: Creation Timestamp: 2020-04-30T06:34:32Z Generation: 1 Resource Version: 23139 Self Link: /apis/machineconfiguration.openshift.io/v1/machineconfigs/m5d4x UID: 878865b9-3117-4328-8564-af43ca5ef337 Spec: Config: Ignition: Version: 2.2.0 Storage: Disks: Device: /dev/nvme1n1 Partitions: Label: containerraid1 Number: 0 Size: 0 Start: 0 Wipe Table: true Device: /dev/nvme2n1 Partitions: Label: containerraid2 Number: 0 Size: 0 Start: 0 Wipe Table: true Filesystems: Mount: Device: /dev/md/containerraid Format: xfs Label: containers Raid: Devices: /dev/disk/by-partlabel/containerraid1 /dev/disk/by-partlabel/containerraid2 Level: stripe Name: containerraid Systemd: Units: Contents: [Mount] What=/dev/md/containerraid Where=/var/lib/containers Type=xfs [Install] WantedBy=local-fs.target Name: var-lib-containers.mount 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:0581 |