Bug 1825991
Summary: | vsphere ipi: workers fails with nodeip-configuration service | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Joseph Callen <jcallen> |
Component: | Installer | Assignee: | Russell Teague <rteague> |
Installer sub component: | openshift-installer | QA Contact: | jima |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | jima |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The file conflicts with the common template file of the same name (vsphere-non-virtual-ip.yaml) causing the nodeip-configuration service to fail on workers.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:29:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joseph Callen
2020-04-20 16:09:13 UTC
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 |