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

Gateway API - deleting SMCP breaks Gateway API

XMLWordPrintable

    • Moderate
    • None
    • CFE Sprint 257, CFE Sprint 259
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          After the SMCP is automatically created by the controller, it can be manually deleted but is not automatically recreated if the default gatewayclass exists.  If you also manually delete the default gatewayclass, you can automatically recreate both by recreating the default gatewayclass.
      
      Perhaps if SMCP is deleted, the gatewayclass should also be automatically deleted?  Or, if the SMCP is deleted, check into why it doesn't get reconciled and recreated if the default gatewayclass exists.

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

          4.16

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create the default gatewayclass, which automatically creates the SMCP
          2. Delete the SMCP
          3. Try to create a httpRoute
          

      Actual results:

          SMCP is not recreated and gatewayAPI function gets broken, e.g. httpRoute never attaches to gatewayClass and never works.

      Expected results:

          SMCP gets recreated if it is missing when the gatewayAPI controller reconciles.

      Additional info:

          If you delete the SMCP and default gatewayClass at the same time, and then create a new gatewayClass, it will also recreate the SMCP at that time.

              rh-ee-aagnihot Anirudh Agnihotri
              cholman@redhat.com Candace Holman
              Hongan Li Hongan Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: