Bug 1843387

Summary: The metrics expression is not shown in the input textarea after deleting the metrics expression
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: low    
Version: 4.5CC: aballant, aos-bugs, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: on selecting of a metric and QueryEditor shows query if user deletes/modifies it and select same metric again QueryEditor doesn't get updated Consequence: Query Input text area not shows query if it's cleared by user and tried to select to same Query again Fix: on change/select of metric update the QueryEditor again Result: Query Input text area shows query if it's cleared by user and tried to select to same Query again
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:04:37 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 Junqi Zhao 2020-06-03 08:04:36 UTC
Description of problem:
Goto Dev Console, click "Monitoring" and select any project, then click the "Metrics" tab, click "Show PromQL" button, select any defined metrics from the dropdown list, example: CPU Usage
after the graph is shown, click "x" button in the metrics input text area to remove expression, select "CPU Usage" again, the metrics expression is not shown in the metrics input text area

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-06-01-165039

How reproducible:
always

Steps to Reproduce:
1. See the description
2.
3.

Actual results:
The metrics expression is not shown

Expected results:
Should be shown

Additional info:

Comment 4 Junqi Zhao 2020-09-14 14:16:17 UTC
tested with 4.6.0-0.nightly-2020-09-12-230035, followed the steps in Comment 0, issue is fixed

Comment 6 errata-xmlrpc 2020-10-27 16:04:37 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 GA Images), 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:4196