arm虚机里面搭建openstack测试环境,nova-compute的配置方法

在我的m1 macbook里面用vmware装的ubuntu,搭建了一个openstack环境,虚机起来后想看控制台总是说:Guest has not initialised the display (yet),查了下发现我用的镜像只支持串口连进去,所以openstack配置如下:

安装nova-serialproxy

apt install nova-serialproxy

控制节点/etc/nova/nova.conf

[vnc]
enabled = false

[serial_console]
enabled = true
serialproxy_host = 192.168.68.60
serialproxy_port = 6083

计算节点/etc/nova/nova.conf

[libvirt]
cpu_mode = custom
cpu_models = cortex-a57

[serial_console]
enabled = true
base_url = ws://192.168.68.60:6083/
proxyclient_address = 192.168.68.60
port_range = 10000:20000

计算节点/etc/nova/nova-compute.conf

[libvirt]
virt_type=qemu
posted on 2024-03-26 16:25  ww2000e  阅读(61)  评论(0编辑  收藏  举报