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

Kiali doesn't recognize new ServiceMeshMemberRoll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • OSSM 2.5.1
    • OSSM 2.5.1
    • Customer Impact, Kiali
    • None
    • False
    • None
    • False
    • Hide
      • Install the latest OSSM 2.5.1. with Kiali 1.73.7 operator (must be 1.73.7-3, so use this metadata bundle: openshift-service-mesh-kiali-prod-operator-metadata:7.1-13 ) via OperatorHub
      • Create new SMCP v2.5 and wait till everything is ready
      • Create new project (bookinfo) and add the project into SMMR
        oc new-project bookinfo
        oc apply -f - <<EOF
        apiVersion: maistra.io/v1
        kind: ServiceMeshMemberRoll
        metadata:
          name: default
          namespace: istio-system
        spec:
          members:
            - bookinfo
        
      • Set up bookinfo app
        oc project bookinfo
        oc create -f https://raw.githubusercontent.com/Maistra/istio/maistra-2.5/samples/bookinfo/platform/kube/bookinfo.yaml
        oc create -f https://raw.githubusercontent.com/Maistra/istio/maistra-2.5/samples/bookinfo/networking/bookinfo-gateway.yaml
        
      • Wait till all pods are ready, check if they have sidecars, so they are a part of the service mesh
      • Check in kiali ui if it shows bookinfo namespace
      Show
      Install the latest OSSM 2.5.1. with Kiali 1.73.7 operator (must be 1.73.7-3, so use this metadata bundle: openshift-service-mesh-kiali-prod-operator-metadata:7.1-13 ) via OperatorHub Create new SMCP v2.5 and wait till everything is ready Create new project (bookinfo) and add the project into SMMR oc new -project bookinfo oc apply -f - <<EOF apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: name: default namespace: istio-system spec: members: - bookinfo Set up bookinfo app oc project bookinfo oc create -f https: //raw.githubusercontent.com/Maistra/istio/maistra-2.5/samples/bookinfo/platform/kube/bookinfo.yaml oc create -f https: //raw.githubusercontent.com/Maistra/istio/maistra-2.5/samples/bookinfo/networking/bookinfo-gateway.yaml Wait till all pods are ready, check if they have sidecars, so they are a part of the service mesh Check in kiali ui if it shows bookinfo namespace

    Description

      When I add a new project into ServiceMeshMemberRoll, the Kiali doesn't show it. This happens with the latest OSSM 2.5.1 + Kiali 1.73.7 builds ( `openshift-service-mesh-kiali-prod-operator-metadata:7.1-13`). ( It doesn't happen with the latest GA Kiali 1.73.4 version, also it doesn't happens for 1.73.7 builds where Kiali operator is `1.73.7-2` and lower ( so metadata bundle 7.1-8 and lower) )

      The istio operator updates Kiali cr to contain also a new namespace, the Kiali operator updates the Kiali configmap in the istio namespace, however, the Kiali operator doesn't update the Kiali instance (pod), so the configuration that is used in Kiali `/api/config` is the old one and kiali doesn't see the new namespace, only the default one where istio is installed.

      {
        "accessibleNamespaces": [
          "istio-system"
        ],
      ...
      

      More info here:https://redhat-internal.slack.com/archives/CHR7P722J/p1713213195781519

      Workaround is to restart the kiali pod manually.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: