openstack 创建实例报错 **aborted: Failed to allocate the network(s), not rescheduling

消息 Build of instance 6320b5f2-edc2-4e8e-b07c-0047f7ed8f6a aborted: Failed to allocate the network(s), not rescheduling.
编码 500
详情 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2143, in _do_build_and_run_instance filter_properties, request_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2485, in _build_and_run_instance reason=msg) BuildAbortException: Build of instance 6320b5f2-edc2-4e8e-b07c-0047f7ed8f6a aborted: Failed to allocate the network(s), not rescheduling.

 

解决方法:

在nova的计算节点修改 /etc/nova/nova.conf

# Determine if instance should boot or fail on VIF plugging timeout. For more
# information, refer to the documentation. (boolean value)
vif_plugging_is_fatal=false

# Timeout for Neutron VIF plugging event message arrival. For more information,
# refer to the documentation. (integer value)
# Minimum value: 0
vif_plugging_timeout=0

posted @ 2019-12-11 16:41  chili7  阅读(2587)  评论(1编辑  收藏  举报