Activity log for bug #1676635

Date Who What changed Old value New value Message
2017-03-27 21:31:53 Joshua R. Poulson bug added bug
2017-03-27 21:32:12 Joshua R. Poulson linux (Ubuntu): status New Confirmed
2017-03-27 21:32:46 Joshua R. Poulson bug added subscriber Alex Ng
2017-03-27 21:54:01 Joshua R. Poulson description Please include the following upstream commit into lts-xenial, 16.04 HWE, Yakkity, and Zesty. This will improve the behavior of timesync on Hyper-V hosts while simultaneously using network time sync protocols like NTP. commit 3716a49a81ba19dda7202633a68b28564ba95eb5 Author: Vitaly Kuznetsov <vkuznets@redhat.com> Date: Sat Feb 4 09:57:14 2017 -0700 hv_utils: implement Hyper-V PTP source With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause issues: - Time is jumping forward and backward, some applications may misbehave. - In case an NTP server runs in parallel and uses something else for time sync (network, PTP,...) system time will never converge. - Systemd starts annoying you by printing "Time has been changed" every 5 seconds to the system log. Instead of doing in-kernel time adjustments offload the work to an NTP client by exposing TimeSync messages as a PTP device. Users may now decide what they want to use as a source. I tested the solution with chrony, the config was: refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0 The result I'm seeing is accurate enough, the time delta between the guest and the host is almost always within [-10us, +10us], the in-kernel solution was giving us comparable results. I also tried implementing PPS device instead of PTP by using not currently used Hyper-V synthetic timers (we use only one of four for clockevent) but with PPS source only chrony wasn't able to give me the required accuracy, the delta often more that 100us. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Please include the following upstream commit into lts-xenial, 16.04 HWE, Yakkity, and Zesty. This will improve the behavior of timesync on Hyper-V hosts while simultaneously using network time sync protocols like NTP. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/hv/hv_util.c?id=3716a49a81ba19dda7202633a68b28564ba95eb5 commit 3716a49a81ba19dda7202633a68b28564ba95eb5 Author: Vitaly Kuznetsov <vkuznets@redhat.com> Date: Sat Feb 4 09:57:14 2017 -0700     hv_utils: implement Hyper-V PTP source     With TimeSync version 4 protocol support we started updating system time     continuously through the whole lifetime of Hyper-V guests. Every 5 seconds     there is a time sample from the host which triggers do_settimeofday[64]().     While the time from the host is very accurate such adjustments may cause     issues:     - Time is jumping forward and backward, some applications may misbehave.     - In case an NTP server runs in parallel and uses something else for time       sync (network, PTP,...) system time will never converge.     - Systemd starts annoying you by printing "Time has been changed" every 5       seconds to the system log.     Instead of doing in-kernel time adjustments offload the work to an     NTP client by exposing TimeSync messages as a PTP device. Users may now     decide what they want to use as a source.     I tested the solution with chrony, the config was:      refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0     The result I'm seeing is accurate enough, the time delta between the guest     and the host is almost always within [-10us, +10us], the in-kernel solution     was giving us comparable results.     I also tried implementing PPS device instead of PTP by using not currently     used Hyper-V synthetic timers (we use only one of four for clockevent) but     with PPS source only chrony wasn't able to give me the required accuracy,     the delta often more that 100us.     Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>     Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-27 22:00:48 Joseph Salisbury tags kernel-da-key kernel-hyper-v xenial yakkety zesty
2017-03-27 22:00:57 Joseph Salisbury nominated for series Ubuntu Zesty
2017-03-27 22:00:57 Joseph Salisbury bug task added linux (Ubuntu Zesty)
2017-03-27 22:00:57 Joseph Salisbury nominated for series Ubuntu Yakkety
2017-03-27 22:00:57 Joseph Salisbury bug task added linux (Ubuntu Yakkety)
2017-03-27 22:00:57 Joseph Salisbury nominated for series Ubuntu Xenial
2017-03-27 22:00:57 Joseph Salisbury bug task added linux (Ubuntu Xenial)
2017-03-27 22:01:04 Joseph Salisbury linux (Ubuntu Xenial): status New Triaged
2017-03-27 22:01:06 Joseph Salisbury linux (Ubuntu Yakkety): status New Triaged
2017-03-27 22:01:10 Joseph Salisbury linux (Ubuntu Zesty): status Confirmed Triaged
2017-03-27 22:01:13 Joseph Salisbury linux (Ubuntu Xenial): importance Undecided Medium
2017-03-27 22:01:15 Joseph Salisbury linux (Ubuntu Yakkety): importance Undecided Medium
2017-03-27 22:01:18 Joseph Salisbury linux (Ubuntu Zesty): importance Undecided Medium
2017-03-28 20:50:03 Tim Gardner linux (Ubuntu Zesty): status Triaged Fix Committed
2017-03-28 21:33:54 Tim Gardner linux (Ubuntu Yakkety): status Triaged In Progress
2017-03-28 21:33:54 Tim Gardner linux (Ubuntu Yakkety): assignee Tim Gardner (timg-tpi)
2017-03-29 03:46:41 Doub bug added subscriber Doub
2017-04-08 01:48:20 Launchpad Janitor linux (Ubuntu Zesty): status Fix Committed Fix Released
2017-04-08 01:48:20 Launchpad Janitor cve linked 2017-7308
2017-04-14 12:29:25 Tobias Wolf bug added subscriber Tobias Wolf
2017-04-23 17:10:59 Daniel bug added subscriber Daniel
2017-05-08 14:39:30 Thadeu Lima de Souza Cascardo linux (Ubuntu Yakkety): status In Progress Fix Committed
2017-05-18 16:24:06 Brad Figg linux (Ubuntu Xenial): status Triaged Won't Fix
2017-05-18 16:24:55 Brad Figg linux (Ubuntu Xenial): status Won't Fix Triaged
2017-05-18 16:26:09 Joseph Salisbury linux (Ubuntu Xenial): status Triaged In Progress
2017-05-18 16:26:14 Joseph Salisbury linux (Ubuntu Xenial): assignee Joseph Salisbury (jsalisbury)
2017-05-29 10:12:23 Kleber Sacilotto de Souza tags kernel-da-key kernel-hyper-v xenial yakkety zesty kernel-da-key kernel-hyper-v verification-needed-yakkety xenial yakkety zesty
2017-06-02 21:15:51 Alberto Ornaghi bug added subscriber Alberto Ornaghi
2017-06-04 21:37:33 Bryan Silverthorn bug added subscriber Bryan Silverthorn
2017-06-06 13:18:45 Kleber Sacilotto de Souza tags kernel-da-key kernel-hyper-v verification-needed-yakkety xenial yakkety zesty kernel-da-key kernel-hyper-v verification-done-yakkety xenial yakkety zesty
2017-06-06 14:47:18 Launchpad Janitor linux (Ubuntu Yakkety): status Fix Committed Fix Released
2017-06-06 14:47:18 Launchpad Janitor cve linked 2017-0605
2017-06-08 22:02:26 Paul Gear bug added subscriber The Canonical Sysadmins
2017-06-10 15:17:17 Rakesh Ginjupalli bug added subscriber Rakesh
2017-06-12 07:32:32 Junien F bug added subscriber Junien Fridrick
2017-06-14 14:34:11 Corey Melanson bug added subscriber Corey Melanson
2017-06-21 14:24:07 Joseph Salisbury linux (Ubuntu Xenial): importance Medium High
2017-06-26 12:10:03 Marcelo Cerri linux (Ubuntu Yakkety): assignee Tim Gardner (timg-tpi)
2017-07-03 16:31:49 Thadeu Lima de Souza Cascardo linux (Ubuntu Xenial): status In Progress Fix Committed
2017-07-04 11:36:37 Marcelo Cerri linux (Ubuntu Xenial): assignee Joseph Salisbury (jsalisbury) Marcelo Cerri (mhcerri)
2017-07-07 12:56:28 Brad Figg tags kernel-da-key kernel-hyper-v verification-done-yakkety xenial yakkety zesty kernel-da-key kernel-hyper-v verification-done-xenial verification-done-yakkety xenial yakkety zesty
2017-07-24 07:59:49 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2017-07-24 07:59:49 Launchpad Janitor cve linked 2017-1000364
2018-06-25 20:48:19 Dexuan Cui bug added subscriber Dexuan Cui