instance faults overriden by: format requires a mapping error

Bug #948154 reported by Alex Meade on 2012-03-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Alex Meade

Bug Description

The instance faults table is reporting the incorrect error:

format requires a mappingformat requires a mapping
  File "/usr/lib/python2.6/dist-packages/nova/compute/", line 171, in decorated_function
    return function(self, context, instance_uuid, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/nova/compute/", line 644, in run_instance
    self._run_instance(context, instance_uuid, **kwargs)
  File "/usr/lib/python2.6/dist-packages/nova/compute/", line 443, in _run_instance
    self._shutdown_instance_even_if_deleted(context, instance_uuid)
  File "/usr/lib/python2.6/dist-packages/nova/compute/", line 403, in _shutdown_instance_even_if_deleted
    "instance"), instance=instance_uuid)
  File "/usr/lib/python2.6/logging/", line 1336, in exception
    msg, kwargs = self.process(msg, kwargs)
  File "/usr/lib/python2.6/dist-packages/nova/", line 160, in process
    instance_extra = FLAGS.instance_format % instance

This is because there are a few log lines in compute manager passing instance=instance_uuid but it expects a dictionary.

Alex Meade (alex-meade) on 2012-03-06
Changed in nova:
assignee: nobody → Alex Meade (alex-meade)
status: New → In Progress

Submitter: Jenkins
Branch: master

commit b425676da955b13dd033db6ac67ba1bb7dcf28c8
Author: Alex Meade <email address hidden>
Date: Tue Mar 6 16:28:00 2012 +0000

    Fixing incorrect use of instance keyword in logging.

    Fixes bug 948154

    Change-Id: I8adc48482c26528d1e671c8e038c23caaa0f861d

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-20
Changed in nova:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers