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
This commit is contained in:
Bharat Kunwar 2019-08-15 13:03:46 +00:00
parent b99673f87c
commit 06f78353f4

View File

@ -2,4 +2,6 @@
/opt/heat-container-agent/configure_container_agent.sh
export LC_ALL=C
exec os-collect-config --debug