-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
4.14
-
No
-
False
-
Description of problem:
Maybe a new thing in ACM 2.8? Worked fine until I did a new 4.13 hub install (with the GA required components) and started SNO install with existing SiteConfig.
apiVersion: agent-install.openshift.io/v1beta1 kind: InfraEnv metadata: annotations: argocd.argoproj.io/sync-wave: '1' kubectl.kubernetes.io/last-applied-configuration: > {"apiVersion":"agent-install.openshift.io/v1beta1","kind":"InfraEnv","metadata":{"annotations":{"argocd.argoproj.io/sync-wave":"1","ran.openshift.io/ztp-gitops-generated":"{}"},"labels":{"app.kubernetes.io/instance":"clusters"},"name":"cnfdf07","namespace":"cnfdf07"},"spec":{"additionalNTPSources":["2.pool.ntp.org"],"clusterRef":{"name":"cnfdf07","namespace":"cnfdf07"},"nmStateConfigLabelSelector":{"matchLabels":{"nmstate-label":"cnfdf07"}},"pullSecretRef":{"name":"pull-secret"},"sshAuthorizedKey":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDSh3UykcrKbxCRu06WirvMcV9faYhachWducgkXXqe0IF/fb7WxmRprgzVzk91bMyDNSQ+75A5HEviWDV0G28W9R/CCg7RQXsTCrDMIXFfNryMoAE6FIxCw1uRnW3P85oupiwaiF5dIQTxVYWgY7xubLXa3uMzEdPe6Vz/m98+IVTuptQyyFPpN+rgXp7vOCPWZDA0fhcZxYjOudIA5DLPJrytX/NOon7cgk8KtCRGaqQ2CWAAOu5lruRkcJ9EwR85kLw8vlwSQr5UKPV/IO4I5V6j77Blk/+4UoZoNqKyzLrFzPYH3bZ5aP2oNI+SL4COa5H3LQUW/nE09X9ti2bcGsSeUPiDagoh50ZC2o+MwV+Bp0rRedubL10qj3FeI3gp+QbyWP0Ui94pNo4GBV2j2WiJkH4S6sssNxM6pjYeuD6GwiVmW0oAwvluAaTI+yjw3vT9varaXWLRAKe/SnhiUFLXL2bSmPaRsymnpoVw66C5oi3gUj/CVnHL4bOqrHM= root@jumphost2.dfwt5g.lab"}} ran.openshift.io/ztp-gitops-generated: '{}' creationTimestamp: '2023-07-13T20:37:40Z' finalizers: - infraenv.agent-install.openshift.io/ai-deprovision generation: 1 labels: app.kubernetes.io/instance: clusters name: cnfdf07 namespace: cnfdf07 resourceVersion: '116584' uid: 63210487-944b-470c-b0b7-e7b9cd2fe67f spec: additionalNTPSources: - 2.pool.ntp.org clusterRef: name: cnfdf07 namespace: cnfdf07 cpuArchitecture: x86_64 ipxeScriptType: DiscoveryImageAlways nmStateConfigLabelSelector: matchLabels: nmstate-label: cnfdf07 pullSecretRef: name: pull-secret sshAuthorizedKey: >- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDSh3UykcrKbxCRu06WirvMcV9faYhachWducgkXXqe0IF/fb7WxmRprgzVzk91bMyDNSQ+75A5HEviWDV0G28W9R/CCg7RQXsTCrDMIXFfNryMoAE6FIxCw1uRnW3P85oupiwaiF5dIQTxVYWgY7xubLXa3uMzEdPe6Vz/m98+IVTuptQyyFPpN+rgXp7vOCPWZDA0fhcZxYjOudIA5DLPJrytX/NOon7cgk8KtCRGaqQ2CWAAOu5lruRkcJ9EwR85kLw8vlwSQr5UKPV/IO4I5V6j77Blk/+4UoZoNqKyzLrFzPYH3bZ5aP2oNI+SL4COa5H3LQUW/nE09X9ti2bcGsSeUPiDagoh50ZC2o+MwV+Bp0rRedubL10qj3FeI3gp+QbyWP0Ui94pNo4GBV2j2WiJkH4S6sssNxM6pjYeuD6GwiVmW0oAwvluAaTI+yjw3vT9varaXWLRAKe/SnhiUFLXL2bSmPaRsymnpoVw66C5oi3gUj/CVnHL4bOqrHM= root@jumphost2.dfwt5g.lab status: agentLabelSelector: matchLabels: infraenvs.agent-install.openshift.io: cnfdf07 bootArtifacts: initrd: '' ipxeScript: '' kernel: '' rootfs: '' conditions: - lastTransitionTime: '2023-07-13T20:37:40Z' message: "Failed to create image: 1 error occurred:\n\t* failed to validate network yaml for host 0, nmstate GenerateConfiguration failed, error: failed when generating the configuration {\"dns-resolver\":{\"config\":{\"search\":[\"ran.dfwt5g.lab\"],\"server\":[\"192.168.207.9\"]}},\"interfaces\":[{\"ipv4\":{\"address\":[{\"ip\":\"192.168.207.10\",\"prefix-length\":25}],\"enabled\":true},\"ipv6\":{\"enabled\":false},\"macAddress\":\"0c:42:a1:bc:63:e4\",\"name\":\"eno1\",\"state\":\"up\",\"type\":\"ethernet\"}],\"routes\":{\"config\":[{\"destination\":\"0.0.0.0/0\",\"next-hop-address\":\"192.168.207.9\",\"next-hop-interface\":\"eno1\",\"table-id\":254}]}} with rc: 1, err_msg: Invalid YAML string: unknown field `macAddress`, err_kind: InvalidArgument\n\n" reason: ImageCreationError status: 'False' type: ImageCreated debugInfo: eventsURL: ''
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. 4.13.4 hub with the latest ACM components 2. Try a SNO install with ZTP 3. Install will not start (BMH will stay "available") and see error
Actual results:
Expected results:
Install processed
Additional info:
Workaround: change macAddress to mac-address in the interface array
- relates to
-
OCPBUGS-8238 Remove duplicated field macAddress from Siteconfigs
- Closed