⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Discussion options

You must be logged in to vote

@SviridoffA, this sounds very similar to an issue I encountered while testing VM HA. As documented here: #12183 using a custom timezone can impact certain CloudStack operations. In my case, the root cause was a timezone mismatch in the following code:

long milliSecondsSinceLastStateUpdate = currentTime.getTime() - vmStateUpdateTime.getTime();

One of these values was returned in UTC, while the other was returned in local time because it relied on NOW() in MySQL. As a result, CloudStack ended up comparing timestamps from two different timezones, which caused a consistent offset (3 hours in my case). Switching the system and database timezone back to the default UTC resolved the issue. I su…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SviridoffA
Comment options

@TadiosAbebe
Comment options

@SviridoffA
Comment options

Answer selected by SviridoffA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants