From 127bd6f5da72478f3fa87df54e354ace0994f9e3 Mon Sep 17 00:00:00 2001 From: Hui Kang Date: Fri, 18 Mar 2016 13:11:22 -0400 Subject: [PATCH] Ceilometer needs pymongo to start pymongo is needed when ceilometer uses mongodb as backend database Change-Id: Id75dc7bed30cdfa12f95bb66ca6d4cdf7be0261c Closes-Bug: #1559370 Related-Bug: #1559390 --- docker/ceilometer/ceilometer-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/ceilometer/ceilometer-base/Dockerfile.j2 b/docker/ceilometer/ceilometer-base/Dockerfile.j2 index a92ad91c64..c5b319aee5 100644 --- a/docker/ceilometer/ceilometer-base/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-base/Dockerfile.j2 @@ -23,7 +23,7 @@ RUN apt-get install -y --no-install-recommends \ ADD ceilometer-base-archive /ceilometer-base-source RUN ln -s ceilometer-base-source/* ceilometer \ && useradd --user-group ceilometer \ - && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /ceilometer \ + && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /ceilometer pymongo \ && mkdir -p /etc/ceilometer /var/log/ceilometer /home/ceilometer \ && cp -r /ceilometer/etc/ceilometer/* /etc/ceilometer/ \ && chown -R ceilometer: /etc/ceilometer /var/log/ceilometer /home/ceilometer \