A previous commit [1] removed the glance data container. Although this
worked at the time (as evident by it passing the gate) the drop root
patches merged after the gate patch causing the glance service to
not have the proper permissions to create this needed directory

[1] I7f2f5979b01807275908699d1243756cb97d3588

Change-Id: I5044de8d348e401a50970fd77671a79d35d2d595
This commit is contained in:
Sam Yaple 2015-11-20 20:29:06 +00:00
parent 296d17af2d
commit ea17c2db72

View File

@ -38,9 +38,9 @@ ADD glance-base-archive /glance-base-source
RUN ln -s glance-base-source/* glance \
&& useradd --user-group glance \
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /glance \
&& mkdir -p /etc/glance /var/log/glance /home/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 /home/glance
&& chown -R glance: /etc/glance /var/log/glance /var/lib/glance /home/glance
{% endif %}