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

Gateway API test failed in ClusterWide mode for SMCP 2.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • OSSM 2.5.2, OSSM 2.6.0
    • Customer Impact
    • False
    • None
    • False

      Problem exists only for smcp 2.4, now skipped by test -> https://github.com/maistra/maistra-test-tool/blob/main/pkg/tests/ossm/operator/clusterwide_mode_test.go#L108-L110

      === RUN   TestClusterWideMode/Deploy_the_Kubernetes_Gateway_API_in_ClusterWide_mode
          clusterwide_mode_test.go:112:    
          clusterwide_mode_test.go:112: STEP 1: Install Gateway API CRD's
          clusterwide_mode_test.go:118:    
          clusterwide_mode_test.go:118: STEP 2: Install httpbin
          clusterwide_mode_test.go:119:    Install app "httpbin" in namespace "foo"
          clusterwide_mode_test.go:119:    Wait for app foo/httpbin to be ready
          clusterwide_mode_test.go:122:    
          clusterwide_mode_test.go:122: STEP 3: Enable the Gateway for SMCP < 2.6
          clusterwide_mode_test.go:135:    
          clusterwide_mode_test.go:135: STEP 4: Deploy the Gateway API configuration including a single exposed route (i.e., /get)
          clusterwide_mode_test.go:141:    
          clusterwide_mode_test.go:141: STEP 5: Wait for Gateway to be ready
          clusterwide_mode_test.go:142:    Wait for condition condition=Ready on Gateway foo/gateway...
          clusterwide_mode_test.go:142:    SUCCESS: Condition condition=Ready met by Gateway foo/gateway
          clusterwide_mode_test.go:144:    
          clusterwide_mode_test.go:144: STEP 6: Verfiy the GatewayApi access the httpbin service using curl
          clusterwide_mode_test.go:146:    FATAL: Command failed: kubectl exec -n istio-system istio-ingressgateway-5fc6c5d98-7rjfd -c istio-proxy -- curl http://gateway.foo.svc.cluster.local:8080/get -H Host:httpbin.example.com -s -o /dev/null -w %{http_code}
              000command terminated with exit code 7
              error: exit status 7 

      From attached must-gather:

      Istiod set:

      - name: PILOT_ENABLE_GATEWAY_API       
        value: "true"     
      - name: PILOT_ENABLE_GATEWAY_API_STATUS       
        value: "true"     
      - name: PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER       
        value: "true"

       

            Unassigned Unassigned
            mabramov@redhat.com Mikhail Abramov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: