Nathan March
2015-Jul-29 16:38 UTC
[CentOS-virt] Timezone issues with migrations between host kernel 3.10 and 3.18
Hi All, I'm seeing clock issues with live migrations on the latest kernel packages, migrating a VM from 3.10.68-11 to 3.18.17-13 results in the VM clock being off by 7 hours (I'm PST, so appears to be a timezone issue). This is also between xen versions, but rolling the target back to 3.10 resolved so don't believe the recent XSA's are related. Anyone else seen behavior like this or have any ideas on how to resolve? - Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20150729/be4bb21f/attachment-0002.html>
Johnny Hughes
2015-Jul-30 11:38 UTC
[CentOS-virt] Timezone issues with migrations between host kernel 3.10 and 3.18
On 07/29/2015 11:38 AM, Nathan March wrote:> Hi All, > > > > I'm seeing clock issues with live migrations on the latest kernel > packages, migrating a VM from 3.10.68-11 to 3.18.17-13 results in the VM > clock being off by 7 hours (I'm PST, so appears to be a timezone issue). > This is also between xen versions, but rolling the target back to 3.10 > resolved so don't believe the recent XSA's are related. > > > > Anyone else seen behavior like this or have any ideas on how to resolve?Some versions of CentOS have a hardware clock uses UTC check box. If that is on, and if your hardware clock is instead set to local time, that can cause issues. Can you check that there is no UTC=True in /etc/sysconfig/clock -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20150730/208eca29/attachment-0002.sig>
Johnny Hughes
2015-Jul-30 11:40 UTC
[CentOS-virt] Timezone issues with migrations between host kernel 3.10 and 3.18
On 07/30/2015 06:38 AM, Johnny Hughes wrote:> On 07/29/2015 11:38 AM, Nathan March wrote: >> Hi All, >> >> >> >> I'm seeing clock issues with live migrations on the latest kernel >> packages, migrating a VM from 3.10.68-11 to 3.18.17-13 results in the VM >> clock being off by 7 hours (I'm PST, so appears to be a timezone issue). >> This is also between xen versions, but rolling the target back to 3.10 >> resolved so don't believe the recent XSA's are related. >> >> >> >> Anyone else seen behavior like this or have any ideas on how to resolve? > > Some versions of CentOS have a hardware clock uses UTC check box. If > that is on, and if your hardware clock is instead set to local time, > that can cause issues. > > Can you check that there is no UTC=True in /etc/sysconfig/clockalso, you can use tzselect to make sure the correct timezone is used. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20150730/e26b94d9/attachment-0002.sig>