Merge "fix: vnc access"

This commit is contained in:
Zuul 2023-03-29 03:37:41 +00:00 committed by Gerrit Code Review
commit c4e0007717
5 changed files with 6 additions and 5 deletions

View File

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

View File

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

View File

@ -1363,7 +1363,7 @@ conf:
resume_guests_state_on_host_boot: True
vnc:
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
# server_proxyclient_address: 127.0.0.1
spice:

View File

@ -74,4 +74,5 @@ nova:
- 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.5 Replace node-role.kubernetes.io/master with control-plane
- 0.3.6 Fix VNC access issues
...