Description of problem: When looking at a must-gather, BareMetalHost records are not collected. Either in the new SLO, or in MAO, we need to add these as relatedObjects so must-gather collects them. See this code in MAO: https://github.com/openshift/machine-api-operator/blob/master/pkg/operator/status.go#L159-L195 Here's the gather script: https://github.com/openshift/must-gather/blob/master/collection-scripts/gather#L24 Version-Release number of selected component (if applicable): 4.5 How reproducible: Always Steps to Reproduce: 1. oc adm must-gather Actual results: No baremetalhosts are in the gather data Expected results: baremetalhost CR's should be in the openshift-machine-api namespace Additional info:
I hope it's okay I took over this issue. Submitted a PR: https://github.com/openshift/machine-api-operator/pull/630
PR was merged
I checked must-gather and BareMetalHost records are collected. [kni@provisionhost-0-0 openshift-machine-api]$ ls apps autoscaling build.openshift.io image.openshift.io metal3.io openshift-machine-api.yaml rbac.authorization.k8s.io apps.openshift.io batch core machine.openshift.io monitoring.coreos.com pods route.openshift.io [kni@provisionhost-0-0 openshift-machine-api]$ cd metal3.io/ [kni@provisionhost-0-0 metal3.io]$ cd baremetalhosts/ [kni@provisionhost-0-0 baremetalhosts]$ ls openshift-master-0-0.yaml openshift-master-0-1.yaml openshift-master-0-2.yaml openshift-worker-0-0.yaml openshift-worker-0-1.yaml [kni@provisionhost-0-0 baremetalhosts]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-08-16-072105 True False 18h Cluster version is 4.6.0-0.nightly-2020-08-16-072105
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 (OpenShift Container Platform 4.6 GA Images), 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:4196