Ensure /var/lib/cinder exists for cinder container
Change-Id: I52e175a1eb5176828db8ed709f4d19dd0685b9c5 Closes-Bug: #1535189
This commit is contained in:
parent
c531338fef
commit
f714703cad
@ -34,9 +34,9 @@ ADD cinder-base-archive /cinder-base-source
|
|||||||
RUN ln -s cinder-base-source/* cinder \
|
RUN ln -s cinder-base-source/* cinder \
|
||||||
&& useradd --user-group cinder \
|
&& useradd --user-group cinder \
|
||||||
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /cinder \
|
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /cinder \
|
||||||
&& mkdir -p /etc/cinder /var/log/cinder /home/cinder \
|
&& mkdir -p /etc/cinder /var/log/cinder /var/lib/cinder /home/cinder \
|
||||||
&& cp -r /cinder/etc/cinder/* /etc/cinder/ \
|
&& cp -r /cinder/etc/cinder/* /etc/cinder/ \
|
||||||
&& chown -R cinder: /etc/cinder /var/log/cinder /home/cinder
|
&& chown -R cinder: /etc/cinder /var/log/cinder /var/lib/cinder /home/cinder
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user