Fixes Nova NOVNC and Consoleauth Startup Failure
Previously these services would not start because the start script requires the associated log file to exist. The default settings for these 2 log files are blank causing the failure. Since the log files are not required for the services to start, this patch removes the parameter requirement from both start scripts. Change-Id: I84d3d128728075e52282b49d9df229917a34a7b5
This commit is contained in:
parent
bd0fd9502e
commit
8b6d7b44b8
@ -5,8 +5,6 @@ set -e
|
|||||||
|
|
||||||
cfg=/etc/nova/nova.conf
|
cfg=/etc/nova/nova.conf
|
||||||
|
|
||||||
check_required_vars NOVA_CONSOLEAUTH_LOG_FILE
|
|
||||||
|
|
||||||
crudini --set $cfg DEFAULT log_file "${NOVA_CONSOLEAUTH_LOG_FILE}"
|
crudini --set $cfg DEFAULT log_file "${NOVA_CONSOLEAUTH_LOG_FILE}"
|
||||||
|
|
||||||
echo Starting nova-consoleauth
|
echo Starting nova-consoleauth
|
||||||
|
@ -5,7 +5,7 @@ set -e
|
|||||||
cfg=/etc/nova/nova.conf
|
cfg=/etc/nova/nova.conf
|
||||||
|
|
||||||
check_required_vars PUBLIC_IP NOVA_NOVNC_PROXY_SERVICE_HOST NOVA_NOVNC_PROXY_PORT \
|
check_required_vars PUBLIC_IP NOVA_NOVNC_PROXY_SERVICE_HOST NOVA_NOVNC_PROXY_PORT \
|
||||||
NOVA_NOVNC_BASE_ADDRESS NOVA_NOVNCPROXY_LOG_FILE
|
NOVA_NOVNC_BASE_ADDRESS
|
||||||
|
|
||||||
crudini --set $cfg DEFAULT log_file "${NOVA_NOVNCPROXY_LOG_FILE}"
|
crudini --set $cfg DEFAULT log_file "${NOVA_NOVNCPROXY_LOG_FILE}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user