gpt4 book ai didi

openstack - nova 时间表中的错误消息

转载 作者:行者123 更新时间:2023-12-02 23:05:12 25 4
gpt4 key购买 nike

我尝试在我的“小云”上启动 5 个实例。我有一个带有 nova-api 和计算的 Controller 节点 (tb22)。我有一个计算节点 (tb23)。我在 nova-schedule 中收到错误消息:

2014-07-09 13:00:23.858 ERROR nova.scheduler.filter_scheduler [req-f699a7d3-e3de-40e4-b291-9ae972c7d8f9 admin demo] [instance: 55febf3d-1d56-4381-a6ca-b4b3b37e92e0] Error from last host: tb23 (node tb23): [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1305, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1717, in spawn\n LOG.exception((\'Instance failed to spawn\'), instance=instance)\n', u' File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in exit\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1714, in _spawn\n block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2262, in spawn\n
write_to_disk=True)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3447, in to_xml\n disk_info, rescue, block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3263, in get_guest_config\n flavor)\n', u' File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 384, in get_config\n _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']

有人知道问题出在哪里吗?谢谢

最佳答案

此错误是由配置错误引起的

/etc/neutron/plugins/ml2/ml2_conf.ini 

修复

在计算节点和网络节点上编辑/etc/neutron/plugins/ml2/ml2_conf.ini

tunnel_type = gre 更改为 tunnel_types = gre

重启网络节点中的这些服务

服务 openvswitch-switch 重新启动

服务 neutron-plugin-openvswitch-agent 重新启动

服务 neutron-l3-agent 重启

服务 neutron-dhcp-agent 重新启动

服务 neutron-metadata-agent 重新启动

在计算节点中重新启动这些服务

服务 openvswitch-switch 重新启动

服务 nova-compute 重新启动

服务 neutron-plugin-openvswitch-agent 重新启动

关于openstack - nova 时间表中的错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24652932/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com