Suspended or migrated instances may have a wrong time on restore
Bug #1593745 reported by
Vladik Romanovsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vladik Romanovsky |
Bug Description
When a VM is resumed from suspension and/or migrated, its clock
continues from the time of suspension, i.e. it's delayed.
Running the ntpd services on the instances would not help, as ntpd can only correct minor time difference.
Changed in nova: | |
assignee: | nobody → Vladik Romanovsky (vladik-romanovsky) |
Changed in nova: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/316116 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0376da0627b 022bc6aeb3e4232 50f9e29181f9ab
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0376da0627b022b c6aeb3e423250f9 e29181f9ab
Author: Vladik Romanovsky <email address hidden>
Date: Thu May 12 19:33:33 2016 -0400
libvirt: update guest time after suspend
When an instance is resumed from suspension or a migration, the guest's
clock might get a large delay between the current and the suspension time.
In some cases, NTP might not be able to resynchronize the guest time and
will result in a skewed clock.
In order to address the issue, this patch will try to set the guest time
after it is resumed. This operation will require the guest agent to be
configured and running in order to be able to run. However, this operation
will not be disruptive.
This code is similar to a change that has been commited to oVirt. /gerrit. ovirt.org/ #/c/50426
https:/
Closes-Bug: #1593745 502ccdc067f6229 0fd962c8c64
Change-Id: I2732af50aab238