Bug 1751571

Summary: Bad request for "Disk Space" under "USE Method / Node" on grafana page
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Sergiusz Urbaniak <surbania>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.0CC: alegrand, anpicker, erooth, kakkoyun, lcosic, mloibl, pkrupa, surbania
Target Milestone: ---   
Target Release: 4.2.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: 2019-10-16 06:41:11 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:
Attachments:
Description Flags
400 (Bad Request)
none
could see graph for "Disk Space Utilisation" none

Description Junqi Zhao 2019-09-12 07:48:14 UTC
Created attachment 1614340 [details]
400 (Bad Request)

Description of problem:
go to grafana "USE Method / Node" page, error for the "Disk Space" is
parse error at line 3, char 87: unexpected "," in label matching, expected identifier

Checked,
the Request URL:https://grafana-openshift-monitoring.apps.azure-ovn.qe.azure.devcluster.openshift.com/api/datasources/proxy/1/api/v1/query_range?query=1 -
(
  max without (mountpoint, fstype) (node_filesystem_avail_bytes{job="node-exporter", , instance="azure-ovn-x6ltx-worker-centralus3-fgnhj"}})
/
  max without (mountpoint, fstype) (node_filesystem_size_bytes{job="node-exporter", , instance="azure-ovn-x6ltx-worker-centralus3-fgnhj"}})
)

one more "," and "}" in the prameter

should be as
1 -
(
  max without (mountpoint, fstype) (node_filesystem_avail_bytes{job="node-exporter", instance="azure-ovn-x6ltx-worker-centralus3-fgnhj"})
/
  max without (mountpoint, fstype) (node_filesystem_size_bytes{job="node-exporter", instance="azure-ovn-x6ltx-worker-centralus3-fgnhj"})
)

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-09-11-202233

How reproducible:
Always

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

Actual results:


Expected results:


Additional info:

Comment 4 Junqi Zhao 2019-09-16 03:08:50 UTC
Created attachment 1615434 [details]
could see graph for "Disk Space Utilisation"

Comment 6 errata-xmlrpc 2019-10-16 06:41:11 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, 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-2019:2922