Bug 2105331
Summary: | install-config: Strict unmarshalling conflicts with new fields | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | Installer | Assignee: | Aditya Narayanaswamy <anarayan> |
Installer sub component: | openshift-installer | QA Contact: | Shaowen Zhang <shaozhan> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | abutcher, anarayan, efried |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-28 20:48:56 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: | 2098299 | ||
Bug Blocks: |
Comment 4
Shaowen Zhang
2022-11-17 14:40:36 UTC
(In reply to Shaowen Zhang from comment #4) > Tested against serval unknown fields in install-config.yaml,the installation > process can be successfully executed, and the cluster is successfully > installed. > > OCP Version 4.12.0-0.nightly-2022-07-27-133042 > > > tested with following config: > > additionalTrustBundlePolicy: Proxyonly > apiVersion: v1 > baseDomain: devcluster.openshift.com > compute: > - architecture: amd64 > hyperthreading: Enabled > name: worker > platform: > aws: > type1: aaa > rootVolume: > aaaa: 123 > replicas: 3 > controlPlane: > architecture: amd64 > hyperthreading: Enabled > name: master > platform: > aws: > type1: aaa > rootVolume1: > aaaa: 123 > replicas: 3 > metadata: > creationTimestamp: null > name: shaozhant1117 > networking: > clusterNetwork: > - cidr: 10.128.0.0/14 > hostPrefix: 23 > machineNetwork: > - cidr: 10.0.0.0/16 > networkType: OpenShiftSDN > a: > b: 123 > serviceNetwork: > - 172.30.0.0/16 > platform: > aws: > region: us-east-1 > publish: External > metadataService: {} > > > output: > > WARNING failed to parse first occurence of unknown field: failed to > unmarshal install-config.yaml: error unmarshaling JSON: while decoding JSON: > json: unknown field "additionalTrustBundlePolicy" > INFO Attempting to unmarshal while ignoring unknown keys because strict > unmarshaling failed > INFO Credentials loaded from the "default" profile in file > "/root/.aws/credentials" > WARNING failed to find default instance type: no instance type found for the > zone constraint > WARNING failed to find default instance type: no instance type found for the > zone constraint > INFO Consuming Install Config from target directory > INFO Creating infrastructure resources... The OCP version in the last comment is incorrectly. The correct OCP version that has been tested is 4.11.0-0.nightly-2022-11-15-121935. The status has been moved to VERIFIED. 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 (OpenShift Container Platform 4.11.17 bug fix 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/RHBA-2022:8627 |