error injecting data into image: 'dict' object has no attribute 'key')

Bug #1034040 reported by Dan Prince
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Prince

Bug Description

Using Nova Folsom as of this morning.... I'm seeing the following log messages when using Libvirt to spawn instances:

2012-08-07 15:47:21 INFO nova.virt.libvirt.driver [req-5ba56c97-9027-425e-b6f3-a066dcd8e987 f0df4681387f43ef9da9184e3bbc5f53 acba50a5a0c748c5824e08e4cc7db16c] [instance: 9197387f-f46b-406d-b183-27df9536ce92] Injecting files into image 9dcc5a2e-2957-48a2-a300-d64c3ca0fc99
2012-08-07 15:48:02 WARNING nova.virt.libvirt.driver [req-5ba56c97-9027-425e-b6f3-a066dcd8e987 f0df4681387f43ef9da9184e3bbc5f53 acba50a5a0c748c5824e08e4cc7db16c] [instance: 9197387f-f46b-406d-b183-27df9536ce92] Ignoring error injecting data into image 9dcc5a2e-2957-48a2-a300-d64c3ca0fc99 ('dict' object has no attribute 'key')

----

Doesn't seem to cause spawn failures but we should look into this...

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
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/10975

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

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

commit c35b853f0fa9d41c50dd21c858bf9ffca1318953
Author: Dan Prince <email address hidden>
Date: Tue Aug 7 12:31:48 2012 -0400

    Fix the inject_metadata_into_fs in the disk API.

    Updates the _inject_metadata_into_fs in the disk/api.py so
    that it uses dict-style access. This resolves an issue introduced
    in a recent no-db-messaging change.

    Includes new test case.

    Fixes LP Bug #1034040.

    Change-Id: I1bc90a8331419709ab71e5da8c48cd1d54c40f9e

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-3 → 2012.2
Revision history for this message
Nir Magnezi (nmagnezi) wrote :

The bug just reproduced with Essex.

2012-09-27 16:44:30 WARNING nova.virt.libvirt.connection [req-5b7ab945-b9a8-493e-8b39-4d5ff42fd1c5 e08865148b13448cb35dc9b868308056 ba8a9c7d0f574b679ef12e16f82cb95c] [instance: 07c809eb-a829-4537-b81d-2b5c397eb8b7] Ignoring error injecting data into image 0d6c56b2-01dc-4fdf-b67e-ef967f3d6eb0 (

I didn't notice any other problem caused by it.
was the fix commited in Essex barnch as well?

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.