Re: [Users] [node-devel] Seting the timezone on the node

On Fri, 2012-05-25 at 16:25 +0200, Michel van Horssen wrote:
I'm really stomped on this one.
The nodes only know about UTC timezone. My node points towards a time server in my network. Because the timezone is UTC the node is 2 hours behind the engine which is running with the CEST timezone.
The bios/hardware time is correct, so the node time is 2 hours behind that as well.
Question is how can I get the node in CEST mode?
It's probably stupidly simple but please take my hand and guide me towards a better Ovirt-node future :)
I'm so close now my migration problem is resolved :)
At this time, ovirt-node doesn't have any way to set different time zones. IMO, this isn't a bug with ovirt-node though. IMO, migration *should* normalize the time to a consistent time zone regardless. If migration is breaking due to there being different time zones on engine and node, then that's a bug with engine/vdsm. Mike
Thnx,
Michel _______________________________________________ node-devel mailing list node-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/node-devel

Hi Mike,
At this time, ovirt-node doesn't have any way to set different time zones. IMO, this isn't a bug with ovirt-node though. IMO, migration *should* normalize the time to a consistent time zone regardless. If migration is breaking due to there being different time zones on engine and node, then that's a bug with engine/vdsm.
Hmm, strange. You're correct, I did some test migrations earlier and when I migrated to one of the nodes the status was "?" The moment I changed to the correct time on the node the green triangle appeared in the web inteface. Now doing some migrations between nodes (with different times) all went well. Funny. My time paranoia is partly because of the other migration problem I had (tls related). It was suggested to look at time differences on the nodes and the VDSM. Now I found the real problem I thought I would tackle the time thing. But that doesn't seem to be a problem so I'll leave at that.
Mike
Thnx Mike Michel

On Fri, May 25, 2012 at 04:57:59PM +0200, Michel van Horssen wrote:
My time paranoia is partly because of the other migration problem I had (tls related). It was suggested to look at time differences on the nodes and the VDSM.
Anything time related with migration, and/or TLS should be operating against UTC, regardless of what the OS timezone is set to. Basically the only thing timezone ought to affect is timestamps written into logfiles. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (3)
-
Daniel P. Berrange
-
Michel van Horssen
-
Mike Burns