I deployed a openstack cluster using devstack. I can vnc to the virtual machine on controller node but I can not vnc the virtual machine on the compute node. So, I look at the nova config file on the compute node. I found that the option vnc_enabled was set to false which means that KVM will not start a vnc server for the virtual machine. That is why I can not vnc to the virtual machine.
After that I look at the deployment script in devstack I found that the option vnc_enabled is depend on the n-novnc/n-xvnc service. However, in a multiple node deployment, only the controller node will start n-novnc/n-xvnc service, the compute node will not start n-novnc/n-xvnc service, so the option vnc_enabled will always set to false. That was not the expected result.
Fix proposed to branch: master /review. openstack. org/41609
Review: https:/