when using memcache, nova host-list cause api exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Yaguang Tang |
Bug Description
nova host-list when using memcache
2013-08-14 09:18:57.245 TRACE nova.api.openstack File "/opt/stack/
2013-08-14 09:18:57.245 TRACE nova.api.openstack set_zones=True)
2013-08-14 09:18:57.245 TRACE nova.api.openstack File "/opt/stack/
2013-08-14 09:18:57.245 TRACE nova.api.openstack services)
2013-08-14 09:18:57.245 TRACE nova.api.openstack File "/opt/stack/
2013-08-14 09:18:57.245 TRACE nova.api.openstack cache.delete(
2013-08-14 09:18:57.245 TRACE nova.api.openstack File "/usr/lib/
2013-08-14 09:18:57.245 TRACE nova.api.openstack self.check_key(key)
2013-08-14 09:18:57.245 TRACE nova.api.openstack File "/usr/lib/
2013-08-14 09:18:57.245 TRACE nova.api.openstack "Keys must be str()'s, not unicode. Convert your unicode "
2013-08-14 09:18:57.245 TRACE nova.api.openstack MemcachedString
2013-08-14 09:18:57.245 TRACE nova.api.openstack
fix should be something like this
diff --git a/nova/
index d627fa0..869ad87 100644
--- a/nova/
+++ b/nova/
@@ -56,7 +56,7 @@ def _reset_cache():
def _make_cache_
- return "azcache-%s" % host
+ return "azcache-%s" % str(host)
Changed in nova: | |
assignee: | nobody → Yaguang Tang (heut2008) |
tags: | added: api |
Changed in nova: | |
importance: | Undecided → High |
tags: | added: grizzly-backport-potential |
Changed in nova: | |
status: | New → Triaged |
status: | Triaged → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
tags: | removed: grizzly-backport-potential |
Fix proposed to branch: master /review. openstack. org/41873
Review: https:/