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

Kiali pod is never deployed after SMCP Installation

XMLWordPrintable

      Scenario -1

      • I have an OCP cluster with 4.10 version
      • OSSM 2.4 operator version

      Steps to reproduce:

      • Deploy and delete multiple times smcp. For example, I tested with 2.3 version:
      frherrer@frherrer-mac maistra-test-tool % oc get smcp -n istio-system
      NAME    READY   STATUS            PROFILES      VERSION   AGE
      basic   9/9     ComponentsReady   ["default"]   2.3.4     3h35m 

      As you can see the smcp has status ComponenetsReady

       

      Result:

      After some deletions and installations, you will see that event the smcp has ComponentsReady status the kiali pod it's not deployed

      frherrer@frherrer-mac maistra-test-tool % oc get pod -n istio-system
      NAME                                    READY   STATUS    RESTARTS   AGE
      grafana-5d76cc5b9c-jwnq2                2/2     Running   0          3h50m
      istio-egressgateway-7964cb67b-zstwm     1/1     Running   0          3h50m
      istio-ingressgateway-544579496c-z4zns   1/1     Running   0          3h50m
      istiod-basic-77c5d6f855-w2kz2           1/1     Running   0          3h51m
      jaeger-774f5c78c-jjxch                  2/2     Running   0          3h50m
      prometheus-5b66557dbd-w2hjf             2/2     Running   0          3h51m 

      In istio operator logs we can see:

      {"level":"info","ts":1684860728.1811395,"logger":"servicemeshcontrolplane-controller","msg":"Processing ServiceMeshControlPlane","ServiceMeshControlPlane":"istio-system/basic"}
      {"level":"info","ts":1684860728.182345,"logger":"servicemeshcontrolplane-controller","msg":"Updating ServiceMeshControlPlane readiness state","ServiceMeshControlPlane":"istio-system/basic"}
      {"level":"info","ts":1684860728.1825955,"logger":"servicemeshcontrolplane-controller","msg":"requeue patching Kiali after 1m0s update, because / is not available","ServiceMeshControlPlane":"istio-system/basic"}
      {"level":"info","ts":1684860728.182605,"logger":"servicemeshcontrolplane-controller","msg":"Completed ServiceMeshControlPlane processing","ServiceMeshControlPlane":"istio-system/basic"} 

      Scenario -2 :

      I have deployed the 2.3 SMCP with the 2.4 SM, I got the Kiali pod successfully.

      Upgraded the SMCP 2.3 to 2.4, then the Kiali pod is not deployed.

      error:

      fatal: [localhost]: FAILED! => {"msg": "The conditional check 'kiali_vars.external_services.istio.root_namespace == \"\"' failed. The error was: error while evaluating conditional (kiali_vars.external_services.istio.root_namespace == \"\"): 'dict object' has no attribute 'external_services'\n\nThe error appears to be in '/opt/ansible/roles/v1.65/kiali-deploy/tasks/main.yml': line 191, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set default root namespace\n ^ here\n"} 19499 19500 

              frherrer@redhat.com Francisco Herrera Lira
              frherrer@redhat.com Francisco Herrera Lira
              Pavel Marek
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: