Bug 1961844
Summary: | baremetal ClusterOperator installed by CVO does not have relatedObjects | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | sdasu |
Component: | Bare Metal Hardware Provisioning | Assignee: | sdasu |
Bare Metal Hardware Provisioning sub component: | cluster-baremetal-operator | QA Contact: | Eldar Weiss <eweiss> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | aos-bugs, eweiss, tsedovic |
Version: | 4.8 | Keywords: | Reopened, Triaged |
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 10:36:25 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
sdasu
2021-05-18 19:56:39 UTC
Adding the relatedObjects directly to the baremetal ClusterOperator's manifest should take care of this. At this time, it seems unnecessary to back port this fix to older releases. So, the fix is currently only targeted for 4.11. You can look at non-baremetal CI run to see if the "baremetal" ClusterOperator has relatedObjects set. It is not clear from the above output if /home/kni/manifests/0000_31_cluster-baremetal-operator_07_clusteroperator.cr.yaml was indeed extracted from the image. ---------------------------------------------------------------------------------------------------------------------------------------------------- I extracted must-gather.tar from this image : https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.11-e2e-aws/1526797967619526656/. Note that this is a non-baremetal image. Then I proceeded to extract the baremetal ClusterOperator from this image: ------------------------------------------------------------------------------- [sdasu@sdasu Downloads]$ cat quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-5aba938c92897f86ce705a3b38a677e4e8bb4a4e900da50250dc7d977d74e3fb/cluster-scoped-resources/config.openshift.io/clusteroperators/baremetal.yaml --- apiVersion: config.openshift.io/v1 kind: ClusterOperator metadata: annotations: capability.openshift.io/name: baremetal exclude.release.openshift.io/internal-openshift-hosted: "true" include.release.openshift.io/self-managed-high-availability: "true" include.release.openshift.io/single-node-developer: "true" creationTimestamp: "2022-05-18T05:44:10Z" generation: 1 managedFields: - apiVersion: config.openshift.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:capability.openshift.io/name: {} f:exclude.release.openshift.io/internal-openshift-hosted: {} f:include.release.openshift.io/self-managed-high-availability: {} f:include.release.openshift.io/single-node-developer: {} f:ownerReferences: .: {} k:{"uid":"3106ebed-d1da-4d12-bd89-eb3d740ab598"}: {} f:spec: {} manager: Go-http-client operation: Update time: "2022-05-18T05:44:10Z" - apiVersion: config.openshift.io/v1 fieldsType: FieldsV1 fieldsV1: f:status: .: {} f:extension: {} f:relatedObjects: {} manager: Go-http-client operation: Update subresource: status time: "2022-05-18T05:44:10Z" - apiVersion: config.openshift.io/v1 fieldsType: FieldsV1 fieldsV1: f:status: f:conditions: {} f:versions: {} manager: cluster-baremetal-operator operation: Update subresource: status time: "2022-05-18T05:47:03Z" name: baremetal ownerReferences: - apiVersion: config.openshift.io/v1 kind: ClusterVersion name: version uid: 3106ebed-d1da-4d12-bd89-eb3d740ab598 resourceVersion: "8363" uid: 521cffda-afd5-4110-93e2-74ed50211acf spec: {} status: conditions: - lastTransitionTime: "2022-05-18T05:47:03Z" status: "False" type: Progressing - lastTransitionTime: "2022-05-18T05:47:03Z" status: "False" type: Degraded - lastTransitionTime: "2022-05-18T05:47:03Z" message: Operational reason: AsExpected status: "True" type: Available - lastTransitionTime: "2022-05-18T05:47:03Z" status: "True" type: Upgradeable - lastTransitionTime: "2022-05-18T05:47:03Z" message: Nothing to do on this Platform reason: UnsupportedPlatform status: "True" type: Disabled extension: null relatedObjects: - group: "" name: openshift-machine-api resource: namespaces - group: metal3.io name: "" namespace: openshift-machine-api resource: baremetalhosts - group: metal3.io name: "" resource: provisioning - group: metal3.io name: "" namespace: openshift-machine-api resource: hostfirmwaresettings - group: metal3.io name: "" namespace: openshift-machine-api resource: firmwareschemas - group: metal3.io name: "" namespace: openshift-machine-api resource: preprovisioningimages - group: metal3.io name: "" namespace: openshift-machine-api resource: bmceventsubscriptions versions: - name: operator version: 4.11.0-0.nightly-2022-05-18-053037 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069 |