breakage when using non-US locales
|Category:||Drivers - Auth|
|Target version:||Release 2.2|
When using the fr_FR locale on the frontend node, many things break due to unexpected script output.
Here's a quick list of issues I saw:
- "onehost list" shows 0 or even negative values for CPU fields and TMEM
- "onevm create" works but gets "Domaine" as the deploymend id, breaking vm monitoring and further lifecycle operation
- "onevm list" reports bad numbers (even after manually fixing the deployment id)
The fix for me was to use en_US on the front-end and compute nodes.
I'm also sorry to report that this problem was reported on the list in the past :p
I think the docs should be updated to mention this, at a minimum.
An extra step would be to add a warning (oned.log ?) if the locale isn't en_US.
A more risky approach would be to try and export LC_ALL=en_US somewhere that'd take care of all remote scripts.