Bug 1828965 - Squashing some of the 99_openshift-machineconfig_99-master-ssh.yaml errors in logs
Summary: Squashing some of the 99_openshift-machineconfig_99-master-ssh.yaml errors in...
Keywords:
Status: CLOSED DUPLICATE of bug 1816178
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Antonio Murdaca
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-28 16:42 UTC by rlopez
Modified: 2020-04-28 21:36 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 21:36:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description rlopez 2020-04-28 16:42:56 UTC
Description of problem:

Currently when running an IPI on Baremetal deployment, when the installer creates the bootstrap VM, via the command journalctl -f -u bootkube.service will show every second an error similar to:

Apr 24 18:52:05 localhost bootkube.sh[3385]: "99_openshift-machineconfig_99-master-ssh.yaml": unable to get REST mapping for "99_openshift-machineconfig_99-master-ssh.yaml": no matches for kind "MachineConfig" in version "machineconfiguration.openshift.io/v1"

This keeps polling forever until the master nodes are up and get the MCO. It is not necessarily an error but to the untrained eye it can seem like an error. Instead it be great if either these errors were shown only after a given period of time, or during some point of the install were checking for this would indeed be warranted. 


How reproducible: 100% , in versions 4.3 and above

Steps to Reproduce:
1. Install IPI on BM
2. Log into the bootstrap VM
3. Check out the bootstrap VM bootkube.service journalctl

Actual results:
Flooding of 

"99_openshift-machineconfig_99-master-ssh.yaml": unable to get REST mapping for "99_openshift-machineconfig_99-master-ssh.yaml": no matches for kind "MachineConfig" in version "machineconfiguration.openshift.io/v1"

making it harder to see if anything else is happening or of concern. 

Expected results:

Only poll periodically or trigger something in the installer of when this indeed should be checked.


Note You need to log in before you can comment on or make changes to this bug.