From fcbf3e976c8fa80099698693d37afa81058803c7 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Fri, 17 Jul 2020 10:14:14 -0700 Subject: [PATCH] Fix glance standalone when tls-proxy is disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We always want to start glance on the internal port now, regardless of whether or not tls-proxy is in use, because we write_local_proxy_http_config() for the standalone case. Change-Id: I47dea645d4a852e02e25af0e1df9c28fec92c42a Co-Authored-By: Radosław Piliszek --- lib/glance | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/glance b/lib/glance index e941168d32..f08e2ed7ab 100644 --- a/lib/glance +++ b/lib/glance @@ -252,6 +252,7 @@ function configure_glance { else write_local_proxy_http_config glance "http://$GLANCE_SERVICE_HOST:$GLANCE_SERVICE_PORT_INT" "/image" iniset $GLANCE_API_CONF DEFAULT bind_host $GLANCE_SERVICE_LISTEN_ADDRESS + iniset $GLANCE_API_CONF DEFAULT bind_port $GLANCE_SERVICE_PORT_INT iniset $GLANCE_API_CONF DEFAULT workers "$API_WORKERS" fi }