Bug 1871210 - The metering and reporting operator are missing the `summary` label which fails the inherited_labels CVP check
Summary: The metering and reporting operator are missing the `summary` label which fai...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Metering Operator
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: tflannag
QA Contact: Peter Ruan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-21 15:39 UTC by tflannag
Modified: 2020-10-27 15:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 15:10:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kube-reporting metering-operator pull 1378 0 None closed Bug 1871210: Add the required summary label to pass CVP checks. 2020-09-24 22:49:10 UTC
Red Hat Product Errata RHBA-2020:4198 0 None None None 2020-10-27 15:12:33 UTC

Description tflannag 2020-08-21 15:39:28 UTC
Description of problem:
We've recently been getting hit with CVP check failures, where the inherited_labels verification check is reporting a FAIL-ed status:
```
inherited_labels	FAIL	Check if optional labels provided with 'labels_list' argument, are only inherited	Optional labels are only inherited	N/A
```

If we dig deeper, we get the following log message indicating that we need to set the `summary` label in the parent Dockerfile:
```
        {
            "name": "inherited_labels",
            "ok": false,
            "status": "FAIL",
            "description": "Check if optional labels provided with 'labels_list' argument, are only inherited",
            "message": "Optional labels are only inherited",
            "reference_url": "?????",
            "logs": [
                "optional label inherited: summary"
            ]
        },
```

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Peter Ruan 2020-09-28 23:57:28 UTC
verified with 4.6.0-0.nightly-2020-09-28-061045

1. oc rsh into a master (ex. oc debug node/ip-10-0-154-145.us-west-1.compute.internal)
2. podman pull the image out
3. podman inspect <IMAGE_ID>

The maintainer email has been updated per kube-reporting/metering-operator/pull/1378
"maintainer": "\u003cmetering-team\u003e",

Comment 5 errata-xmlrpc 2020-10-27 15:10:23 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.6.1 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-2020:4198


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