Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-12924

GWAPI isn't coming up properly in daily build (Envoy build issue)

XMLWordPrintable

    • Moderate
    • No
    • 3
    • Sprint 238
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When the ingress operator creates the Subscription for servicemeshoperator, it use the wrong spec.CatalogSource

      Version-Release number of selected component (if applicable):

      4.13.z

      How reproducible:

      100%

      Steps to Reproduce:

      1. sh install-ossm-daily-build.sh --nosub
      2. run steps 2, 3, 4 from Miciah's pastebin
      3.

      Actual results:

      The servicemeshoperator subscription is the wrong version (2.3.2)
      oc get subscription -n openshift-operators servicemeshoperator -oyaml | grep CSV 
      
      There is no servicemeshcontrolplane created
      oc get servicemeshcontrolplane -A
      
      The subscription's spec.source doesn't match the name of the catalogSource

      Expected results:

      There should be a csv named servicemeshoperator.v2.4.0 with phase=Succeeded, and a servicemeshcontrolplane.

      Additional info:

      When the issue exists, this error message is seen in the log, and istio pods are not created when they should be.
      
      2023-04-28T17:00:23.688Z    ERROR    operator.init    controller/controller.go:274    Reconciler error    {"controller": "gatewayclass_controller", "object": {"name":"openshift-default"}, "namespace": "", "name": "openshift-default", "reconcileID": "8521810d-ae51-4467-8c18-7ca7e8bfae02", "error": "failed to create ServiceMeshControlPlane openshift-ingress/openshift-gateway: admission webhook \"smcp.validation.maistra.io\" denied the request: invalid Version specified; supported versions are: [v2.3 v2.0 v2.1 v2.2]", "errorCauses": [{"error": "failed to create ServiceMeshControlPlane openshift-ingress/openshift-gateway: admission webhook \"smcp.validation.maistra.io\" denied the request: invalid Version specified; supported versions are: [v2.3 v2.0 v2.1 v2.2]"}]}

            mmasters1@redhat.com Miciah Masters
            cholman@redhat.com Candace Holman
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: