Merge "Removed config-internal check.sh for cinder"

This commit is contained in:
Jenkins 2015-08-13 13:50:18 +00:00 committed by Gerrit Code Review
commit fa9492e6c6
5 changed files with 3 additions and 20 deletions

View File

@ -2,7 +2,8 @@ FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y python-keystone && yum clean all
COPY start.sh /
COPY config-external.sh /opt/kolla/
COPY ./start.sh ./check.sh /
CMD ["/start.sh"]

View File

@ -1 +0,0 @@
../../../../common/cinder/cinder-api/check.sh

View File

@ -3,7 +3,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN pip install python-keystoneclient
COPY start.sh /
COPY config-external.sh /opt/kolla/
COPY ./start.sh ./check.sh /
CMD ["/start.sh"]

View File

@ -1 +0,0 @@
../../../../common/cinder/cinder-api/check.sh

View File

@ -1,16 +0,0 @@
#!/bin/sh
RES=0
. /openrc
if ! keystone token-get > /dev/null; then
echo "ERROR: keystone token-get failed" >&2
RES=1
else
if ! cinder list > /dev/null; then
echo "ERROR: cinder list failed" >&2
RES=1
fi
fi
exit $RES