image build fails due to ansible LANG override
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bifrost |
Fix Released
|
High
|
Julia Kreger |
Bug Description
At some point, ansible change it's default lang for module execution from "C" to "en_US.UTF-8". While over-all this is good, this is passed to diskimage-builder and can cause image builds to fail if the base images are not equipped with the localization packages required for that type to be utilized. In particular, python resulting in the error "Error: unsupported locale setting" when performing a default install.
This was reproducible with a base install building debian jessie images. No ansible.cfg overriding the local settings, and as such the default is getting picked up and passed in. Likely this has now become more visble due to substrate image changes in a newer build of jessie.
Workaround:
export LANG=C
Changed in bifrost: | |
importance: | Undecided → High |
assignee: | nobody → Julia Kreger (juliaashleykreger) |
status: | New → In Progress |
Changed in bifrost: | |
status: | In Progress → Fix Released |
This issue was fixed in the openstack/bifrost 2.0.0 release.