yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87436
[Bug 959670] Re: Notification message format is incorrect
The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release
** Changed in: glance (Ubuntu Precise)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/959670
Title:
Notification message format is incorrect
Status in Glance:
Fix Released
Status in glance package in Ubuntu:
Fix Released
Status in glance source package in Precise:
Won't Fix
Bug description:
[INFO at 2012-02-22 18:46:03,845 line: 155] Received message on queue glance_notifications.info
[ERROR at 2012-02-22 18:46:03,885 line: 35] Error in fetched_messages:
string indices must be integers
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/yagi/consumer.py", line 33, in fetched_messages
self.app(messages)
File "/usr/lib/pymodules/python2.6/yagi/handler/atompub_handler.py", line 10, in __call__
yagi.notifier.atompub.notify(messages)
File "/usr/lib/pymodules/python2.6/yagi/notifier/atompub.py", line 51, in notify
id=notification['message_id'],
TypeError: string indices must be integers
The expectation is that glance would implement the notifications
drivers identically to Nova. In the long run, we should move all of
the notifications code into common so that this doesn't happen again.
However, the deeper I dug, the harder the problem became. As such, the
short-term fix is to ensure glance sends notifications properly and
make sure the unit tests are pedantic about the format.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959670/+subscriptions