Formatting error for error messages
Bug #877417 reported by
haribabu kasturi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Philip Knouff |
Bug Description
We integrated Diablo with yagi to check error notifications. While checking the following scenarios we are getting “%s” instead of proper error messages.
1. Start all nova services , then stop only nova-compute and try to reboot a running instance.
2. Try to remove an image using euca-deregister with a non existing image ID.
Affects nova/api/ec2
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | nobody → Philip Knouff (philip-knouff) |
status: | Triaged → In Progress |
Changed in nova: | |
milestone: | none → essex-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
I have fixed it in my local environment and here are the changes.
1. Goto line number 488 in ‘nova/api/ ec2/__init_ _.py’ file _('%(code) s: %(message)s') % locals())
2. Replace the line LOG.error("%s: %s" % code, message, context=context) with LOG.error(