Bug 1751571 - Bad request for "Disk Space" under "USE Method / Node" on grafana page
Summary: Bad request for "Disk Space" under "USE Method / Node" on grafana page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.2.0
Assignee: Sergiusz Urbaniak
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-12 07:48 UTC by Junqi Zhao
Modified: 2019-10-16 06:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:41:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
400 (Bad Request) (318.76 KB, image/png)
2019-09-12 07:48 UTC, Junqi Zhao
no flags Details
could see graph for "Disk Space Utilisation" (133.45 KB, image/png)
2019-09-16 03:08 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 477 0 None closed Bug 1751571: Bump prometheus-operator to 0.33 and node-mixin 2020-02-26 04:41:20 UTC
Github prometheus node_exporter pull 1483 0 None closed node-mixin: fix configuration for unset fsSelector/diskDeviceSelector and dashboard query 2020-02-26 04:41:20 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:41:19 UTC

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


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