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

VM status only updated at 12 hour intervals #15

Open
jregovic opened this issue Apr 23, 2013 · 1 comment
Open

VM status only updated at 12 hour intervals #15

jregovic opened this issue Apr 23, 2013 · 1 comment
Milestone

Comments

@jregovic
Copy link
Contributor

Apologies if this is not the right forum for this question.

How is the state of a VM updated? It doesn't appear that anythin updates it outside of modeling, which doesn't seem like the correct thing. Shouldn't some other process update the state of a virtual machine or other component?

@cluther
Copy link
Member

cluther commented May 2, 2013

You're right about that. The VM state property is only updated during modeling, which will only occur at 12 hour intervals by default. However, the CloudStack alerts and events are polled on a 1 minute interval and will associated events and alerts to VMs if that's what they're applicable to. This will be reflected in the VMs event-based status.

This discrepancy between the modeled state property and status based on events probably should be cleared up either by polling for status of resources like VMs on that same 1 minute interval, or updating resource modeled status based on certain types of events occurring. The first option sounds like it would be easier and less prone to synchronization problems.

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

No branches or pull requests

2 participants