yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33068
[Bug 1457279] Re: keystoneclient cannot log non-ascii data
This should be targeted to python-keystoneclient
** Project changed: keystone => python-keystoneclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1457279
Title:
keystoneclient cannot log non-ascii data
Status in Python client library for Keystone:
New
Bug description:
In keystoneclient/session.py file, _http_log_request method, we have below codes:
if data:
string_parts.append("-d '%s'" % data)
logger.debug(' '.join(string_parts))
However, if data is not in ascii chars, this might cause error like:
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xbb' in position 10: ordinal not in range(128)
This is also the reason of bug https://bugs.launchpad.net/horizon/+bug/1453953
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1457279/+subscriptions
References