openstack 创建虚拟机的时候报错: Failed to allocate the network(s), not rescheduling.].
错误: 实例 "test-gtj" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Build of instance 5ea8c935-ee07-4788-823f-10e2b003ca89 aborted: Failed to allocate the network(s), not rescheduling.].
解决方法:
在nova的计算节点修改:
/etc/nova/nova.conf
- #Fail instance boot if vif plugging fails
- vif_plugging_is_fatal = False
- #Number of seconds to wait for neutron vif
- #plugging events to arrive before continuing or failing
- #(see vif_plugging_is_fatal). If this is set to zero and
- #vif_plugging_is_fatal is False, events should not be expected to arrive at all.
- vif_plugging_timeout = 0
[root@linux-node2 ~]# systemctl restart openstack-nova-compute.service