Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7543

dataplane-operator reconicle loop due to RoleBinding update

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ?
    • ?
    • None
    • 2
    • Moderate

      Updating the RoleBinding for the NodeSet causes a reconcile loop for dataplane-operator. The rolebinding code from lib-common updates the resource every time, even if no changes are needed. This causes the NodeSet to keep reconciling.

      This can be seen in the following uni01alpha-rhel9-rhoso18.0 job dataplane-operator log

      https://sf.hosted.upshift.rdu2.redhat.com/logs/openstack-uni-jobs-periodic-integration-rhoso18.0-rhel9/code.engineering.redhat.com/tripleo-ci/master/uni01alpha-rhel9-rhoso18.0/b96da30/logs/controller-0/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack-operators/pods/dataplane-operator-controller-manager-864fb8b6bb-4cdzl/logs/manager.log

      Thu Jun 06 09:17:52 (jslagle@teletran-1) [/tmp/tmp.1oZ1nSqwO9]$ grep -E "RoleBinding.*updated" manager.log  | wc -l
      2744
      

            jslagle@redhat.com James Slagle
            jslagle@redhat.com James Slagle
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: