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

[GWAPI] OSSM 2.4 spec.techPreview.controlPlaneMode field not supported anymore

XMLWordPrintable

    • Important
    • No
    • 2
    • Sprint 235, Sprint 236, Sprint 237
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: OpenShift Service Mesh (OSSM) 2.4 removed the `spec.techPreview.controlPlaneMode` API field from the ServiceMeshControlPlane custom resource and replaced the old API field with the new `spec.mode` API field.

      Consequence: When Gateway API was enabled, the Ingress Operator would fail to configure OSSM and would log the following error: "the spec.techPreview.controlPlaneMode field is not supported in version 2.4+; use spec.mode", which prevented Gateway API from functioning.

      Fix: The Ingress Operator now uses the new `spec.mode` field instead of `spec.techPreview.controlPlaneMode`.

      Result: The Ingress Operator is able to create a ServiceMeshControlPlane custom resource, and Gateway API works properly.
      Show
      Cause: OpenShift Service Mesh (OSSM) 2.4 removed the `spec.techPreview.controlPlaneMode` API field from the ServiceMeshControlPlane custom resource and replaced the old API field with the new `spec.mode` API field. Consequence: When Gateway API was enabled, the Ingress Operator would fail to configure OSSM and would log the following error: "the spec.techPreview.controlPlaneMode field is not supported in version 2.4+; use spec.mode", which prevented Gateway API from functioning. Fix: The Ingress Operator now uses the new `spec.mode` field instead of `spec.techPreview.controlPlaneMode`. Result: The Ingress Operator is able to create a ServiceMeshControlPlane custom resource, and Gateway API works properly.
    • Bug Fix

      This is a clone of issue OCPBUGS-10714. The following is the description of the original issue:

      Description of problem:

      OSSM Daily builds were updated to no longer support the spec.techPreview.controlPlaneMode field and OSSM will not create a SMCP as a result. The field needs to be updated to spec.mode.
      
      Gateway API enhanced dev preview is currently broken (currently using latest 2.4 daily build because 2.4 is unreleased). This should be resolved before OSSM 2.4 is GA.

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

      4.13

      How reproducible:

      100%

      Steps to Reproduce:

      1. Follow instructions in http://pastebin.test.redhat.com/1092754
      

      Actual results:

      CIO fails to create a SMCP
      
      "error": "failed to create ServiceMeshControlPlane openshift-ingress/openshift-gateway: admission webhook \"smcp.validation.maistra.io\" denied the request: the spec.techPreview.controlPlaneMode field is not supported in version 2.4+; use spec.mode"

      Expected results:

      CIO is able to create a SMCP

      Additional info:

       

            mmasters1@redhat.com Miciah Masters
            openshift-crt-jira-prow OpenShift Prow Bot
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: