Nova consoleauth service fails in HA configuration
Nova consoleauth is a singleton service. In an HA configuration currently it runs on all the controllers and causes NoVNC to fail intermittently when it tries to connect to the URL that the API returned to it. This fix makes consoleauth only run on the bootstrap node. Change-Id: Ic1803e0b997271b3512e6c62fd75feccb4d9be0a
This commit is contained in:
parent
b1ac3e3388
commit
f07c4519d9
@ -13,10 +13,14 @@ os-svc-enable -n nova-conductor
|
||||
os-svc-enable -n nova-api
|
||||
os-svc-enable -n nova-cert
|
||||
os-svc-enable -n nova-scheduler
|
||||
os-svc-enable -n nova-consoleauth
|
||||
|
||||
os-svc-restart -n nova-conductor
|
||||
os-svc-restart -n nova-api
|
||||
os-svc-restart -n nova-cert
|
||||
os-svc-restart -n nova-scheduler
|
||||
|
||||
# Allow for non-ha Nova components.
|
||||
if os-is-bootstrap-host; then
|
||||
os-svc-enable -n nova-consoleauth
|
||||
os-svc-restart -n nova-consoleauth
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user