-
Notifications
You must be signed in to change notification settings - Fork 917
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
frequent run 'govc events' get no events return #948
Comments
@wangweihong I cannot reproduce this issue. Is it just |
@anfernee I am not sure whether It affect other command , but
|
Was looking at #961 , which is actually the cause of this issue. I didn't see the issue against ESX, but did against VC. Fix on the way. |
The EventHistoryCollector objects are tied to a session and there is a max per-session. Without destroying the collectors, we could max out the collectors causing 'govc events' to return empty. Fixes vmware#948 Fixes vmware#961
good, I was verifying against an esx. |
The EventHistoryCollector objects are tied to a session and there is a max per-session. Without destroying the collectors, we could max out the collectors causing 'govc events' to return empty. Fixes vmware#948 Fixes vmware#961
I' m writing a program to watching vsphere event change : every 5 second get vsphere events. At first, I can get vsphere events correctly; However, after a while , vsphere return 0 event and the api return no error.
I try to reproduce the problem in govc,run
govc events
quickly , this is what it displays:By the way, if I specify output events larger that 1000,
govc events -n 1001
, I got 0 event too.The text was updated successfully, but these errors were encountered: