1.安装nova-computeyum install openstack-nova-compute -y
2.修改配置文件,将控制节点配置改成计算节点配置vim /etc/nova/nova.conf
控制节点配置 [vnc] vncserver_listen = $my_ip vncserver_proxyclient_address = $my_ip计算节点配置 [vnc] enabled = True vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = $my_ip novncproxy_base_url = http://controller:6080/vnc_auto.html3.启动服务systemctl start libvirtd.service openstack-nova-compute.servicesystemctl enable libvirtd.service openstack-nova-compute.service