Bug 1772694
Summary: | default template for metering report for editor should use v1 instead of v1apha1 | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Peter Ruan <pruan> | |
Component: | Management Console | Assignee: | David Taylor <dtaylor> | |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.3.0 | CC: | aos-bugs, jokerman, yapei | |
Target Milestone: | --- | |||
Target Release: | 4.4.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: |
Feature: Administration -> Chargeback -> Create Reports & Create Report Query templates should use apiVersion `v1` instead of `v1alpha`.
Reason: The resulting report/report-query can still be generated using `v1alpha` but we should use the proper versioning going forward in case support for `v1apha1` is dropped.
Result: Fixed templates to use: 'apiVersion: metering.openshift.io/v1'
|
Story Points: | --- | |
Clone Of: | ||||
: | 1775719 1776339 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-04 11:15:35 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: | 1775719, 1775720, 1776339 |
Description
Peter Ruan
2019-11-14 21:37:01 UTC
Enable Metering, visit Administration -> Chargeback -> click on Create Reports & Create Report Query button apiVersion: metering.openshift.io/v1 kind: ReportQuery metadata: name: example namespace: openshift-metering spec: columns: - name: the_time type: timestamp query: | SELECT now() AS the_time; apiVersion: metering.openshift.io/v1 kind: Report metadata: name: namespace-memory-request namespace: openshift-metering spec: query: namespace-memory-request reportingStart: '2019-01-01T00:00:00Z' reportingEnd: '2019-12-30T23:59:59Z' runImmediately: true Now they're using metering.openshift.io/v1 version Verified on 4.4.0-0.nightly-2019-11-26-041012 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, 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:0581 |