diff --git a/docker/centos/binary/zaqar/Dockerfile b/docker/centos/binary/zaqar/Dockerfile index 0fcce22606..cb6217d262 100644 --- a/docker/centos/binary/zaqar/Dockerfile +++ b/docker/centos/binary/zaqar/Dockerfile @@ -3,9 +3,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla) RUN yum -y install openstack-zaqar && yum clean all -COPY ./start.sh /start.sh -COPY ./check.sh /check.sh - -COPY config-internal.sh config-external.sh /opt/kolla/ +COPY start.sh / +COPY config-external.sh /opt/kolla/ CMD ["/start.sh"] diff --git a/docker/centos/binary/zaqar/check.sh b/docker/centos/binary/zaqar/check.sh deleted file mode 120000 index 48c775659e..0000000000 --- a/docker/centos/binary/zaqar/check.sh +++ /dev/null @@ -1 +0,0 @@ -../../../common/zaqar/check.sh \ No newline at end of file diff --git a/docker/centos/binary/zaqar/config-internal.sh b/docker/centos/binary/zaqar/config-internal.sh deleted file mode 120000 index 9946142b4e..0000000000 --- a/docker/centos/binary/zaqar/config-internal.sh +++ /dev/null @@ -1 +0,0 @@ -../../../common/zaqar/config-internal.sh \ No newline at end of file diff --git a/docker/common/zaqar/check.sh b/docker/common/zaqar/check.sh deleted file mode 100755 index 4b3cdbb464..0000000000 --- a/docker/common/zaqar/check.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -status=$(curl -s -w "%{http_code}" -o /dev/null http://localhost:8888/v1/queues) - -if [[ $status -ne 200 && $status -ne 204 ]]; then - echo "ERROR($status): queue list failed" - exit $status -fi - -exit 0 diff --git a/docker/common/zaqar/config-internal.sh b/docker/common/zaqar/config-internal.sh deleted file mode 100755 index 4fd2bb112c..0000000000 --- a/docker/common/zaqar/config-internal.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -set -e - -. /opt/kolla/kolla-common.sh - -check_required_vars KEYSTONE_ADMIN_SERVICE_HOST \ - KEYSTONE_ADMIN_TOKEN \ - PUBLIC_IP \ - ZAQAR_KEYSTONE_PASSWORD \ - ZAQAR_SERVER_SERVICE_HOST -dump_vars - -#check_for_mongodb -check_for_keystone - -cat > /openrc <