Merge "Fix cinder volume permission issue"

This commit is contained in:
Jenkins 2016-11-04 15:47:00 +00:00 committed by Gerrit Code Review
commit f25f1b7b6d

View File

@ -43,11 +43,11 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
{% endif %} {% endif %}
{% endif %} {% endif %}
COPY cinder_sudoers /etc/sudoers.d/cinder_sudoers COPY cinder_sudoers /etc/sudoers.d/kolla_cinder_volume_sudoers
COPY extend_start.sh /usr/local/bin/kolla_cinder_extend_start COPY extend_start.sh /usr/local/bin/kolla_cinder_extend_start
RUN chmod 750 /etc/sudoers.d \ RUN chmod 750 /etc/sudoers.d \
&& chmod 440 /etc/sudoers.d/cinder_sudoers \ && chmod 440 /etc/sudoers.d/kolla_cinder_volume_sudoers \
&& chmod 755 /usr/local/bin/kolla_cinder_extend_start && chmod 755 /usr/local/bin/kolla_cinder_extend_start
{% block cinder_volume_footer %}{% endblock %} {% block cinder_volume_footer %}{% endblock %}