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

Istiod pod is not running with the k8s gateway api settings in 2.4 SM operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • OSSM 2.4.0
    • OSSM 2.4.0
    • Maistra
    • None
    • False
    • None
    • False

      Steps to reproduce:

      1. Deploy the 2.4 SM operator with Kiali 1.65

      2. Create the 2.4 SMCP

      3. Deploy the httpbin and gateway deployment to the bar namespace

      4. Add the bar namespace to SMMR in the istio-system namespace

      5. Deploy the k8's CRDs to the OpenShift cluster

      kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || { kubectl kustomize github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=v0.6.1 | kubectl apply -f -;

      6. Apply the 2.4 Gateway API settings to SMCP:

      spec:  
        techPreview:
          gatewayAPI:
            enabled: true

      Error: 

      istiod-basic-58b84b4569-7nwlq           0/1     Running   0          12m
      istiod-basic-7b6c44bbd-vwxnr            1/1     Running   0          18m

      Istiod pod is not running

      Verified the istiod pod logs:

       klog github.com/maistra/xns-informer/pkg/informers/informer.go:158: failed to list *v1alpha2.ReferencePolicy: the server could not find the requested resource (get referencepolicies.gateway.networking.k8s.io)
      error watch error in cluster Kubernetes: failed to list *v1alpha2.ReferencePolicy: the server could not find the requested resource (get referencepolicies.gateway.networking.k8s.io)
      info kube controller "gateway.networking.k8s.io/v1alpha2/ReferencePolicy" is syncing... controller=crd-controller

      Attached the Istiod pod logs:   istiod-basic-85c4969976-gkrdj-discovery.log

      Expected: 

      it should match to v1beta1, but it is matching to v1alpha2

      The Istiod pod runs successfully without any errors.

              Unassigned Unassigned
              pbajjuri0204 Praneeth Bajjuri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: