Description: agent.iso is created in case of empty or invalid rendezvousIP Here is the content of agent-config.yaml Empty Case: -------------------------------------------- kind: AgentConfig metadata: name: sno-cluster spec: rendezvousIP: -------------------------------------------- Invalid IP Address Case: -------------------------------------------- kind: AgentConfig metadata: name: sno-cluster spec: rendezvousIP: 12121221 -------------------------------------------- How reproducible: always Repro Steps: 1) Get the latest agent-installer and build git clone -b agent-installer https://github.com/openshift/installer.git cd installer/ hack/build.sh 2) Create agent.iso using agent-config and install-config files. Expected: Installer should be thrown an error message something like this: spec.rendezvousIP: Invalid value: “”: rendezvousIP must provide the valid IP address. Actual: Able to create agent.iso image.
All fields in the agent-config are optional, so an empty rendezvousIP is fine. It would be good to check for an invalid IP.
This bug has been verified with registry.ci.openshift.org/ocp/release:4.12.0-0.nightly-2022-10-18-041406 release, its working as expected. Hence moving it to verified.
OCP is no longer using Bugzilla and this bug appears to have been left in an orphaned state. If the bug is still relevant, please open a new issue in the OCPBUGS Jira project: https://issues.redhat.com/projects/OCPBUGS/summary