RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 849542 - [vds-bootstrap] Host has 7 minute time difference with engine after installation
Summary: [vds-bootstrap] Host has 7 minute time difference with engine after installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Alon Bar-Lev
QA Contact: Gadi Ickowicz
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-20 07:18 UTC by Gadi Ickowicz
Modified: 2022-07-09 05:38 UTC (History)
13 users (show)

Fixed In Version: vdsm-4.9.6-31.0
Doc Type: Bug Fix
Doc Text:
Previously, the bootstrap script (vds-bootstrap) retrieved the engine time as a parameter, but did not set the clock until after installing packages. Since the package installation process took a few minues, the clock was a few minutes behind. VDSM has been updated so that the clock is set when the engine time is retrieved, and now the clock is accurate.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:07:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1508 0 normal SHIPPED_LIVE Important: rhev-3.1.0 vdsm security, bug fix, and enhancement update 2012-12-04 23:48:05 UTC

Description Gadi Ickowicz 2012-08-20 07:18:06 UTC
Description of problem:
After installing a host, the host time has about 7 minutes difference with the engine, even though SET_TIME is run during the bootstrap process

Version-Release number of selected component (if applicable):
rhevm-3.1.0-12.el6ev.noarch
vdsm-bootstrap-4.9.6-28.0.el6_3.noarch


How reproducible:
100%

Steps to Reproduce:
1. Add host to rhevm, and check time after reboot.
  
Actual results:
Host and engine time are not synchronized

Expected results:
Time should be synchronized

Additional info:

Comment 4 Alon Bar-Lev 2012-08-21 13:30:41 UTC
commit 446dafdad2385f918d9181d666e064dabf1144fa
Author: Alon Bar-Lev <alonbl>
Date:   Tue Aug 21 13:59:39 2012 +0300

    BZ#849542 bootstrap: acquire time for host immediately before send
    
    Engine uses its own clock to send current time to host during bootstrap.
    
    This change moves the point in which clock is sampled immediately
    before bootstrap command is sent, as result we have smaller clock delta.
    
    Signed-off-by: Alon Bar-Lev <alonbl>
    Change-Id: I37a6f961eecb392e0e31eeab459fbd9229e42df6

http://gerrit.ovirt.org/7381

commit da231d8eb31a88ebdb26026cacb6baa94d0e2b6d
Author: Alon Bar-Lev <alonbl>
Date:   Tue Aug 21 12:00:01 2012 +0300

    BZ#849542 bootstrap: set system time as soon as possible
    
    CURRENT BEHAVIOR
    
    Set system time after installation.
    
    NEW BEHAVIOR
    
    Set system time at first stage. This makes the time difference between
    engine and host set to minimum.
    
    Change-Id: I15f2ae43dfacf3bd38c860985d572c7513a1ee6d
    Signed-off-by: Alon Bar-Lev <alonbl>

http://gerrit.ovirt.org/7380

Comment 7 Gadi Ickowicz 2012-09-03 14:53:16 UTC
Verified on SI16. Set time now runs near the beginning of the bootstrap process, and time difference between hosts and engine is a few seconds.

vdsm-4.9.6-31.0.el6_3.x86_64
rhevm-3.1.0-14.el6ev.noarch

Comment 10 errata-xmlrpc 2012-12-04 19:07:43 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1508.html


Note You need to log in before you can comment on or make changes to this bug.