vagrant deploy fails due to DB encoding issues

Bug #1070855 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Deployment Tool
Fix Released
Undecided
Unassigned

Bug Description

Having got around lp:1070838, there's next issue:

Successfully installed zc.buildout uWSGI bzr
Cleaning up...
+ set +xe
Running installation step database
createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US
DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.
Failed to create a database
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell
pfalcon@x34f:~/devel/linaro/lava/lava-deployment-tool$

Related branches

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Ok, --locale=en_US.UTF-8 is also required to createdb, see http://stackoverflow.com/questions/8351436/change-lc-ctype-for-postgresql-and-postgis-use for example.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

See linked merge request for fix.

Changed in lava-deployment-tool:
status: New → In Progress
Changed in lava-deployment-tool:
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.