-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
maistra-2.0.0
-
None
-
False
-
False
-
Undefined
-
Grafana Istio Service Dashboard error parsing regexp: missing argument to repetition operator: `*`
When we test the Egress using Wildcard Hosts task,
https://istio.io/v1.6/docs/tasks/traffic-management/egress/wildcard-egress-hosts/#configure-direct-traffic-to-a-wildcard-host
Istio task passed from CLI. However, we see error messages and error icons from Grafana Dashboard Istio – Istio Service Dashboard. It looks a parser issue in Grafana when there is a Service name includes wildcard * simbol e.g. *.wikipedia.org
Build Info:
OCP 4.6 aws
OSSM 2.0.0
SMCP 2.0
Grafana v5.0.0 NA
registry.redhat.io/openshift-service-mesh/grafana-rhel8@sha256:a5e722d93cd52c746cd7568debde47abdebdaef75408548a08eeb92857ec3de8
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b3291b06f478cf98a74ef47b0c4e41a8979c682044c6cd597f9f188852879693
How to reproduce:
1. Install OSSM 2.0.0 and SMCP 2.0 in an OCP 4 cluster
2. Follow https://istio.io/v1.6/docs/tasks/traffic-management/egress/wildcard-egress-hosts/
3. Wait 20 seconds and Check Grafana Dashboard UI Istio > Istio Service Dashboard
4. Select Service *.wikipedia.org and see UI error messages and error icon (Screenshot attached)
There is no error log in grafana pod.
There are errors in client side browser console:
GEThttps://grafana-istio-system.apps.yuaxu-maistra-daily.devcluster.openshift.com/api/datasources/proxy/1/api/v1/query_range?query=histogram_quantile(0.99%2C%20sum(irate(istio_response_bytes_bucket%7Breporter%3D%22source%22%2C%20connection_security_policy!%3D%22mutual_tls%22%2C%20destination_service%3D~%22*.wikipedia.org%22%2C%20source_workload%3D~%22%22%2C%20source_workload_namespace%3D~%22%22%7D%5B1m%5D))%20by%20(source_workload%2C%20source_workload_namespace%2C%20le))&start=1607700605&end=1607700905&step=5
[HTTP/1.1 400 Bad Request 32ms]
Panel data error:
Object
metrics_panel_ctrl.ts:202:6
Expected behavior:
Grafana Dashboard should work with wildcard service host traffic and display metrics about it.
- is related to
-
MAISTRA-1715 2.0: Rebase grafana to match upstream 1.6 version
- Closed