Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2009812

Summary: namespace in controller-manager-alerts-monitor is causing CVP buils to fail
Product: OpenShift Container Platform Reporter: Carlos Eduardo Arango Gutierrez <carangog>
Component: Node Feature Discovery OperatorAssignee: Carlos Eduardo Arango Gutierrez <carangog>
Status: CLOSED ERRATA QA Contact: Lena Horsley <lhorsley>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: aos-bugs, lhorsley, sejug
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 15:56:48 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:
Bug Depends On:    
Bug Blocks: 2009828    

Description Carlos Eduardo Arango Gutierrez 2021-10-01 16:44:55 UTC
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  labels:
    role: alert-rules
  name: controller-manager-alerts-monitor
spec:
  groups:
  - name: node-feature-discovery-operator.rules
    rules:
    - alert: NFDDegraded
      annotations:
        message: |
          The Node Feature Discovery Operator is degraded. Review the "NodeFeatureDiscovery" CustomResource object for further details.
      expr: nfd_degraded_info == 1
      for: 1h
      labels:
        severity: warning
https://github.com/openshift/cluster-nfd-operator/blob/6da1f491fcf72e710ef36ef1686[…]ger-alerts-monitor_monitoring.coreos.com_v1_prometheusrule.yaml
Greenwave CVP test is complaining about it, and I have no idea how to make it happy:
Error: Value controller-manager-alerts-monitor: error validating object: metadata.namespace: Forbidden: not allowed on this type.
http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation[…]erator-metadata-linting-bundle-image-output.txt

Comment 2 Lena Horsley 2021-10-05 18:15:27 UTC
Build tested: 4.10.0-0.nightly-2021-10-04-213416

Verified with the following tests:
1. Create/deploy bundle, install create NFD instance.
2. Check the worker node labels
3. Add a worker node and check the labels of the new worker node.
4. Deploy GPU operator (v 1.8.2) and run GPU burn test.
5. Uninstall GPU operator and check the worker node labels.
6. Remove the node and check the worker node labels.
7. Log creation and stability (log file size did not increase over time).
8. Check pods in the openshift-etcd namespace for restarts (there were no restarts).

Comment 5 errata-xmlrpc 2022-03-10 15:56:48 UTC
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.10.3 extras 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/RHBA-2022:0057