Bug 1555398
Summary: | SYNC_TIME does not work on autostarted guests | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Orion Poplawski <orion> |
Component: | libvirt | Assignee: | Tim Wiederhake <twiederh> |
Status: | CLOSED ERRATA | QA Contact: | Fangge Jin <fjin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | berrange, chhu, ddepaula, dyuan, fjin, jdenemar, knoel, virt-maint, xuzhang, yalzhang |
Target Milestone: | rc | ||
Target Release: | 8.3 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-6.10.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-25 06:41:16 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: | 6.10.0 |
Embargoed: |
Description
Orion Poplawski
2018-03-14 15:40:52 UTC
merged upstream: https://gitlab.com/libvirt/libvirt/-/commit/a501fa7cae2b93807496295945e6d3b51e5ccb3f Verify with libvirt-6.10.0-1.module Steps: 1. Set SYNC_TIME=1 in /etc/sysconfig/libvirt-guests 2. Start and enable libvirt-guests and libvirtd service systemctl start libvirtd systemctl enable libvirtd systemctl start libvirt-guests systemctl enable libvirt-guests 3. Start a vm with qemu-guest-agent configured 4. Set vm to "autostart": # virsh autostart vm 5.Reboot host 6. Check vm system time after rebooting, it is synced with rtc time: [In guest]# hwclock;date 7. Check libvirtd debug log: 2020-12-14 09:43:10.847+0000: 1148: debug : qemuAgentCommandFull:1103 : Send command '{"execute":"guest-set-time"}' for write, seconds = -2 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 (virt:av bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2098 |