Bug 967861

Summary: When RHEL VMs are powered off/on time is off by as much as 3 hrs when system comes back up
Product: Red Hat Enterprise Virtualization Manager Reporter: Idith Tal-Kohen <italkohe>
Component: ovirt-engineAssignee: Frantisek Kobzik <fkobzik>
Status: CLOSED ERRATA QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, adevolder, chetan, cpelland, iheim, jkt, lpeer, lyarwood, michal.skrivanek, ofrenkel, peet, pstehlik, Rhev-m-bugs, rhodain, sgrinber, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.2.1   
Hardware: All   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Release Note
Doc Text:
Previously, the time zone for a Red Hat Enterprise Linux virtual machine could be set in the Initial Run tab of the New or Edit Virtual Machine window. Now, the default time zone which is Etc/GMT is used, and it cannot be changed via the administration portal. After an upgrade, the time zones of all Red Hat Enterprise Linux virtual machines are reset to Etc/GMT. If you are using a Linux virtual machine with a non-default time zone, adjust its hardware clock to your desired time zone.
Story Points: ---
Clone Of: 956741 Environment:
Last Closed: 2013-07-16 13:38:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 956741    
Bug Blocks:    

Comment 1 Michal Skrivanek 2013-06-07 06:46:45 UTC
pending consensus where the bug 964177 is going to be addressed

Comment 2 Andrew Cathrow 2013-06-10 12:47:54 UTC
Proposing the following.

For Linux VMs only.
- Disable timezone in VM properties - set to GMT with no edit option (in GUI or API)
- Discard TZ offset
- Always start VM with host (UTC) time.

For Windows we need another solution for 3.3

Comment 3 Michal Skrivanek 2013-06-11 13:59:11 UTC
we need a rel note for people who explicitly unchecked "HW clock in UTC" during Linux installations

Comment 4 Michal Skrivanek 2013-06-13 12:49:39 UTC
For Windows I'd see something like:
change the place in GUI where TZ is
change the meaning to true TZ setting which can be changed anytime (when VM down)
add TZ reporting to guest agent from guest OS
display current TZ in VM subtab
Supposing mapping it back from guest to RHEV-M setting may be tricky, perhaps alert when the time offset differs?

should go into a follow up bug

Comment 9 Tareq Alayan 2013-06-26 15:00:45 UTC
verified. 
Couldn't reproduce

Comment 11 errata-xmlrpc 2013-07-16 13:38:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1048.html