From 06f78353f4b9f87f776158a72e8589e05d965126 Mon Sep 17 00:00:00 2001 From: Bharat Kunwar Date: Thu, 15 Aug 2019 13:03:46 +0000 Subject: [PATCH] Fix heat-container-agent by setting LC_ALL=C At the moment, the Python locale module expects `en_US.utf8` to be present. More recent fedora rawhides only come with `C`, `C.utf8` and `POSIX` locale options unlike the older rawhides. The workaround is to build the Dockerfile with environment variable `LC_ALL` set to `C`. See https://storyboard.openstack.org/#!/story/2006381#comment-141003 for a longer description of the problem. Change-Id: I412dd84f09dc217f2c9d974fe203c296b0710ef0 Story: 2006381 Task: 36184 --- dockerfiles/heat-container-agent/launch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockerfiles/heat-container-agent/launch b/dockerfiles/heat-container-agent/launch index bdba74cda3..f985caff7c 100755 --- a/dockerfiles/heat-container-agent/launch +++ b/dockerfiles/heat-container-agent/launch @@ -2,4 +2,6 @@ /opt/heat-container-agent/configure_container_agent.sh +export LC_ALL=C + exec os-collect-config --debug