Speedup listing of domains in libvirt driver (partial)

Registered by Daniel Berrange

The libvirt driver currently uses the legacy libvirt APIs for getting
lists of domains. These are inefficient and prone to race conditions,
so have been replaced by much better designed APIs.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Daniel Berrange
Direction:
Approved
Assignee:
Daniel Berrange
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:libvirt-domain-listing-speedup,n,z

Addressed by: https://review.openstack.org/102290
    Speedup listing of domains in libvirt driver

Gerrit topic: https://review.openstack.org/#q,topic:bp/libvirt-domain-listing-speedup,n,z

Addressed by: https://review.openstack.org/105121
    libvirt: more efficient method to list domains on host

Addressed by: https://review.openstack.org/105122
    libvirt: speed up list_instance_uuids method

Addressed by: https://review.openstack.org/105123
    libvirt: speed up list_instances method

Addressed by: https://review.openstack.org/105124
    libvirt: speed up get_all_block_devices method

Addressed by: https://review.openstack.org/105125
    libvirt: speed up get_vcpus method

Addressed by: https://review.openstack.org/105126
    libvirt: speed up get_memory_mb_used method

Addressed by: https://review.openstack.org/105127
    libvirt: speed up _get_disk_over_committed_size_total method

Addressed by: https://review.openstack.org/105128
    libvirt: remove flawed get_num_instances method impl

Addressed by: https://review.openstack.org/105129
    libvirt: remove unused list_instance_ids method

Addressed by: https://review.openstack.org/101891
    vmwareapi: make method signatures match parent class

Addressed by: https://review.openstack.org/106293
    libvirt: fix typo in fakelibvirt listAllDomains()

All patches that are up for review have been merged, so I am calling this partially implemented. No more patches for juno please, as we are past the Feature Proposal Freeze. --johnthetubaguy 22nd August 2014

It is fully implemented, No further work is anticipated. -- danpb

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.