zoukankan      html  css  js  c++  java
  • NovaException: Unexpected vif_type=binding_failed

    nova/virt/libvirt/vif.py:                _("Unexpected vif_type=%s") % vif_type)
    NovaException: Unexpected vif_type=binding_failed
    
    :/opt/stack/nova$ git grep binding_failed
    nova/tests/unit/compute/test_compute_mgr.py:    def test_init_instance_with_binding_failed_vif_type(self):
    nova/tests/unit/compute/test_compute_mgr.py:        # this instance will plug a 'binding_failed' vif
    nova/tests/unit/compute/test_compute_mgr.py:                    "Unexpected vif_type=binding_failed")),

     创建instance出错时出现以上错误。

    在neutron vif binding出错时会返回:

    vif_type=binding_failed
    2015-11-09 14:54:32.775 ERROR neutron.plugins.ml2.managers [req-6541d965-bf7f-44a6-aae7-70773042fc1a neutron c8ce7938e38b4612a8b3daab441b804c] Failed to bind port 78de1224-0c09-40e0-9528-0e009380dacd on host yuntong-ThinkStation
    2015-11-09 14:54:32.775 ERROR neutron.plugins.ml2.managers [req-6541d965-bf7f-44a6-aae7-70773042fc1a neutron c8ce7938e38b4612a8b3daab441b804c] Failed to bind port 78de1224-0c09-40e0-9528-0e009380dacd on host yuntong-ThinkStation
    
    neutron/extensions/portbindings.py:VIF_TYPE_BINDING_FAILED = 'binding_failed'
    
    2015-10-27 11:42:02.122 ^[[01;31mERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [^[[01;36mreq-d618ca64-5f42-4347-8f5f-8d7d1e40a4fd ^[[00;36mNone None^[[01;31m] ^[[01;35m^[[01;31mBridge br-ex for physical network public does not exist. Agent terminated!

    neutron log显示缺少br-ex bridge,查看devstack中如何创建该bridge:
    devstack/lib/neutron_plugins/linuxbridge_agent

    function neutron_plugin_configure_l3_agent {
        sudo brctl addbr $PUBLIC_BRIDGE
        iniset $Q_L3_CONF_FILE DEFAULT external_network_bridge
        iniset $Q_L3_CONF_FILE DEFAULT l3_agent_manager neutron.agent.l3_agent.L3NATAgentWithStateReport
    }

    创建br-ex bridge:

    sudo ovs-vsctl add-br br-ex
  • 相关阅读:
    Java的异常类的整理
    java中tostring的重载
    java中的引用于c++的指针的相互代替(就以创建简单的栈去讲解)
    Java版单词搜索
    Java/C++的正则表达式的总结归纳
    某个整数的全排列问题
    DFS+单词搜索
    一维数组组合
    离线升级OpenSSH详细步骤 ——安全漏洞修复(实战篇 Centos 6.5/6.10 操作系统)
    Mysql子查询
  • 原文地址:https://www.cnblogs.com/allcloud/p/4950131.html
Copyright © 2011-2022 走看看