diskimage-builder/diskimage_builder
Ian Wienand 91ba21dd6c Set LC_ALL in disk-image-create
It seems that the redhat nodepool job is quite reliably geting a
"floating point" error during centos image build.  This happens after
03-yum-cleanup which is pruning the locales.  This might be a
red-herring, since the logs are full of

  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

I think in our recent de-puppetisation of hosts, something might have
changed that is setting LC_ALL=C.UTF-8 for the jenkins user, at least
on Ubuntu.  This is a problem for centos, as it doesn't have C.UTF-8
locale.  I then think using the invalid locale is what leads the the
floating-point error when doing some maths in dib-run-parts to
calculate runtimes.

We are currently overriding LANG, but we really want LC_ALL to ensure
this applies globally.

Change-Id: I8e7cae093c4b32e0d20b73ae0086f14c7cc6a9cb
2017-05-03 11:31:11 +10:00
..
block_device Refactor block_device: isolate the getval call 2017-05-01 12:22:52 +02:00
elements Merge "Clean out apt index caches at end of image build" 2017-05-01 08:09:07 +00:00
graph Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
lib Set LC_ALL in disk-image-create 2017-05-03 11:31:11 +10:00
tests Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
__init__.py Bump hacking to 0.9.x series 2014-07-21 10:15:41 +02:00
disk_image_create.py squash-package-install to use the correct python 2017-03-13 20:24:39 +11:00
element_dependencies.py Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
logging_config.py Add python logger configuration 2016-06-16 13:54:50 +10:00
paths.py Move diskimage-image-create to an entry point 2016-11-02 05:12:11 +00:00
utils.py Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
version.py Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00