folsom nova-cert ver 2012.2 locale support

Bug #1064427 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

OS: Ubuntu 12.04.1 LTS Precise
default locale: ru_RU

#cat /var/lib/locales/supported.d/local
ru_RU.UTF-8 UTF-8
en_US.UTF-8 UTF-8

#cat /etc/default/locale
LANG="ru_RU.UTF-8"

If I try service nova-cert start I get an error in /var/log/upstart/nova-cert.log:
  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/log.py", line 264, in logging_excepthook
    getLogger(product_name).critical(str(value), **extra)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-10: ordinal not in range(128)

if I change locale to LANG="en_US.UTF-8" and reboot, nova-cert service starts OK.

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Joe Gordon (jogo) wrote :

Is this still valid? It was filed against Folsom and we are now on Icehouse

Changed in nova:
status: Confirmed → Incomplete
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Invalid
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.