OpenStack, which is built and configured by official documents (Openstack-install-guide-yum-juno), uses NOVNC as the console access for cloud hosts by default, which can be awkward if you need to configure an operating system that uses a GUI. So try to configure using Spice as the console access method. Even if its configuration is relatively simple, it also puzzled me for a long time, the last step of the ...... test environment for the VMware wks,4 nodes, respectively, control nodes, network nodes, compute nodes and storage nodes, are deployed on the CentOS 7.0. The environment was set up in official documents before the spice was configured, and the tests were available. The configuration process involves only the control node (192.168.209.11) and COMPUTE nodes (192.168.209.31), and modifies the IP address of the actual environment as appropriate. Modify Control node installation package yum install Spice-server spice-protocol openstack-nova-spicehtml5proxy spice-html5 ### SPICE-HTML5 from Epel source, Spice-server,spice-protocol from CentOS official source Modify configuration file, comment out the original VNC related configuration, add the following configuration information. There is a need to explicitly specify the Vnc_enabled=false, otherwise the system still uses VNC (refer to the official documentation for instructions), even if Spice is configured vim/etc/nova/nova.conf [default]vnc_enabled= False[spice]html5proxy_host=192.168.209.11html5proxy_port=6082keymap=en-us Stop Novncproxy and cancel self-booting systemctl stop openstack-nova-novncproxy.servicesystemctl disable openstack-nova-novncproxy.service enable Spicehtml5proxy boot and start it systemctl enabled Openstack-nova-spicehtml5proxy.servicesystemctl Start Openstack-nova-spicehtml5proxy.service    open 6082 port firewall-cmd--add-port=6082/tcp--permanentfirewall-cmd--reload Modify compute node installation package Yum Install Spice-server spice-protocol spice-html5 ### spice-html5 from Epel source, Spice-server,spice-protocol from CentOS official source Modify the configuration file, comment out the original VNC related configuration, add the following configuration information vim/etc/nova/nova.conf [default]vnc_enabled=false[spice]html5proxy_base_ url=http://192.168.209.11:6082/spice_auto.htmlserver_listen=0.0.0.0server_proxyclient_address= 192.168.209.31enabled=truekeymap=en-us Restart Nova-computesystemctl restart openstack-nova-compute.service
Http://www.kuandaicesu.com/xinwenzhongxin/wangluojishu/6426.html original article link
< go > Cloud host configuration OpenStack uses Spice method