installation of undercloud fails due to invalid /etc/localtime

Bug #1820081 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

https://review.openstack.org/#/c/628015/ added the ability to manage the timezone of the undercloud and would try and manage the existing timezone. Unfortunately the discovery of the timezone for America/New_York returns EDT which causes the wrong timezone data to be used. We need to use a different way to determine the local timezone to get the correct zoneinfo setting.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/643390

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
Brent Eagles (beagles) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/643390
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=93bff9937974bd78248f0ab6fb188710fd4b5784
Submitter: Zuul
Branch: master

commit 93bff9937974bd78248f0ab6fb188710fd4b5784
Author: Alex Schultz <email address hidden>
Date: Thu Mar 14 10:25:40 2019 -0600

    Fix timezone lookup

    Unfortunately strftime does not always return a timezone that matches up
    with what is available via zoneinfo on the file system. So instead of
    using that, this patch creates a function to use timedatectl on the host
    itself to determine what the current timezone is configured to.

    Change-Id: I0d64cb0a534b48f1aa747655f7b7d997c74d77bc
    Closes-Bug: #1820081

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 11.4.0

This issue was fixed in the openstack/python-tripleoclient 11.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.