Version: OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="registry.svc.ci.openshift.org/ocp/release:4.5.0-0.ci-2020-04-20-144713" Description of problem: [root@jcallen-fvfnt-worker-cfpdw ~]# journalctl -fu nodeip-configuration -- Logs begin at Mon 2020-04-20 15:34:23 UTC. -- Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: Traceback (most recent call last): Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: File "/usr/local/bin/nodeip-finder", line 105, in <module> Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: main() Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: File "/usr/local/bin/nodeip-finder", line 82, in main Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: except (non_virtual_ip.AddressNotFoundException, non_virtual_ip.SubnetNotFoundException): Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw nodeip-finder[1335]: AttributeError: module 'non_virtual_ip' has no attribute 'AddressNotFoundException' Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw systemd[1]: nodeip-configuration.service: Main process exited, code=exited, status=1/FAILURE Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw systemd[1]: nodeip-configuration.service: Failed with result 'exit-code'. Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw systemd[1]: Failed to start Writes IP address configuration so that kubelet and crio services select a valid node IP. Apr 20 15:37:33 jcallen-fvfnt-worker-cfpdw systemd[1]: nodeip-configuration.service: Consumed 78ms CPU time https://github.com/openshift/machine-config-operator/blob/master/templates/worker/00-worker/vsphere/files/vsphere-non-virtual-ip.yaml https://github.com/openshift/machine-config-operator/blob/master/templates/common/vsphere/units/nodeip-configuration.yaml
This file should no longer exist: https://github.com/openshift/machine-config-operator/blob/master/templates/worker/00-worker/vsphere/files/vsphere-non-virtual-ip.yaml It should only exist in common: https://github.com/openshift/machine-config-operator/tree/master/templates/master/00-master/vsphere/files See baremetal: https://github.com/openshift/machine-config-operator/tree/master/templates/worker/00-worker/baremetal/files https://github.com/openshift/machine-config-operator/tree/master/templates/common/baremetal/files
Updated: It should only exist in common: https://github.com/openshift/machine-config-operator/blob/master/templates/common/vsphere/files/vsphere-non-virtual-ip.yaml
Review this PR as well. Maybe this should be changed at some point as well https://github.com/openshift/machine-config-operator/pull/1659
The issue is reproduced on QE side when manually install vsphere ipi with nightly load 4.5.0-0.nightly-2020-04-20-224257 $ sudo journalctl -u nodeip-configuration.service -- Logs begin at Tue 2020-04-21 00:27:01 UTC, end at Tue 2020-04-21 00:54:47 UTC. -- Apr 21 00:28:47 jimaipi-g8bhw-worker-dlk78 systemd[1]: Starting Writes IP address configuration so that kubelet and crio services select a valid node IP... Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: Processing CustomAction for target Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: parser = 140010777447112 Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: values = '136.144.52.198' Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: option_string = None Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: Traceback (most recent call last): Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: File "/usr/local/bin/nodeip-finder", line 79, in main Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: first: non_virtual_ip.Address = first_candidate_addr(args.target) Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: File "/usr/local/bin/nodeip-finder", line 32, in first_candidate_addr Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: non_virtual_ip.non_deprecated, Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: AttributeError: module 'non_virtual_ip' has no attribute 'non_deprecated' Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: During handling of the above exception, another exception occurred: Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: Traceback (most recent call last): Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: File "/usr/local/bin/nodeip-finder", line 105, in <module> Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: main() Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: File "/usr/local/bin/nodeip-finder", line 82, in main Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: except (non_virtual_ip.AddressNotFoundException, non_virtual_ip.SubnetNotFoundException): Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 nodeip-finder[1602]: AttributeError: module 'non_virtual_ip' has no attribute 'AddressNotFoundException' Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 systemd[1]: nodeip-configuration.service: Main process exited, code=exited, status=1/FAILURE Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 systemd[1]: nodeip-configuration.service: Failed with result 'exit-code'. Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 systemd[1]: Failed to start Writes IP address configuration so that kubelet and crio services select a valid node IP. Apr 21 00:28:48 jimaipi-g8bhw-worker-dlk78 systemd[1]: nodeip-configuration.service: Consumed 109ms CPU time
The issue is verified on nightly build 4.5.0-0.nightly-2020-04-25-034022 and passed.
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:2409