Merge lp:~soren/nova/libvirt-reconnect into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Eric Day | ||||
Approved revision: | 259 | ||||
Merged at revision: | 262 | ||||
Proposed branch: | lp:~soren/nova/libvirt-reconnect | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
27 lines (+13/-1) 1 file modified
nova/virt/libvirt_conn.py (+13/-1) |
||||
To merge this branch: | bzr merge lp:~soren/nova/libvirt-reconnect | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Day (community) | Approve | ||
Jay Pipes (community) | Approve | ||
Review via email: mp+34063@code.launchpad.net |
Commit message
Reconnect to libvirt on broken connection.
Description of the change
If libvirt is restarted, nova-compute gets very sad. This patch makes it detect the failure and reestablish the connection. This is quite handy if one happens to also develop on libvirt.
To post a comment you must log in.
Nice.