From 843b039b3ca24c79865d991df43bfcd5ebe0b97b Mon Sep 17 00:00:00 2001 From: jianghua wang Date: Thu, 21 Sep 2017 14:16:06 +0000 Subject: [PATCH] Use the renamed vnc options As the following commit has renamed the two vnc options; let's use the new options in devstack: https://review.openstack.org/#/c/498387/ Change-Id: Id125666814ea9bb8a22b579aee0f6bc1c65ade80 --- lib/nova | 4 ++-- lib/nova_plugins/hypervisor-libvirt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/nova b/lib/nova index 1112f29bd3..ea0d2f7b89 100644 --- a/lib/nova +++ b/lib/nova @@ -520,8 +520,8 @@ function create_nova_conf { # 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} - iniset $NOVA_CONF vnc vncserver_listen "$VNCSERVER_LISTEN" - iniset $NOVA_CONF vnc vncserver_proxyclient_address "$VNCSERVER_PROXYCLIENT_ADDRESS" + iniset $NOVA_CONF vnc server_listen "$VNCSERVER_LISTEN" + iniset $NOVA_CONF vnc server_proxyclient_address "$VNCSERVER_PROXYCLIENT_ADDRESS" iniset $NOVA_CONF vnc novncproxy_host "$NOVA_SERVICE_LISTEN_ADDRESS" iniset $NOVA_CONF vnc xvpvncproxy_host "$NOVA_SERVICE_LISTEN_ADDRESS" else diff --git a/lib/nova_plugins/hypervisor-libvirt b/lib/nova_plugins/hypervisor-libvirt index 0c08a0fe42..3d676b9b8d 100644 --- a/lib/nova_plugins/hypervisor-libvirt +++ b/lib/nova_plugins/hypervisor-libvirt @@ -71,8 +71,8 @@ function configure_nova_hypervisor { iniset $NOVA_CONF libvirt connection_uri "parallels+unix:///system" iniset $NOVA_CONF libvirt images_type "ploop" iniset $NOVA_CONF DEFAULT force_raw_images "False" - iniset $NOVA_CONF vnc vncserver_proxyclient_address $HOST_IP - iniset $NOVA_CONF vnc vncserver_listen $HOST_IP + iniset $NOVA_CONF vnc server_proxyclient_address $HOST_IP + iniset $NOVA_CONF vnc server_listen $HOST_IP iniset $NOVA_CONF vnc keymap elif [[ "$NOVA_BACKEND" == "LVM" ]]; then iniset $NOVA_CONF libvirt images_type "lvm"