-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
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