Skip to content
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

Potential fix for watcher failing to collect events after about an hour #13

Closed

Conversation

peter-moffatt
Copy link

This is a potential solution for issue #9 which I am also experiencing. I have tested it in a Kubernetes cluster and I was able to successfully watch events for over 2 hours.

The fix is based on advice in ManageIQ/kubeclient#273.

This change breaks two of the unit tests which will need to be resolved before this is merged. I've never done any Ruby before so it'll take me a bit of time to figure out how to fix them. I will therefore delay figuring out how to fix the tests until I've got feedback that this is the right approach to fixing the problem.

@dtregonning
Copy link
Contributor

Thanks @peter-moffatt - thanks for providing the link to the discussion and a potential fix. Its something that we've heard quite a few times. We have done some testing and this looks promising. Will update soon with results.

@peter-moffatt
Copy link
Author

Thanks for the update. I've had it watching events continuously for the last 4 days with no problems noticed so far.

@dtregonning
Copy link
Contributor

@peter-moffatt - we are doing an update release to this project now with the plan to merge changes in after. Just a heads up the new project release wont have the fix.

@max-rocket-internet
Copy link

@dtregonning any update on this?

@mohitevishal
Copy link

Any update? Are you folks going to pull this patch? @dtregonning ?

@dtregonning
Copy link
Contributor

Hey @mohitevishal, @max-rocket-internet - yup. Team talked about it today. We will include this in a maintenance release and bump.

@max-rocket-internet
Copy link

@peter-moffatt could you rebase? And then perhaps we can merge?

@peter-moffatt peter-moffatt changed the base branch from master to develop March 26, 2019 12:23
@peter-moffatt
Copy link
Author

@peter-moffatt could you rebase? And then perhaps we can merge?

Done.

@max-rocket-internet
Copy link

Another conflict @peter-moffatt 😞

@peter-moffatt any update?

@dtregonning
Copy link
Contributor

dtregonning commented Mar 29, 2019

@max-rocket-internet @peter-moffatt - thank you so much for your efforts on this. We modified your original submitted fix and had it merged into develop to get it running in our testing environments. WE had concerns with the thread creates within the loop. Im going to bump up the version of Objects to 1.1.1 with the fix included and release. Ill leave this open for now in case we hit any other issues.
#21

@max-rocket-internet
Copy link

Thanks!

@peter-moffatt
Copy link
Author

Thanks @dtregonning.

@max-rocket-internet
Copy link

How do we get this version from rubygems?

@dtregonning
Copy link
Contributor

Fixed in #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants