Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-8139

Configuring Kiali + User Workload Monitoring does not work

XMLWordPrintable

    • Icon: Ticket Ticket
    • Resolution: Done
    • Icon: Major Major
    • None
    • OSSM 2.6.1
    • Kiali, Maistra
    • False
    • None
    • False

      Issue: Metrics are not visible in Kiali dashboard when integrating with User-Workload-Monitoring.

      How to reproduce: 

      1. Create new project for service mesh control plane. // oc new-project istio-system
      2. Install the Operators required for OpenShift Service Mesh installation.
      3. Configure the SMCP as follows:
      4. apiVersion: maistra.io/v2
        kind: ServiceMeshControlPlane
        metadata:
          name: basic
          namespace: istio-system
        spec:
          addons:
            prometheus:
              enabled: false 
            grafana:
              enabled: false 
            kiali:
              name: kiali-user-workload-monitoring
          meshConfig:
            extensionProviders:
            - name: prometheus
              prometheus: {}
      1. Create new project bookinfo // oc new-project bookinfo
      2. Configure SMMR as follows: 
      3. apiVersion: maistra.io/v1
        kind: ServiceMeshMemberRoll
        metadata:
          name: default
          namespace: istio-system
        spec:
          members:
          - bookinfo 
      1. Deploy bookinfo application by following this doc
      2. Enable User-workload-monitoring by following this doc
      3. Follow the steps as mentioned in this doc
        1. NOTE: While creating kind: Kiali CR ensure to add spec.version: v1.73
      4. After all the above steps are configured run the following: 
        1. ROUTE=`oc get route istio-ingressgateway  -n istio-system  -o jsonpath='{.spec.host}'`
        2. for i in `seq 1 10`; do curl -I $ROUTE/productpage;done
      5. Visit Kiali route that and check Kiali route --> Applications --> istio-ingressgateway --> Inbound Metrics / Outbound Metrics 
       oc get csv -n openshift-operators
      NAME                             DISPLAY                                          VERSION     REPLACES                         PHASE
      elasticsearch-operator.v5.8.12   OpenShift Elasticsearch Operator                 5.8.12      elasticsearch-operator.v5.8.11   Succeeded
      jaeger-operator.v1.57.0-10       Red Hat OpenShift distributed tracing platform   1.57.0-10   jaeger-operator.v1.57.0-7        Succeeded
      kiali-operator.v1.89.1           Kiali Operator                                   1.89.1      kiali-operator.v1.73.10          Succeeded
      servicemeshoperator.v2.6.1       Red Hat OpenShift Service Mesh                   2.6.1-0     servicemeshoperator.v2.6.0       Succeeded
      tempo-operator.v0.13.0-1         Tempo Operator                                   0.13.0-1    tempo-operator.v0.10.0-8         Succeeded

       

      Expectation: 
      Metrics should be seen. 

      What is observed ? 

      Metrics is not loaded. 

              asmigala@redhat.com Andrej Smigala
              rhn-support-ssadhale Saurabh Sadhale
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: