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
-- ::32.775 ERROR neutron.plugins.ml2.managers [req-6541d965-bf7f-44a6-aae7-70773042fc1a neutron c8ce7938e38b4612a8b3daab441b804c] Failed to bind port 78de1224-0c09-40e0--0e009380dacd on host yuntong-ThinkStation
-- ::32.775 ERROR neutron.plugins.ml2.managers [req-6541d965-bf7f-44a6-aae7-70773042fc1a neutron c8ce7938e38b4612a8b3daab441b804c] Failed to bind port 78de1224-0c09-40e0--0e009380dacd on host yuntong-ThinkStation neutron/extensions/portbindings.py:VIF_TYPE_BINDING_FAILED = 'binding_failed' -- ::02.122 ^[[;31mERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [^[[;36mreq-d618ca64-5f42--8f5f-8d7d1e40a4fd ^[[;36mNone None^[[;31m] ^[[;35m^[[;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

NovaException: Unexpected vif_type=binding_failed的更多相关文章

  1. [原]openstack-kilo--issue(八)NovaException: Unexpected vif_type=binding_failed

    2016-12-06 11:11:22.593 1505 INFO nova.scheduler.client.report [req-43897fe4-800f-436a-a13b-1a0098c8 ...

  2. 手动搭建openstack的痛苦经历

    openstack真的是一个十分痛苦的东西,好在有自动部署工具,虽然有自动部署工具可以方便我们部署使用,但是学习的话,第一次最好手动部署,因为手动部署更能我们了解openstack的工作流程和各组建之 ...

  3. Carrier-Grade Mirantis OpenStack (the Mirantis NFV Initiative), Part 1: Single Root I/O Virtualization (SR-IOV)

    The Mirantis NFV initiative aims to create an NFV ecosystem for OpenStack, with validated  hardware ...

  4. openstack nova fail to create vm

    2019-05-13 14:43:27.017 47547 ERROR nova.compute.manager [req-3f1af0ed-c342-4cf3-8e76-6963053a5227 8 ...

  5. 记一次debug记录:Uncaught SyntaxError: Unexpected token ILLEGAL

    在使用FIS3搭建项目的时候,遇到了一些问题,这里记录下. 这里是发布搭建代码: // 代码发布时 fis.media('qa') .match('*.{js,css,png}', { useHash ...

  6. Encountered an unexpected error when attempting to resolve tag helper directive '@addTagHelper' with value '"*, Microsoft.AspNet.Mvc.TagHelpers"'

    project.json 配置: { "version": "1.0.0-*", "compilationOptions": { " ...

  7. VS2015突然报错————Encountered an unexpected error when attempting to resolve tag helper directive '@addTagHelper' with value 'Microsoft.AspNet.Mvc.Razor.TagHelpers.UrlResolutionTagHelper

    Encountered an unexpected error when attempting to resolve tag helper directive '@addTagHelper' with ...

  8. Linix登录报"/etc/profile: line 11: syntax error near unexpected token `$'{\r''"

    同事反馈他在一测试服务器(CentOS Linux release 7.2.1511)上修改了/etc/profile文件后,使用source命令不能生效,让我帮忙看看,结果使用SecureCRT一登 ...

  9. [每日一记] Python报错 IndentationError: unexpected indent

    IndentationError: unexpected indent 代码缩进出现错误 今天这个报错的原因是,早些时候的代码里Tab和空格混起来用了,,,[不是我...是编辑器的锅 不过我已经把Su ...

随机推荐

  1. SharePoint服务器端对象模型 之 访问网站和列表数据(Part 3)

    (三)视图 与传统意义上的数据视图类似,SharePoint中的列表视图指定了列表中数据的筛选条件.排序条件.分组条件.显示栏/字段.显示条目数.显示样式等内容.在SharePoint中,使用SPVi ...

  2. 在VM虚拟机中安装Centos7操作系统(三)

    首先我们要下载  Centos https://www.centos.org/ 这个是Centos官方 最新版本 7 https://www.centos.org/download/ 提供有 DVD安 ...

  3. Centos简介(一)

    Centos作为主流的一种Linux操作系统,我们选用Centos,主要是免费,以及稳定. Centos详细介绍,请参考 百度百科

  4. VS的编译选项

    转载下,对于VS的编译选项介绍蛮清楚的!! 1. 静态链接库.动态链接库.CRT.STL 我们要到一个函数,要么是需要该函数的源代码,要么是知道该函数的声明并有该函数的实现,这里的“实现”又分为静态链 ...

  5. Python打印一个等边三角形

    如图所示: * *** ***** ******* ********* #想要几层就输入数字几, num = int(input('请输入一个奇数数字:')) for i in range(num,0 ...

  6. C++学习之旅get、getline的使用方法

    C++学习之旅get.getline的使用方法 面向行的输入:cin.getline(). 该函数读取整行.它使用通过回车键输入的换行符来确定输入结尾.要调用这样的方法,能够使用cin.getline ...

  7. zhparser是什么

    zhparser是什么 zhparser是一个PostgreSQL中文分词的插件,通过它,可以使PostgreSQL支持中文的全文检索(Full Text Search). 为什么需要zhparser ...

  8. when you are old

    When you are old william Butler Yeats When you are old and grey and full of sleep And nodding by the ...

  9. 剑指offer 面试32题

    面试32题: 题目:从上到下打印二叉树 题:不分行从上到下打印二叉树 解题代码: # -*- coding:utf-8 -*- # class TreeNode: # def __init__(sel ...

  10. 剑指offer 面试43题

    面试43题: 题目:1~n整数中1出现的次数 题:输入一个整数n,求1~n这n个整数的十进制表示中1出现的次数.例如,输入12,1~12这些整数中包含1的数字有1,10,11,12一共出现了5次. 解 ...