Comment 1 for bug 2043224

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/900611
Committed: https://opendev.org/starlingx/stx-puppet/commit/a4b472162468797118a9888edd12c8c68634df51
Submitter: "Zuul (22348)"
Branch: master

commit a4b472162468797118a9888edd12c8c68634df51
Author: Takamasa Takenaka <email address hidden>
Date: Fri Nov 10 09:19:11 2023 -0300

    Add hwclock sync when datetime sync

    Currently there is a mechanism to sync date time
    with controller-0 during installation via ntp
    but no process to synchronize date time to hardware
    clock.

    This fix will add hardware clock sync with system date
    when system date is synced with controller-0.

    Closes-bug: 2043224

    Test Plan:
    PASS: Set hardware clock different from controller-0
          in each node and fresh install DX,Standard,
          Storage,DC. Enter each node after installation
          and confirm:
          - Install finished successfully
          - System date is synced with controller-0
          - Hardware clock is synced with system date.
    PASS: Set hardware clock different from controller-0
          in hardware lab and fresh install. Confirm
          system date and hardware clock are synced
          with controller-0
    PASS: Confirm in SX:
          - When ntp is not set, hwclock does not sync
            with system date
          - When ntp is configured with reachable ntp
            server, hwclock is updated with system date
          - When ntp is configured with unreachable ntp
            server, hwclock does not sync with system date

    Change-Id: I29caf94eaeeed366e28069908383eac0577e9fc0
    Signed-off-by: Takamasa Takenaka <email address hidden>