Bug 1688048
Summary: | Undercloud deploy containers fail to start - stat /etc/localtime: no such file or directory | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pavel Sedlák <psedlak> |
Component: | python-tripleoclient | Assignee: | Alex Schultz <aschultz> |
Status: | CLOSED ERRATA | QA Contact: | Sasha Smolyak <ssmolyak> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 15.0 (Stein) | CC: | aschultz, emacchi, hbrock, jjoyce, jschluet, jslagle, m.andre, mburns, sasha, slinaber, tvignaud |
Target Milestone: | beta | Keywords: | Reopened, Triaged |
Target Release: | 15.0 (Stein) | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | python-tripleoclient-11.3.1-0.20190328080340.0132e7d.el8ost | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-21 11:20:32 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: | |
Embargoed: |
Description
Pavel Sedlák
2019-03-13 01:26:00 UTC
The issue isn't related to podman or containers at all, but purely with localtime: [root@undercloud ~]# ls -al /etc/localtime lrwxrwxrwx. 1 root root 23 Mar 13 00:35 /etc/localtime -> /usr/share/zoneinfo/EDT [root@undercloud ~]# ls /usr/share/zoneinfo/EDT ls: cannot access '/usr/share/zoneinfo/EDT': No such file or directory I think Alex is fixing it with https://review.openstack.org/#/c/642589 Just to note, updating symlink on UC node first manually (e.g. `ln -snf /usr/share/zoneinfo/UTC /etc/localtime`) as workaround, does work and makes undercloud deployment pass for me. I'll have to check if the switch to ansible addresses this issue. I believe this is related to a broken RHEL8 image being used. We don't configure EDT so if that's wrong prior to deployment of the undercloud then that's coming from the base image used. I just checked out a newer RHEL8 guest image and /etc/localtime is correctly set to ../usr/share/zoneinfo/America/New_York [cloud-user@undercloud ~]$ ls -al /etc/localtime lrwxrwxrwx. 1 root root 38 Mar 13 14:31 /etc/localtime -> ../usr/share/zoneinfo/America/New_York I finally hit this. Will dig into it deeper. "Notice: /Stage[main]/Timezone/File[/etc/localtime]/target: target changed '../usr/share/zoneinfo/America/New_ York' to '/usr/share/zoneinfo/EDT'", This is likely a bug in puppet-timezone which would be addressed by the referenced patch to switch to ansible. *** Bug 1689396 has been marked as a duplicate of this bug. *** The timezone is fixed, deployment successful. Verified 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. https://access.redhat.com/errata/RHEA-2019:2811 |