fix: vnc access

The VNC port option was changed long ago..

Let's catch up.

Change-Id: I9f45c7102422af20f03f95fa30271d51df6d72ee
This commit is contained in:
Mohammed Naser 2023-03-24 14:37:01 -04:00
parent 73e696b3fb
commit d77e5389f0
5 changed files with 6 additions and 5 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Nova description: OpenStack-Helm Nova
name: nova name: nova
version: 0.3.5 version: 0.3.6
home: https://docs.openstack.org/nova/latest/ home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources: sources:

View File

@ -53,7 +53,7 @@ if [ "${console_kind}" == "novnc" ] ; then
cat > /tmp/pod-shared/nova-console.conf <<EOF cat > /tmp/pod-shared/nova-console.conf <<EOF
[vnc] [vnc]
server_proxyclient_address = $client_address server_proxyclient_address = $client_address
vncserver_listen = $listen_ip server_listen = $listen_ip
EOF EOF
elif [ "${console_kind}" == "spice" ] ; then elif [ "${console_kind}" == "spice" ] ; then
cat > /tmp/pod-shared/nova-console.conf <<EOF cat > /tmp/pod-shared/nova-console.conf <<EOF

View File

@ -21,7 +21,7 @@ console_kind="{{- .Values.console.console_kind -}}"
if [ "${console_kind}" == "novnc" ] ; then if [ "${console_kind}" == "novnc" ] ; then
client_address="{{- .Values.conf.nova.vnc.vncserver_proxyclient_address -}}" client_address="{{- .Values.conf.nova.vnc.vncserver_proxyclient_address -}}"
client_interface="{{- .Values.console.novnc.vncproxy.vncserver_proxyclient_interface -}}" client_interface="{{- .Values.console.novnc.vncproxy.vncserver_proxyclient_interface -}}"
listen_ip="{{- .Values.conf.nova.vnc.vncserver_listen -}}" listen_ip="{{- .Values.conf.nova.vnc.server_listen -}}"
elif [ "${console_kind}" == "spice" ] ; then elif [ "${console_kind}" == "spice" ] ; then
client_address="{{- .Values.conf.nova.spice.server_proxyclient_address -}}" client_address="{{- .Values.conf.nova.spice.server_proxyclient_address -}}"
client_interface="{{- .Values.console.spice.proxy.server_proxyclient_interface -}}" client_interface="{{- .Values.console.spice.proxy.server_proxyclient_interface -}}"
@ -50,7 +50,7 @@ if [ "${console_kind}" == "novnc" ] ; then
cat <<EOF>/tmp/pod-shared/nova-vnc.ini cat <<EOF>/tmp/pod-shared/nova-vnc.ini
[vnc] [vnc]
vncserver_proxyclient_address = $client_address vncserver_proxyclient_address = $client_address
vncserver_listen = $listen_ip server_listen = $listen_ip
novncproxy_host = $listen_ip novncproxy_host = $listen_ip
EOF EOF
elif [ "${console_kind}" == "spice" ] ; then elif [ "${console_kind}" == "spice" ] ; then

View File

@ -1363,7 +1363,7 @@ conf:
resume_guests_state_on_host_boot: True resume_guests_state_on_host_boot: True
vnc: vnc:
novncproxy_host: 0.0.0.0 novncproxy_host: 0.0.0.0
vncserver_listen: 0.0.0.0 server_listen: 0.0.0.0
# This would be set by each compute nodes's ip # This would be set by each compute nodes's ip
# server_proxyclient_address: 127.0.0.1 # server_proxyclient_address: 127.0.0.1
spice: spice:

View File

@ -74,4 +74,5 @@ nova:
- 0.3.3 Update all Ceph images to Focal - 0.3.3 Update all Ceph images to Focal
- 0.3.4 Add OVN values_override, disable dependency to ovn-agent and vif configs for ovn - 0.3.4 Add OVN values_override, disable dependency to ovn-agent and vif configs for ovn
- 0.3.5 Replace node-role.kubernetes.io/master with control-plane - 0.3.5 Replace node-role.kubernetes.io/master with control-plane
- 0.3.6 Fix VNC access issues
... ...