91ba21dd6c
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 |
||
---|---|---|
.. | ||
block_device | ||
elements | ||
graph | ||
lib | ||
tests | ||
__init__.py | ||
disk_image_create.py | ||
element_dependencies.py | ||
logging_config.py | ||
paths.py | ||
utils.py | ||
version.py |