Message for instances in error state isn't expanded

Bug #917768 reported by Daryl Walleck
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Kevin L. Mitchell

Bug Description

I've noticed that when a server flips to error status, the fault field is displayed, but the actual error message isn't inserted.

Example:

"fault": {"message": "RemoteError", "code": 500, "details": "Remote error: %(exc_type)s %(value)s\n%(traceback)s."}

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/3108

Changed in nova:
assignee: nobody → Kevin L. Mitchell (klmitch)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3108
Committed: http://github.com/openstack/nova/commit/e96176ac634587f912839ac56f2590eedc6e612c
Submitter: Jenkins
Branch: master

commit e96176ac634587f912839ac56f2590eedc6e612c
Author: Kevin L. Mitchell <email address hidden>
Date: Tue Jan 17 12:59:42 2012 -0600

    Fix an error that prevents message from getting substituted.

    The problem: self.__dict__ contains message. This overrides the
    default of None for the NovaException constructor. Since a
    message is provided, it's used directly instead of trying to
    substitute the keyword arguments. The solution is to limit the
    keyword arguments we pass to the NovaException constructor, so
    they don't contain message. Fixes bug 917768.

    Change-Id: I5986fa7b552c84ba7f902e78b32498ab294beb7b

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.