From f3657f37b2739bec66167c030812d0e1ee50ac0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Castillo=20Alc=C3=ADbar?= Date: Thu, 17 Nov 2016 18:20:00 +0100 Subject: [PATCH] Fix missing libvirt python module in ceilometer-compute (v2) In debian/ubuntu based containers, package 'python-libvirt' must be installed in order to get rid of this ERROR: ceilometer.agent.manager ExtensionLoadError: No module named libvirt Change-Id: I41aae5e7e16d40a2b4ab8fb1b0657b436163896c Closes-Bug: #1642640 --- docker/ceilometer/ceilometer-compute/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/ceilometer/ceilometer-compute/Dockerfile.j2 b/docker/ceilometer/ceilometer-compute/Dockerfile.j2 index b60a539340..eacc993908 100644 --- a/docker/ceilometer/ceilometer-compute/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-compute/Dockerfile.j2 @@ -14,7 +14,8 @@ MAINTAINER {{ maintainer }} {% elif base_distro in ['ubuntu', 'debian'] %} {% set ceilometer_compute_packages = [ 'ceilometer-agent-compute', - 'python-ceilometerclient' + 'python-ceilometerclient', + 'python-libvirt' ] %} {% endif %}