Make Virt Drivers Use Objects (Icehouse Work)

Registered by Dan Smith on 2013-10-08

Virt drivers should use objects instead of raw conductor RPC APIs when fetching data from the database.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Dan Smith on 2013-11-13
Completed by
Dan Smith on 2014-03-04

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/compute-manager-objects,n,z

Addressed by: https://review.openstack.org/50466
    Make XenAPI use Aggregate object

Addressed by: https://review.openstack.org/51751
    Make InstanceInfoCache load deleted attribute

Addressed by: https://review.openstack.org/51752
    Make virt/firewall use objects for Security Groups and Rules

Addressed by: https://review.openstack.org/51753
    Remove security_group-related methods from VirtAPI

Gerrit topic: https://review.openstack.org/#q,topic:bp/virt-objects,n,z

Addressed by: https://review.openstack.org/75948
    Pass instance object to soft_delete() and get_info()

Addressed by: https://review.openstack.org/75957
    Make interface attach and detach use objects

Addressed by: https://review.openstack.org/75971
    Document virt driver methods that take Instance objects

Addressed by: https://review.openstack.org/76001
    Make restore_instance pass the Instance object to compute manager

Addressed by: https://review.openstack.org/76007
    Update server_diagnostics to use instance object

Addressed by: https://review.openstack.org/76044
    Remove unused method inject_file()

Addressed by: https://review.openstack.org/76374
    Update pre_live_migration to take instance object

Addressed by: https://review.openstack.org/75788
    add power off vm before detach disk during unrescue

Addressed by: https://review.openstack.org/76783
    Pass Instance obj to check_instance_shared_storage

Addressed by: https://review.openstack.org/76786
    Pass Instance obj to get_console_output

Addressed by: https://review.openstack.org/77000
    Send Instance obj to remove_volume_connection

Remaining patches:
================

https://review.openstack.org/#/c/76783/
https://review.openstack.org/#/c/76786/
https://review.openstack.org/#/c/77000/

(?)

Work Items

Work items:
attach_interface: DONE
change_instance_metadata: DONE
confirm_migration: DONE
delete_instance_files: DONE
detach_interface: DONE
finish_migration: DONE
finish_revert_migration: DONE
get_all_bw_counters: DONE
get_console_output: DONE
get_rdp_console: DONE
get_spice_console: DONE
get_vnc_console: DONE
instance_on_disk: DONE
manage_image_cache: DONE
migrate_disk_and_power_off: DONE
pause: DONE
plug_vifs: DONE
power_off: DONE
power_on: DONE
reboot: DONE
rebuild: DONE
rescue: DONE
restore: DONE
resume: DONE
resume_state_on_host_boot: DONE
set_admin_password: DONE
set_bootable: DONE
snapshot: DONE
soft_delete: DONE
spawn: DONE
suspend: DONE
swap_volume: DONE
unpause: DONE
unrescue: DONE
volume_snapshot_create: DONE
volume_snapshot_delete: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.