fix instance rebuilds (compute manager and metadata)
Bug #789741 reported by
Dan Prince
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.
Fix these two issues so that rebuild works.
Related branches
lp:~rackspace-titan/nova/fix_rebuild
- Mark Washenberger (community): Approve
- Devin Carlen (community): Approve
- Jay Pipes (community): Approve
-
Diff: 322 lines (+165/-26)6 files modifiednova/api/openstack/servers.py (+6/-4)
nova/compute/api.py (+8/-5)
nova/compute/manager.py (+3/-2)
nova/db/sqlalchemy/api.py (+34/-13)
nova/tests/integrated/api/client.py (+8/-2)
nova/tests/integrated/test_servers.py (+106/-0)
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-1 |
Changed in nova: | |
milestone: | diablo-1 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.