← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1064427] Re: folsom nova-cert ver 2012.2 locale support

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1064427

Title:
  folsom nova-cert ver 2012.2 locale support

Status in OpenStack Compute (Nova):
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1064427/+subscriptions