When the tls-proxy service is enabled then a separate
set of ports is used internally vs externally. The
services listen on the internal port and a proxy (stud)
listen on the "standard" port and forward requests to
the internal port.
An incorrect environment variable was being used to set
the internal port in the sahara configuration so it wasn't
listening on the correct port, causing stack.sh to fail
because it thought the service wasn't up (at least not
on the right port).
Change-Id: I3384039392be786d3c189f3e4f84e069ddaf4339
Closes-Bug: #1458984
| ... | ... |
@@ -186,7 +186,7 @@ function configure_sahara {
|
| 186 | 186 |
|
| 187 | 187 |
if is_service_enabled tls-proxy; then |
| 188 | 188 |
# Set the service port for a proxy to take the original |
| 189 |
- iniset $SAHARA_CONF DEFAULT port $SAHARA_SERVICE_PORT_INT |
|
| 189 |
+ iniset $SAHARA_CONF_FILE DEFAULT port $SAHARA_SERVICE_PORT_INT |
|
| 190 | 190 |
fi |
| 191 | 191 |
|
| 192 | 192 |
recreate_database sahara |