Hide Forgot
Description: pre-network-manager-config.service is failed to start 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 install-config and agent-config. 3) Boot the generated ISO on bare metal machine or libvirt Expected: pre-network-manager-config.service should start without any issue. Actual: pre-network-manager-config.service is failed to start. journalctl -u pre-network-manager-config.service -f -- Logs begin at Wed 2022-08-03 15:25:58 UTC. -- Aug 03 15:26:29 localhost systemd[1]: Starting Prepare network manager config content... Aug 03 15:26:29 localhost systemd[1]: pre-network-manager-config.service: Main process exited, code=exited, status=203/EXEC Aug 03 15:26:29 localhost systemd[1]: pre-network-manager-config.service: Failed with result 'exit-code'. Aug 03 15:26:29 localhost systemd[1]: Failed to start Prepare network manager config content.
The pre-network-manager-config.service fails because /usr/local/bin/pre-network-manager-config.sh is missing. The script is missing because staticNetworkConfig isn't being populated when the NMStateConfig is generated from the AgentConfig.