[sru] 'unhashable type' when sending notifications via Qpid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Russell Bryant | ||
Essex |
Fix Released
|
Undecided
|
Unassigned | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
When I set notifier_strategy = noop and add a image to glance it works well, but when I set notifier_strategy = qpid and add a image to glance it doesn't work! I have check my qpid with qpid's examples and it works well!
The error message is here:
[openstack@cc images]$ glance -I glance -K service123 -T service -N http://
Uploading image 'tty-linux-kernel'
=======
Failed to add image. Got error:
The request returned 500 Internal Server Error
The response body:
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
request, **action_args)
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
image_meta = self._handle_
File "/usr/lib/
image_meta = self._upload_
File "/usr/lib/
location = self._upload(req, image_meta)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "<string>", line 6, in send
File "/usr/lib/
self.
File "/usr/lib/
result = self._ewait(lambda: self.closed or predicate(), timeout)
File "/usr/lib/
result = self.session.
File "/usr/lib/
result = self.connection
File "/usr/lib/
self.
File "/usr/lib/
raise self.error
InternalError: Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(snd, msg)
File "/usr/lib/
sst.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
payload = remaining[
TypeError: unhashable type
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 31 lines (+10/-3)2 files modifieddebian/changelog (+6/-0)
debian/glance-common.postinst (+4/-3)
Changed in glance: | |
assignee: | nobody → Russell Bryant (russellb) |
status: | Incomplete → In Progress |
importance: | Undecided → High |
Changed in glance: | |
importance: | Medium → High |
Changed in glance: | |
status: | Fix Committed → Fix Released |
summary: |
- 'unhashable type' when sending notifications via Qpid + [sru] 'unhashable type' when sending notifications via Qpid |
Changed in nova (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
assignee: | nobody → Chuck Short (zulcss) |
affects: | nova (Ubuntu) → glance (Ubuntu) |
Changed in glance (Ubuntu): | |
status: | New → In Progress |
Changed in glance (Ubuntu Precise): | |
status: | New → In Progress |
tags: |
added: verification-done removed: verification-needed |
Changed in glance (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in glance: | |
milestone: | folsom-1 → 2012.2 |
Can you dig up the relevant logs? I'm curious what the message was that couldnt be sent.