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

Operator deletes resource when it can't patch it, breaking the mesh control plane

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • OSSM 2.1.2
    • Customer Impact, Maistra
    • None
    • False
    • None
    • False

    Description

      When you update the SMCP, the operator patches the resources owned by this SMCP. If the patch operation is rejected by the Kubernetes API, the operator deletes the resource and tries to re-create it. If the create operation fails just like the patch did, the control plane deployment is broken.

      For example, when you update the SMCP to set memory requests for the istio-ingressgateway Deployment, the patch of this Deployment may fail if the requests are higher than the limits. The operator then deletes the Deployment and tries to recreate it, but this also fails. The SMCP's status is PausingUpdate, and the istio-ingressgateway Deployment is missing. 

      More info: https://github.com/maistra/istio/issues/514

      Also: the SMCP status should show this as an error. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mluksa@redhat.com Marko Luksa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: