Guest User!

You are not Sophos Staff.

[7.920][NOTABUG][CLOSED] Hyper-V time issue

I was wondering why my astaro was getting the bad time everytime I rebooted. I just found what the issue is.

Since Hyper-V is a windows based hypervisor, it store the local time in the CMOS(BIOS) time. But as astaro is a linux based FW, it use the CMOS time in UTC time.

So lets say its 10:00, my timezone is -5, so windows store 10:00 in the CMOS, then at bootup astaro read 10:00 think its UTC, and do 10 - 5.  So the time in astaro is set to 5:00...

I was able to prevent this from happening simply by editing the file: /etc/sysconfig/clock, change:

UTC = "yes", to UTC = "no"

then everything run smooth.

Would your dev be kind enough to put a checkmark inside the Data/Time tab to toggle the storage of the time in UTC(default) vs Local time ?

This is the only issue I know of with astaro && Hyper-v so far.

Thanks
  • Astaro Beta Report
    
    --------------------------------
    Version: 7.920
    Type: NOTABUG
    State: CLOSED
    Reporter: x-cimo++
    Contributor: Scott_Klassen
    MantisID: 
    Target version: 
    Fixed in version: 
    --------------------------------
  • This has been brought up before. The "fix" should be made on the Hyper-V side. Go to the Settings for your VM and disable all items under Integration Services per the known issues list.
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
  • I have to second what Scott said: try to disable all integration services.

    One other question: During installation, the installer asks for the current time. There's a checkbox where you can tell the system if that time is UTC or not. What did you select there?
  • This is a different issue from the Integration service one.

    All my integrations services are disable since before I installed Astaro.
    HyperV has two way of syncing time, at boot up the VMs grab the time from the BIOS, during execution HyperV rely on Time integration service.

    Disabling time sync prevent HyperV from screwing the clock on the vm at runtime. Which is disable and after Astaro boot-up I have no issues.

    The first way trough is still to get the Time from BIOS, and the issue is explained in my first post.. This is not only limited to astaro, but for ANY dualboot Windows/Linux machine, this is a common issues with an easy fix. (setting UTC = no).

    As for the setup, I am not sure, I will try re installing ASG tonight because I do not remember seeing this.  What I remember is the date/time(which I have to fix cause it was -5hours there too), as well as my timezone(which I set Canada/Eastern).

    After fixing the time at Bootup the time remain in sync until next reboot. (And stopped doing that since I setted UTC = "no"

    Thanks
  • Ok I re-installer V8, and there was indeed a Checkbox for Using UTC time or not. And it does the trick! I just never noticed it was there.

    It would still be nice to be able to change that after the setup. But at least there is a way to get it!  Thanks you!
  • That sounds reasonable. I filed your suggestion as a feature-request in Mantis, but since it has a huge impact on logging, reporting, etc. it is very unlikely to make it into the 8.000.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?