diff --git a/.zuul.yaml b/.zuul.yaml index d1dd7603b5..875aed390e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -382,8 +382,6 @@ SWIFT_HASH: 1234123412341234 DEBUG_LIBVIRT_COREDUMPS: true NOVA_VNC_ENABLED: true - VNCSERVER_LISTEN: 0.0.0.0 - VNCSERVER_PROXYCLIENT_ADDRESS: $HOST_IP devstack_local_conf: post-config: $NEUTRON_CONF: @@ -479,8 +477,6 @@ GLANCE_HOSTPORT: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}:9292" Q_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}" NOVA_VNC_ENABLED: true - VNCSERVER_LISTEN: 0.0.0.0 - VNCSERVER_PROXYCLIENT_ADDRESS: $HOST_IP - job: name: devstack-ipv6 diff --git a/lib/nova b/lib/nova index 58e24b438c..e3f8655b1a 100644 --- a/lib/nova +++ b/lib/nova @@ -601,8 +601,8 @@ function configure_console_compute { if is_service_enabled n-novnc || is_service_enabled n-xvnc || [ "$NOVA_VNC_ENABLED" != False ]; then # Address on which instance vncservers will listen on compute hosts. # For multi-host, this should be the management ip of the compute host. - VNCSERVER_LISTEN=${VNCSERVER_LISTEN=$NOVA_SERVICE_LOCAL_HOST} - VNCSERVER_PROXYCLIENT_ADDRESS=${VNCSERVER_PROXYCLIENT_ADDRESS=$NOVA_SERVICE_LOCAL_HOST} + VNCSERVER_LISTEN=${VNCSERVER_LISTEN:-$NOVA_SERVICE_LOCAL_HOST} + VNCSERVER_PROXYCLIENT_ADDRESS=${VNCSERVER_PROXYCLIENT_ADDRESS:-$NOVA_SERVICE_LOCAL_HOST} iniset $NOVA_CPU_CONF vnc server_listen "$VNCSERVER_LISTEN" iniset $NOVA_CPU_CONF vnc server_proxyclient_address "$VNCSERVER_PROXYCLIENT_ADDRESS" else