← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312971] Re: mod_wsgi exception processing UTF-8 Header

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1312971

Title:
  mod_wsgi exception processing UTF-8 Header

Status in OpenStack Identity (Keystone):
  Fix Released
Status in Python client library for Keystone:
  Triaged

Bug description:
  Using master version of python-keystoneclient (not yet released)
  gives the following error when running with Keystone in Apache HTTPD
  and requesting a V3 Token

  
   [Fri Apr 25 18:28:14.775659 2014] [:error] [pid 5075] [remote 10.10.63.250:2982] mod_wsgi (pid=5075): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/main'.
   [Fri Apr 25 18:28:14.775801 2014] [:error] [pid 5075] [remote 10.10.63.250:2982] TypeError: expected byte string object for header value, value of type unicode found

  Its due to the utf-8 encoding in keystoneclient/common/cms.py  which
  is making the PKI token Unicode instead of str.

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


References