WARNING: .. libvirt module could not be loaded. But libvirt is installed.

Bug #1094151 reported by Jay Pipes
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Davanum Srinivas (DIMS)

Bug Description

Totally low priority bug, as I can see no adverse effects from this when running tests other than the output of a warning, but when I run tests, I get a warning line per process:

jpipes@slapshot:~/repos/nova$ ./run_tests.sh -V
Running `tools/with_venv.sh testr run --parallel `
running=${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list
running=${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmp64_X_S
running=${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpcgJf9R
running=${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpiDWZ8r
running=${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpTSgvDr
2012-12-27 18:30:20 3347 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
2012-12-27 18:30:20 3349 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
2012-12-27 18:30:20 3351 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
2012-12-27 18:30:20 3354 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.

And libvirt is definitely installed on the box...

jpipes@slapshot:~/repos/nova$ dpkg -l libvirt-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-=======================-=======================-=============================================================================
ii libvirt-bin 0.9.13-0ubuntu12.1 amd64 programs for the libvirt library
jpipes@slapshot:~/repos/nova$ dpkg -l python-libvirt
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-=======================-=======================-=============================================================================
ii python-libvirt 0.9.13-0ubuntu12.1 amd64 libvirt Python bindings

Chuck Short (zulcss)
Changed in nova:
status: New → Confirmed
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Fixed as part of this review - https://review.openstack.org/#/c/20547

Changed in nova:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-3 → 2013.1
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.