Bug 1866605
| Summary: | No metadata.generation set for build and buildconfig objects | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> |
| Component: | Build | Assignee: | Corey Daley <cdaley> |
| Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | adam.kaplan, aos-bugs, wzheng |
| Target Milestone: | --- | ||
| Target Release: | 4.7.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: | 2021-02-24 15:15:21 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: | |||
Downgrading this to low priority. This issue has probably existed for a long time, and has no impact on the execution of builds. Generation is a standard metadata field and should monotonically increment with changes to `spec`. Verified with 4.7.0-0.nightly-2020-11-05-010603
openshift_build_metadata_generation_info{build="openshift-jee-sample-1",buildconfig="openshift-jee-sample",container="kube-rbac-proxy-main",endpoint="https-main",instance="10.131.0.7:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-696b5dd9df-6kcb2",service="openshift-state-metrics",strategy="jenkinspipeline"} 1
openshift_build_metadata_generation_info{build="openshift-jee-sample-docker-1",buildconfig="openshift-jee-sample-docker",container="kube-rbac-proxy-main",endpoint="https-main",instance="10.131.0.7:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-696b5dd9df-6kcb2",service="openshift-state-metrics",strategy="docker"} 2
openshift_build_metadata_generation_info{build="ruby-hello-world-1",buildconfig="ruby-hello-world",container="kube-rbac-proxy-main",endpoint="https-main",instance="10.131.0.7:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-696b5dd9df-6kcb2",service="openshift-state-metrics",strategy="source"} 2
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633 |
Description of problem: When check openshift_build_metadata_generation_info metric, no metadata.generation set for the build and buildconfig. Version-Release number of selected component (if applicable): 4.6.0-0.nightly-2020-08-03-225825 How reproducible: always Steps to Reproduce: 1.Trigger some builds 2.Check openshift_build_metadata_generation_info metric on metrics page of openshift console 3. Actual results: the metadata_generation_info is zero openshift_build_metadata_generation_info{build="dancer-mysql-example-1",buildconfig="dancer-mysql-example",endpoint="https-main",instance="10.128.2.6:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-654ddc567f-zd642",service="openshift-state-metrics",strategy="source"} 0 openshift_build_metadata_generation_info{build="openshift-jee-sample-1",buildconfig="openshift-jee-sample",endpoint="https-main",instance="10.128.2.6:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-654ddc567f-zd642",service="openshift-state-metrics",strategy="jenkinspipeline"} 0 openshift_build_metadata_generation_info{build="openshift-jee-sample-docker-1",buildconfig="openshift-jee-sample-docker",endpoint="https-main",instance="10.128.2.6:8443",job="openshift-state-metrics",namespace="xiuwang",pod="openshift-state-metrics-654ddc567f-zd642",service="openshift-state-metrics",strategy="docker"} 0 Expected results: Should set metadata.generation set for build and buildconfig objects Additional info: