openstack 创建虚拟机的时候报错: Failed to allocate the network(s), not rescheduling.].

来源:互联网 发布:邮政网络银行 编辑:程序博客网 时间:2024/06/06 02:28

错误: 实例 "test-gtj" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Build of instance 5ea8c935-ee07-4788-823f-10e2b003ca89 aborted: Failed to allocate the network(s), not rescheduling.].


解决方法:

在nova的计算节点修改:

/etc/nova/nova.conf

  1. #Fail instance boot if vif plugging fails  
  2. vif_plugging_is_fatal = False  
  3.   
  4. #Number of seconds to wait for neutron vif  
  5. #plugging events to arrive before continuing or failing  
  6. #(see vif_plugging_is_fatal). If this is set to zero and  
  7. #vif_plugging_is_fatal is False, events should not be expected to arrive at all.  
  8. vif_plugging_timeout = 0  


[root@linux-node2 ~]# systemctl restart openstack-nova-compute.service



3 0
原创粉丝点击