add libvirt min version check

Bug #1012689 reported by Dan Prince
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Dan Prince

Bug Description

We should add a check to Nova compute so that on startup it checks the min required libvirt version. This would potentially head of some rather cryptic compute bugs that can occur if you try to use an older libvirt version with Nova.

I recently hit some issues with the virDomain.reset() call being used to reboot instances in Nova.

The min required version for resize seems to be 0.9.7... see following command from danpb:

# eu-readelf -a /usr/lib64/libvirt.so | grep virDomainReset | grep LIBVIRT
  599: 00000000000dc3f0 551 FUNC GLOBAL DEFAULT 12 virDomainReset@@LIBVIRT_0.9.7

So it appears 0.9.7 is now our new min required version.

Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → Low
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/8474

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/8474
Committed: http://github.com/openstack/nova/commit/f28731c1941e57b776b519783b0337e52e1484ab
Submitter: Jenkins
Branch: master

commit f28731c1941e57b776b519783b0337e52e1484ab
Author: Dan Prince <email address hidden>
Date: Wed Jun 13 10:11:04 2012 -0400

    Add libvirt min version check.

    Fixes LP Bug #1012689.

    Change-Id: I91c0b7c41804b2b25026cbe672b9210c305dc29b

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-2 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.