fix instance rebuilds (compute manager and metadata)

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

Bug Description

The ability to rebuild a server via the OS API is currently broken:

-nova-compute fails in the compute manager when rebuilding an instance with:

  (nova.exception): TRACE: TypeError: rebuild_instance() got an unexpected keyword argument 'injected_files'

-the OS API v1.1 should allow metadata to be updated on a rebuild. The OS API fails to update metadata on a v1.1 rebuild with:

  (nova.api.openstack): TRACE: TypeError: Incompatible collection type: dict is not list-like

Fix these two issues so that rebuild works.

Related branches

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
description: updated
Revision history for this message
Dan Prince (dan-prince) wrote :

Add 'name' to that list as well.

v1.1 server rebuilds should also support the ability to optionally update the name of the server as well.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → High
Dan Prince (dan-prince)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-1
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-1 → 2011.3
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.