-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix up startup / informer usage #438
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
(We probably won't actually fix this, but I did the analysis and want to dump it somewhere.)
We keep running into problems with the fact that openshift-sdn-node doesn't wait for its informers to be ready at startup.
Here's what sdn-node startup currently looks like:
ideally we would call
sdn.informers.start()
betweensdn.init()
andsdn.start()
(and then get rid of all of theListAll*
methods and just use the informer listers). But this would require reorganizing stuff so that all of the "watch
" methods get called atinit
time. Right now the split betweeninit
andstart
is mostly there to allow for unit tests that don't use clients/informers, but that could be fixed by just using fake clients/informers in the unit tests.The text was updated successfully, but these errors were encountered: