Broken ubuntu-binary-nova-compute:pike No module named libvirt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Expired
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello, I'm trying to deploy Kolla Ansible based on Ubuntu Xenial, all-in-one mode.
However nova_compute container refuses to start.
nova compute process reports issue "ImportError: No module named libvirt"
Detailed error message:
# tail -20 /var/lib/
2018-02-16 13:03:33.059 8 ERROR nova.virt.driver libvirt = importutils.
2018-02-16 13:03:33.059 8 ERROR nova.virt.driver File "/usr/lib/
2018-02-16 13:03:33.059 8 ERROR nova.virt.driver __import_
2018-02-16 13:03:33.059 8 ERROR nova.virt.driver ImportError: No module named libvirt
2018-02-16 13:03:33.059 8 ERROR nova.virt.driver
2018-02-16 13:07:02.823 7 INFO os_vif [-] Loaded VIF plugins: ovs, linux_bridge
2018-02-16 13:07:02.824 7 WARNING oslo_reports.
2018-02-16 13:07:03.190 7 INFO nova.virt.driver [req-cf81278e-
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver [req-cf81278e-
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver Traceback (most recent call last):
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver File "/usr/lib/
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver virtapi)
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver File "/usr/lib/
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver return import_
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver File "/usr/lib/
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver libvirt = importutils.
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver File "/usr/lib/
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver __import_
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver ImportError: No module named libvirt
2018-02-16 13:07:03.594 7 ERROR nova.virt.driver
Environment details:
PIP output:
kolla (5.0.1)
kolla-ansible (5.0.1)
Docker inspect output:
"Env": [
],
"Cmd": [
],
summary: |
- Broken (?) ubuntu-binary-nova-compute:pike No module named libvirt + Broken ubuntu-binary-nova-compute:pike No module named libvirt |
Changed in kolla: | |
status: | New → Incomplete |
Looks like this error is similar to this one: /bugs.launchpad .net/kolla/ +bug/1642640 /review. openstack. org/#/c/ 399145/
https:/
https:/
Dockerfile is missing python-libvirt package.
https:/ /github. com/openstack/ kolla/blob/ stable/ pike/docker/ nova/nova- compute/ Dockerfile. j2