Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2038

clustersync controller should watch clustersyncs

XMLWordPrintable

    • False
    • None
    • False

      We instruct SD to delete the clustersync object to force a resync of [Selector]SyncSets. However, the clustersync controller isn't watching ClusterSync objects, so this doesn't work. Furthermore, once that controller reconciles again, it only creates the ClusterSync object; it won't resync the objects until the next time they come up for renewal, per the ClusterSyncLease object.

      We either need to fix the logic in the controller to work as advertised, or fix that SOP to indicate some other method to force resync (possibly deleting the ClusterSyncLease would do it?).

      ClusterSync watches are defined here https://github.com/openshift/hive/blob/919b54de9d652eb1f907306aedd2ef2e42d6ace2/pkg/controller/clustersync/clustersync_controller.go#L207-L224

      Update the syncset documentation as well with steps to force a resync https://github.com/openshift/hive/blob/master/docs/syncset.md

       

              rh-ee-mold Mark Old
              efried.openshift Eric Fried
              Mingxia Huang Mingxia Huang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: