** Changed in: nova/grizzly
Status: Fix Committed => Fix Released
--
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/1164784
Title:
console auth does not work with memcache, unicode error (again)
Status in OpenStack Compute (Nova):
Fix Committed
Status in OpenStack Compute (nova) grizzly series:
Fix Released
Bug description:
Get the following error when deleting an instance in consoleauth logs
2013-04-05 10:56:38 19753 ERROR nova.openstack.common.rpc.amqp [-] Exception
during message handling
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp Traceback
(most recent call last):
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276,
in _process_data
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp rval =
self.proxy.dispatch(ctxt, version, method, **args)
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py",
line 145, in dispatch
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp return
getattr(proxyobj, method)(ctxt, **kwargs)
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/consoleauth/manager.py", line 118, in
delete_tokens_for_instance
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/memcache.py", line 421, in delete
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp
self.check_key(key)
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/memcache.py", line 1014, in check_key
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp "Keys must
be str()'s, not unicode. Convert your unicode "
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp
MemcachedStringEncodingError: Keys must be str()'s, not unicode. Convert your
unicode strings using mystring.encode(charset)!
2013-04-05 10:56:38 19753 TRACE nova.openstack.common.rpc.amqp
2013-04-05 10:56:38 19753 ERROR nova.openstack.common.rpc.common [-]
Returning exception Keys must be str()'s, not unicode. Convert your unicode
strings using mystring.encode(charset)! to caller
2013-04-05 10:56:38 19753 ERROR nova.openstack.common.rpc.common [-]
['Traceback (most recent call last):\n', ' File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276,
in _process_data\n rval = self.proxy.dispatch(ctxt, version, method,
**args)\n', ' File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py",
line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n',
' File "/usr/lib/python2.7/dist-packages/nova/consoleauth/manager.py", line
118, in delete_tokens_for_instance\n', ' File
"/usr/lib/python2.7/dist-packages/memcache.py", line 421, in delete\n
self.check_key(key)\n', ' File "/usr/lib/python2.7/dist-packages/memcache.py",
line 1014, in check_key\n "Keys must be str()\'s, not unicode. Convert your
unicode "\n', "MemcachedStringEncodingError: Keys must be str()'s, not unicode.
Convert your unicode strings using mystring.encode(charset)!\n"]
Note this is practically the same as bug 1057279
It would be good if we could integrate memcache into our testing somehow to
prevent these things from happening.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1164784/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp