新建实例类型2C-4G-20G
修改controller和各个computer节点的nova.cnf文件
vim /etc/nova/nova.conf
[DEFAULT]
allow_resize_to_same_host=True
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
然后重启服务
控制节点:
systemctl restart openstack-nova-api.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
计算节点
systemctl restart libvirtd.service openstack-nova-compute.service
页面会多出一个调整实例大小的选项
选择需要调整的实例类型,即可调整实例大小