image build fails due to ansible LANG override

Bug #1563338 reported by Julia Kreger
6
This bug affects 1 person
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
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/bifrost 2.0.0

This issue was fixed in the openstack/bifrost 2.0.0 release.

Dmitry Tantsur (divius)
Changed in bifrost:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.