diff --git a/docker/common/glance/glance-api/start.sh b/docker/common/glance/glance-api/start.sh index c546333f44..9140afbf19 100755 --- a/docker/common/glance/glance-api/start.sh +++ b/docker/common/glance/glance-api/start.sh @@ -4,12 +4,13 @@ set -e . /opt/kolla/kolla-common.sh . /opt/kolla/config-glance.sh -: ${GLANCE_API_SERVICE_HOST:=$PUBLIC_IP} -check_required_vars KEYSTONE_ADMIN_TOKEN KEYSTONE_ADMIN_SERVICE_HOST \ - GLANCE_KEYSTONE_USER GLANCE_KEYSTONE_PASSWORD \ - ADMIN_TENANT_NAME GLANCE_API_SERVICE_HOST \ - PUBLIC_IP +check_required_vars ADMIN_TENANT_NAME GLANCE_API_SERVICE_HOST \ + GLANCE_KEYSTONE_PASSWORD GLANCE_KEYSTONE_USER \ + GLANCE_REGISTRY_SERVICE_HOST KEYSTONE_ADMIN_SERVICE_HOST \ + KEYSTONE_ADMIN_SERVICE_PORT KEYSTONE_ADMIN_TOKEN \ + KEYSTONE_AUTH_PROTOCOL PUBLIC_IP \ + RABBITMQ_SERVICE_HOST fail_unless_os_service_running keystone diff --git a/docker/common/glance/glance-base/config-glance.sh b/docker/common/glance/glance-base/config-glance.sh index 97d076c116..51bb56667d 100644 --- a/docker/common/glance/glance-base/config-glance.sh +++ b/docker/common/glance/glance-base/config-glance.sh @@ -11,7 +11,11 @@ set -e : ${KEYSTONE_AUTH_PROTOCOL:=http} : ${PUBLIC_IP:=$GLANCE_API_PORT_9292_TCP_ADDR} -check_required_vars GLANCE_DB_PASSWORD GLANCE_KEYSTONE_PASSWORD + +check_required_vars ADMIN_TENANT_NAME GLANCE_DB_NAME GLANCE_DB_PASSWORD \ + GLANCE_DB_USER GLANCE_KEYSTONE_PASSWORD \ + GLANCE_KEYSTONE_USER KEYSTONE_PUBLIC_SERVICE_HOST \ + MARIADB_SERVICE_HOST dump_vars cat > /openrc <