Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-2574

Netobserv reconcile race condition - API discovery

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • NetObserv - Sprint 283
    • None
    • None
    • Hide
      Previously, there was a risk that the operator fail to recognize the OpenShift cluster it is running on, leading to cascading issues such as not creating Roles required for proper operation on OpenShift. This happened in particular when some API were unavailable at the operator startup, becoming available later.
      This is fixed, the operator now continues to check for APIs availability over time.
      Show
      Previously, there was a risk that the operator fail to recognize the OpenShift cluster it is running on, leading to cascading issues such as not creating Roles required for proper operation on OpenShift. This happened in particular when some API were unavailable at the operator startup, becoming available later. This is fixed, the operator now continues to check for APIs availability over time.

      Description of problem:

      API discovery may fail silently breaking the operator reconcile loop

      Steps to Reproduce:

      Not sure how to reproduce yet...

      Actual results:

      If API discovery fails, IsOpenshift function return false and controller reconcile as if we were on vanilla kubernetes. It misses some mandatory FLP ClusterRoleBinding and components are failing.
      
      As the reconcile loop ended without error, it never restarts.

      Expected results:

      API discovery failures should return error and block the reconciliation.
      The controller will restart and retry until the API respond.

              jpinsonn@redhat.com Julien Pinsonneau
              laurent.tourreau Laurent TOURREAU
              None
              None
              None
              Kapil Jain Kapil Jain
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: