Compute Driver Events

Registered by Daniel Berrange on 2013-02-12

This provides infrastructure for compute drivers to emit asynchronous events to report on important changes to the state of virtual machine instances. The compute manager will be adapted to make use of these events, as an alternative to running a periodic task to reconcile events. The libvirt driver is enhanced to emit such events. The result is that Nova will immediately see when any virtual instance is stopped, instead of suffering (upto) a 10 minute delay.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Medium
Drafter:
Daniel Berrange
Direction:
Needs approval
Assignee:
Daniel Berrange
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Russell Bryant on 2013-02-20
Completed by
Daniel Berrange on 2013-02-20

Related branches

Sprints

Whiteboard

Added this to the grizzly-3 list so vishy can review it and make a call on whether we can let this in. --Russell

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

Addressed by: https://review.openstack.org/21798
    Remove dead variable assignment in compute manager

Addressed by: https://review.openstack.org/21799
    Split out body of loop in _sync_power_states in compute manager

Addressed by: https://review.openstack.org/21800
    Add basic infrastructure for compute driver async events

Addressed by: https://review.openstack.org/21801
    Add support for lifecycle events in the libvirt driver

Addressed by: https://review.openstack.org/21802
    Handle lifecycle events in the compute manager

Addressed by: https://review.openstack.org/22035
    Ensure there is only one instance of LibvirtDriver

Addressed by: https://review.openstack.org/22036
    Rename 'connection' to 'driver' in libvirt HostState

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.