Nova API Memcached Encoding Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Dan Florea | ||
Grizzly |
Fix Released
|
Critical
|
Vish Ishaya |
Bug Description
I am trying to use memcached with Nova Grizzly and I get the following error in nova-api log:
2013-03-22 19:22:03.921 ERROR nova.api.openstack [req-3b839f39-
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack Traceback (most recent call last):
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return req.get_
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack application, catch_exc_
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack app_iter = application(
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return self.app(env, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack content_type, body, accept)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack request, action_args)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack **action_args)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack self._extend_
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack server[key] = self._get_
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack az = self.mc.
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack return self._get('get', key)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack self.check_key(key)
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack File "/usr/lib/
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack "Keys must be str()'s, not unicode. Convert your unicode "
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack MemcachedString
2013-03-22 19:22:03.921 10563 TRACE nova.api.openstack
I have set the memcached_servers flag in nova.conf:
memcached_
I receive the same error even when I front-end the memcached servers using a load-balancer vitual IP:
memcached_
I have yet to test, but I recall seeing a similar problem in Folsom with consoleauth/
affects: | nova → oslo |
Changed in nova: | |
assignee: | nobody → Dan Florea (dflorea) |
tags: | added: grizzly-backport-potential |
Changed in nova: | |
importance: | High → Critical |
tags: | removed: grizzly-backport-potential |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
no longer affects: | oslo-incubator |
Also, everything works fine when I remove the memcached_servers flag.