install python-cephlibs in venv for glance-base

install python-cephlibs in venv for glance-base

Change-Id: I2055bbc608c35604bbb727e83d9b74295e643a7d
Closes-Bug: #1524684
This commit is contained in:
Kuo-tung Kao 2015-12-10 17:53:41 +08:00
parent bfa2ea6c1c
commit a9bd9a1a65

View File

@ -38,6 +38,7 @@ ADD glance-base-archive /glance-base-source
RUN ln -s glance-base-source/* glance \
&& useradd --user-group glance \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install -c requirements/upper-constraints.txt /glance \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install python-cephlibs /glance \
&& mkdir -p /etc/glance /var/log/glance /var/lib/glance /home/glance \
&& cp -r /glance/etc/* /etc/glance/ \
&& chown -R glance: /etc/glance /var/log/glance /var/lib/glance /home/glance