Use event based connection failure handling if libvirt is new enough
Bug #1154635 reported by
Russell Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Jason Dillaman |
Bug Description
This is related to https:/
This bug pointed out the fact that the reconnect handling used in the libvirt driver is fragile and doomed to break again in the future. To quote danpb from https:/
"This approach is really doomed to failure in general since libvirt can change which error code is raised in a particular scenario at any release. This change isn't making life worse though, so I'll ACK it.
Libvirt >= 0.10.0 has support for triggering a formal event callback when a connection is lost. For the future, we should plan to use that in preference to this error check hack if we have new enough libvirt. "
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → havana-1 |
Changed in nova: | |
milestone: | havana-1 → none |
Changed in nova: | |
assignee: | nobody → Jason Dillaman (jdillaman) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/32215
Review: https:/