aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorzhubingbing <zhu.bingbing@99cloud.net>2017-01-18 03:30:23 +0000
committerzhubingbing <zhu.bingbing@99cloud.net>2017-01-18 16:12:47 +0000
commite7e06c5735593bbf3ce96544461264bfa0f5f078 (patch)
treef2f773548e29d586c1671e4bf25288732ad15b3c /docker
parentbe9a8789a698b45f9eb423c599fc603b80472bc9 (diff)
downloadkolla-e7e06c5735593bbf3ce96544461264bfa0f5f078.tar.gz
kolla-e7e06c5735593bbf3ce96544461264bfa0f5f078.zip
Fix aodh dockerfile
remove /var/log/kolla/aodh move python-aodhclient to openstack-base Change-Id: I50110ca8048ed83bcf85ea5ed21eb248522362fe
Diffstat (limited to 'docker')
-rw-r--r--docker/aodh/aodh-base/Dockerfile.j25
-rw-r--r--docker/openstack-base/Dockerfile.j23
2 files changed, 5 insertions, 3 deletions
diff --git a/docker/aodh/aodh-base/Dockerfile.j2 b/docker/aodh/aodh-base/Dockerfile.j2
index d7db73023..fb74d296f 100644
--- a/docker/aodh/aodh-base/Dockerfile.j2
+++ b/docker/aodh/aodh-base/Dockerfile.j2
@@ -12,7 +12,6 @@ MAINTAINER {{ maintainer }}
{% set aodh_base_packages = [
'openstack-aodh-common',
- 'python-aodhclient',
'httpd',
'mod_wsgi',
'python-ldappool'
@@ -66,10 +65,10 @@ ADD aodh-base-archive /aodh-base-source
RUN ln -s aodh-base-source/* aodh \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt pymongo /aodh \
- && mkdir -p /etc/aodh /var/log/kolla/aodh /var/www/cgi-bin/aodh \
+ && mkdir -p /etc/aodh /var/www/cgi-bin/aodh \
&& cp -r /aodh/etc/aodh/* /etc/aodh/ \
&& cp /aodh/aodh/api/app.wsgi /var/www/cgi-bin/aodh \
- && chown -R aodh: /etc/aodh /var/log/kolla/aodh /var/www/cgi-bin/aodh
+ && chown -R aodh: /etc/aodh /var/www/cgi-bin/aodh
{% endif %}
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2
index bb9fcb77c..9dea12588 100644
--- a/docker/openstack-base/Dockerfile.j2
+++ b/docker/openstack-base/Dockerfile.j2
@@ -74,6 +74,7 @@ MAINTAINER {{ maintainer }}
'python-alembic',
'python-amqp',
'python-anyjson',
+ 'python-aodhclient',
'python-barbicanclient',
'python-beaker',
'python-cachetools',
@@ -163,6 +164,7 @@ MAINTAINER {{ maintainer }}
# This will prevent questions from being asked during the install
ENV DEBIAN_FRONTEND noninteractive
{% set openstack_base_packages = [
+ 'python-aodhclient',
'python-barbicanclient',
'python-ceilometerclient',
'python-congressclient',
@@ -249,6 +251,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
'alembic',
'amqp',
'anyjson',
+ 'aodhclient',
'appdirs',
'cachetools',
'cliff',