求助大神这是什么歌nova 报错,怎么解决这个问题vif

小木虫 --- 500万硕博科研人员喜爱的学术科研平台
&&查看话题
【求助】mestrenova 中画的核磁图粘贴到word文档时显示出错,请问怎么解决?
mestrenova 中画的核磁图粘贴到word文档时显示出错,请问怎么解决?
如图所示,。还有怎么把聚合物的分子式弄到mestrenova中,
谢谢,请大家帮帮忙。急
研究生必备与500万研究生在线互动!
扫描下载送金币
浏览器进程
打开微信扫一扫
随时随地聊科研积极上进,爱好学习
站长推荐 /6
about云|新出视频,openstack零基础入门,解决你ping不通外网难题
云计算hadoop视频大全(新增 yarn、flume|storm、hadoop一套视频
视频资料大优惠
大数据零基础由入门到实战
阶段1:hadoop零基础入门基础篇
阶段2:hadoop2入门
阶段3:大数据非hadoop系列课程
阶段4:项目实战篇
阶段5:大数据高级系列应用课程
阶段6:工作实用系列教程
等待验证会员请验证邮箱
新手获取积分方法
Powered byNovaException: Unexpected vif_type=binding_failed | OpenStack | Dev
this category
NovaException: Unexpected vif_type=binding_failed
Nov&14,&&PM
Post #1 of 11
(9279 views)
NovaException: Unexpected vif_type=binding_failed
I have deployed Openstack on a single node using devstack. I am using ml2 plugin for neutron. When I try to launch an instance, I get this error "NovaException: Unexpected vif_type=binding_failed" in Horizon.
There was a bug created for this
which is now fixed
I checked that I have the latest code(with the fix for above mentioned bug), but I still see the issue
Here is my neutron.conf
[DEFAULT] auth_strategy = keystone allow_overlapping_ips = True policy_file = /etc/neutron/policy.json debug = True verbose = True service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin rabbit_password = password rabbit_host = localhost rpc_backend = mon.rpc.impl_kombu state_path = /opt/stack/data/neutron lock_path = $state_path/lock
[keystone_authtoken] auth_host = 172.23.45.41 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = password signing_dir = /var/cache/neutron
Here is my ml2_plugin.ini
[ml2] tenant_network_types = vlan type_drivers = vlan mechanism_drivers = openvswitch
[ml2_type_vlan] network_vlan_ranges = physnet1:500:600
[database] connection = mysql://root:password [at] 127/neutron_ml2?charset=utf8
[ovs] local_ip = 172.23.45.41
[agent] root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
Am I missing something in the configuration ?
Regards, Sayaji
Nov&14,&&PM
Post #2 of 11
(9175 views)
Re: NovaException: Unexpected vif_type=binding_failed
Correction : I see this in nova logs: NovaException: Unexpected vif_type=binding_failed
I see this in horizon:
Error: Failed to launch instance "testvm": Please try again later [Error: Unexpected vif_type=binding_failed].
Regards, Sayaji
On Thu, Nov 14, 2013 at 7:01 PM, Sayaji Patil &sayaji15 [at] gmail& wrote:
I have deployed Openstack on a single node using devstack. I am using & ml2 plugin for neutron. & When I try to launch an instance, I get this error "NovaException: & Unexpected vif_type=binding_failed" & in Horizon. & & There was a bug created for this &
which is now fixed & & I checked that I have the latest code(with the fix for above mentioned & bug), but I still see the issue & & Here is my neutron.conf & & [DEFAULT] & auth_strategy = keystone & allow_overlapping_ips = True & policy_file = /etc/neutron/policy.json & debug = True & verbose = True & service_plugins = & neutron.services.l3_router.l3_router_plugin.L3RouterPlugin & core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin & rabbit_password = password & rabbit_host = localhost & rpc_backend = mon.rpc.impl_kombu & state_path = /opt/stack/data/neutron & lock_path = $state_path/lock & & [keystone_authtoken] & auth_host = 172.23.45.41 & auth_port = 35357 & auth_protocol = http & admin_tenant_name = service & admin_user = neutron & admin_password = password & signing_dir = /var/cache/neutron & & Here is my ml2_plugin.ini & & [ml2] & tenant_network_types = vlan & type_drivers = vlan & mechanism_drivers = openvswitch & & [ml2_type_vlan] & network_vlan_ranges = physnet1:500:600 & & [database] & connection = mysql://root:password [at] 127/neutron_ml2?charset=utf8 & & [ovs] & local_ip = 172.23.45.41 & & [agent] & root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf & & [securitygroup] & firewall_driver = & neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver & & & & Am I missing something in the configuration ? & & & Regards, & Sayaji & & & & & & & & &
Nov&14,&&PM
Post #3 of 11
(9188 views)
Re: NovaException: Unexpected vif_type=binding_failed
Please issue command #neutron agent-list to check if all agents are up,
looks like the issue is openvswitch-agent is down now, if so, please
update the agent_down_time in neutron.conf, and set a large number.
Thanks & Best Regards, ---------------------------------------------------- Yang Yu(于杨) Cloud Solutions and OpenStack Development China Systems & Technology Laboratory Beijing E-mail: yuyangbj [at] cn
Tel: 86-10- Address: Ring Bldg. No.28 Building, Zhong Guan Cun Software Park,
No. 8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193,
----------------------------------------------------
Sayaji Patil &sayaji15 [at] gmail&
To openstack [at] lists cc
Subject Re: [Openstack] NovaException: Unexpected vif_type=binding_failed
Correction : I see this in nova logs:
NovaException: Unexpected vif_type=binding_failed
I see this in horizon:
Error: Failed to launch instance "testvm": Please try again later [Error:
Unexpected vif_type=binding_failed].
Regards, Sayaji
On Thu, Nov 14, 2013 at 7:01 PM, Sayaji Patil &sayaji15 [at] gmail& wrote: Hi,
I have deployed Openstack on a single node using devstack. I am using
ml2 plugin for neutron. When I try to launch an instance, I get this error "NovaException:
Unexpected vif_type=binding_failed" in Horizon.
There was a bug created for this
which is now fixed
I checked that I have the latest code(with the fix for above mentioned
bug), but I still see the issue
Here is my neutron.conf
[DEFAULT] auth_strategy = keystone allow_overlapping_ips = True policy_file = /etc/neutron/policy.json debug = True verbose = True service_plugins =
neutron.services.l3_router.l3_router_plugin.L3RouterPlugin core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin rabbit_password = password rabbit_host = localhost rpc_backend = mon.rpc.impl_kombu state_path = /opt/stack/data/neutron lock_path = $state_path/lock
[keystone_authtoken] auth_host = 172.23.45.41 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = password signing_dir = /var/cache/neutron
Here is my ml2_plugin.ini
[ml2] tenant_network_types = vlan type_drivers = vlan mechanism_drivers = openvswitch
[ml2_type_vlan] network_vlan_ranges = physnet1:500:600
[database] connection = mysql://root:password [at] 127/neutron_ml2?charset=utf8
[ovs] local_ip = 172.23.45.41
[agent] root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[securitygroup] firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
Am I missing something in the configuration ?
Regards, Sayaji
_______________________________________________ Mailing list:
: openstack [at] lists Unsubscribe :
Nov&15,&&PM
Post #4 of 11
(9194 views)
Re: NovaException: Unexpected vif_type=binding_failed
Thanks for the hint Yang. I checked the o/p of neutron agent-list and all agents looked good. Then I looked in the agents table in DB and the bridge_mapping was empty.
| 08d4544f-d71e-4df8-a2fe-3e998f307280 | Open vSwitch agent | neutron-openvswitch-agent | N/A
| localhost.localdomain |
02:19:46 |
02:19:46 |
05:39:00 | NULL
| {"tunnel_types": [], "tunneling_ip": "172.23.45.41", "bridge_mappings": {}, "l2_population": false, "devices": 2}
I added the bridge_mapping in the ml2_plugin.ini and now everything works fine.
Regards, Sayaji
On Thu, Nov 14, 2013 at 9:19 PM, Yang XY Yu &yuyangbj [at] cn& wrote:
& Please issue command #neutron agent-list to check if all agents are up, & looks like the issue is openvswitch-agent is down now, if so, please update & the agent_down_time in neutron.conf, and set a large number. & & Thanks & Best Regards, & ---------------------------------------------------- & Yang Yu(浜庢潹) & Cloud Solutions and OpenStack Development & China Systems & Technology Laboratory Beijing & E-mail: yuyangbj [at] cn & Tel: 86-10- & Address: Ring Bldg. No.28 Building, Zhong Guan Cun Software Park, & No. 8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193, & P.R.China & ---------------------------------------------------- & & &
*Sayaji Patil &sayaji15 [at] gmail &sayaji15 [at] gmail&&* & &
To & openstack [at] lists & cc &
Subject & Re: [Openstack] NovaException: Unexpected vif_type=binding_failed & & & & & Correction : & I see this in nova logs: & NovaException: Unexpected vif_type=binding_failed & & I see this in horizon: &
Error: Failed to launch instance "testvm": Please try again later & [Error: Unexpected vif_type=binding_failed]. & & Regards, & Sayaji & & & On Thu, Nov 14, 2013 at 7:01 PM, Sayaji Patil &*sayaji15 [at] gmail*&sayaji15 [at] gmail&& & wrote: & Hi, &
I have deployed Openstack on a single node using devstack. I am using & ml2 plugin for neutron. & When I try to launch an instance, I get this error "NovaException: & Unexpected vif_type=binding_failed" & in Horizon. & & There was a bug created for this & **&& which & is now fixed & & I checked that I have the latest code(with the fix for above mentioned & bug), but I still see the issue & & Here is my neutron.conf & & [DEFAULT] & auth_strategy = keystone & allow_overlapping_ips = True & policy_file = /etc/neutron/policy.json & debug = True & verbose = True & service_plugins = & neutron.services.l3_router.l3_router_plugin.L3RouterPlugin & core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin & rabbit_password = password & rabbit_host = localhost & rpc_backend = mon.rpc.impl_kombu & state_path = /opt/stack/data/neutron & lock_path = $state_path/lock & & [keystone_authtoken] & auth_host = 172.23.45.41 & auth_port = 35357 & auth_protocol = http & admin_tenant_name = service & admin_user = neutron & admin_password = password & signing_dir = /var/cache/neutron & & Here is my ml2_plugin.ini & & [ml2] & tenant_network_types = vlan & type_drivers = vlan & mechanism_drivers = openvswitch & & [ml2_type_vlan] & network_vlan_ranges = physnet1:500:600 & & [database] & connection = mysql://*root:password [at] 127/neutron_ml2?charset=utf8*&& & & [ovs] & local_ip = 172.23.45.41 & & [agent] & root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf & & [securitygroup] & firewall_driver = & neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver & & & & Am I missing something in the configuration ? & & & Regards, & Sayaji & & & & & & & & & _______________________________________________ & Mailing list: &
: openstack [at] lists & Unsubscribe : &
Nov&19,&&AM
Post #5 of 11
(9113 views)
Re: NovaException: Unexpected vif_type=binding_failed
Not sure why you configure the bridge_mapping in ml2_plugin.ini, we
configured it in ovs agent plugin, so is it a direction to configure
bridge_mapping in ML2?
Thanks & Best Regards, ---------------------------------------------------- Yang Yu(于杨) Cloud Solutions and OpenStack Development China Systems & Technology Laboratory Beijing E-mail: yuyangbj [at] cn
Tel: 86-10- Address: Ring Bldg. No.28 Building, Zhong Guan Cun Software Park,
No. 8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193,
----------------------------------------------------
Sayaji Patil &sayaji15 [at] gmail&
To Yang XY Yu/China/IBM [at] IBMC cc openstack [at] lists Subject Re: [Openstack] NovaException: Unexpected vif_type=binding_failed
Thanks for the hint Yang. I checked the o/p of neutron agent-list and all
agents looked good. Then I looked in the agents table in DB and the bridge_mapping was empty.
| 08d4544f-d71e-4df8-a2fe-3e998f307280 | Open vSwitch agent |
neutron-openvswitch-agent | N/A
| localhost.localdomain |
02:19:46 |
02:19:46 |
05:39:00 |
| {"tunnel_types": [], "tunneling_ip": "172.23.45.41",
"bridge_mappings": {}, "l2_population": false, "devices": 2}
I added the bridge_mapping in the ml2_plugin.ini and now everything works
Regards, Sayaji
On Thu, Nov 14, 2013 at 9:19 PM, Yang XY Yu &yuyangbj [at] cn& wrote: Please issue command #neutron agent-list to check if all agents are up,
looks like the issue is openvswitch-agent is down now, if so, please
update the agent_down_time in neutron.conf, and set a large number.
Thanks & Best Regards, ---------------------------------------------------- Yang Yu(于杨) Cloud Solutions and OpenStack Development China Systems & Technology Laboratory Beijing E-mail: yuyangbj [at] cn
Tel: 86-10- Address: Ring Bldg. No.28 Building, Zhong Guan Cun Software Park,
No. 8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193,
----------------------------------------------------
Sayaji Patil &sayaji15 [at] gmail&
To openstack [at] lists
Subject Re: [Openstack] NovaException: Unexpected vif_type=binding_failed
Correction :
I see this in nova logs:
NovaException: Unexpected vif_type=binding_failed
I see this in horizon:
Error: Failed to launch instance "testvm": Please try again later [Error:
Unexpected vif_type=binding_failed].
On Thu, Nov 14, 2013 at 7:01 PM, Sayaji Patil &sayaji15 [at] gmail& wrote:
I have deployed Openstack on a single node using devstack. I am using
ml2 plugin for neutron.
When I try to launch an instance, I get this error "NovaException:
Unexpected vif_type=binding_failed"
in Horizon.
There was a bug created for this
which is now fixed
I checked that I have the latest code(with the fix for above mentioned
bug), but I still see the issue
Here is my neutron.conf
auth_strategy = keystone
allow_overlapping_ips = True
policy_file = /etc/neutron/policy.json
debug = True
verbose = True
service_plugins =
neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
rabbit_password = password
rabbit_host = localhost
rpc_backend = mon.rpc.impl_kombu
state_path = /opt/stack/data/neutron
lock_path = $state_path/lock
[keystone_authtoken]
auth_host = 172.23.45.41
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = neutron
admin_password = password
signing_dir = /var/cache/neutron
Here is my ml2_plugin.ini
tenant_network_types = vlan
type_drivers = vlan
mechanism_drivers = openvswitch
[ml2_type_vlan]
network_vlan_ranges = physnet1:500:600
[database]
connection = mysql://root:password [at] 127/neutron_ml2?charset=utf8
local_ip = 172.23.45.41
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[securitygroup]
firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
Am I missing something in the configuration ?
_______________________________________________ Mailing list:
: openstack [at] lists Unsubscribe :
Dec&31,&&AM
Post #6 of 11
(6616 views)
Re: NovaException: Unexpected vif_type=binding_failed
Hi, Can you please post your ml2_conf.ini, ml2_conf_sriov.ini and nova.conf?
Thanks, Itzik
On 12/31/ PM, Sadia Bashir wrote: & Hello everyone, & & I am getting following error in nova-compute.log while creating a
& virtual machine with sriov nic type on Juno All-In-One Installation
& (Ubuntu14.04): & &
02:40:49.416 20653 INFO nova.virt.libvirt.driver [-]
& [instance: 6-4ace-b1d6-abebe4986f01] Creating image &
02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable
& to import guestfsfalling back to VFSLocalFS &
02:40:50.162 20653 pute.manager [-]
& [instance: 6-4ace-b1d6-abebe4986f01] Instance failed to spawn &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] Traceback (most recent call last): &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249,
& in _build_resources &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
yield resources &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119,
& in _build_and_run_instance &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] block_device_info=block_device_info) &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
& 2619, in spawn &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] write_to_disk=True) &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
& 4150, in _get_guest_xml &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] context) &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
& 3936, in _get_guest_config &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] flavor, CONF.libvirt.virt_type) &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01]
& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352,
& in get_config &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] _("Unexpected vif_type=%s") %
& vif_type) &
02:40:50.162 20653 pute.manager [instance:
& 6-4ace-b1d6-abebe4986f01] NovaException: Unexpected
& vif_type=binding_failed & & After configuring I have made changes to /etc/init/neutron-server.conf
& and neutron-plugin-sriov-agent.conf scripts to avoid errors. & & Please let me know the exact reason which is causing this error and
& how can it be fixed. Any help/suggestion would be highly appreciated. & & Thanks and Regards, & --
& & & & _______________________________________________ & Mailing list:
: openstack [at] lists & Unsubscribe :
Dec&31,&&AM
Post #7 of 11
(6646 views)
Re: NovaException: Unexpected vif_type=binding_failed
the binding occurs when calling the binding function in the sriov mechanism. I'd check the following:
1. The network type you are using when creating the port is VLAN 2. Are you using neutron-sriov-agent?
In my case, I found this error when using not VLAN type.
On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir &11msccssbashir [at] seecs& wrote:
& Hello everyone, & & I am getting following error in nova-compute.log while creating a virtual & machine with sriov nic type on Juno All-In-One Installation (Ubuntu14.04): & &
02:40:49.416 20653 INFO nova.virt.libvirt.driver [-] [instance: & 6-4ace-b1d6-abebe4986f01] Creating image &
02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable to & import guestfsfalling back to VFSLocalFS &
02:40:50.162 20653 pute.manager [-] [instance: & 6-4ace-b1d6-abebe4986f01] Instance failed to spawn &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01] Traceback (most recent call last): &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249, in & _build_resources &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
yield resources &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119, in & _build_and_run_instance &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01] & block_device_info=block_device_info) &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2619, & in spawn &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
write_to_disk=True) &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4150, & in _get_guest_xml &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
context) &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3936, & in _get_guest_config &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
flavor, CONF.libvirt.virt_type) &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
File & "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352, in & get_config &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01]
_("Unexpected vif_type=%s") % & vif_type) &
02:40:50.162 20653 pute.manager [instance: & 6-4ace-b1d6-abebe4986f01] NovaException: Unexpected & vif_type=binding_failed & & After configuring I have made changes to /etc/init/neutron-server.conf and & neutron-plugin-sriov-agent.conf scripts to avoid errors. & & Please let me know the exact reason which is causing this error and how & can it be fixed. Any help/suggestion would be highly appreciated. & & Thanks and Regards, & -- & & & & _______________________________________________ & Mailing list: &
: openstack [at] lists & Unsubscribe : &
Pedro Navarro P茅rez
Dec&31,&&PM
Post #8 of 11
(6604 views)
Re: NovaException: Unexpected vif_type=binding_failed
Iam facing the same issue, my set up is very minimal with centos.
Thanks and regards, Dhanesh M.
On Wed, Dec 31, 2014 at 9:41 PM, Pedro Navarro P茅rez &pednape [at] gmail& wrote:
& Hi Sadia, & & the binding occurs when calling the binding function in the sriov & mechanism. I'd check the following: & & 1. The network type you are using when creating the port is VLAN & 2. Are you using neutron-sriov-agent? & & In my case, I found this error when using not VLAN type. & & Regards & & On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir & & 11msccssbashir [at] seecs& wrote: & && Hello everyone, && && I am getting following error in nova-compute.log while creating a virtual && machine with sriov nic type on Juno All-In-One Installation (Ubuntu14.04): && &&
02:40:49.416 20653 INFO nova.virt.libvirt.driver [-] && [instance: 6-4ace-b1d6-abebe4986f01] Creating image &&
02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable to && import guestfsfalling back to VFSLocalFS &&
02:40:50.162 20653 pute.manager [-] [instance: && 6-4ace-b1d6-abebe4986f01] Instance failed to spawn &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01] Traceback (most recent call last): &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249, in && _build_resources &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
yield resources &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119, in && _build_and_run_instance &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01] && block_device_info=block_device_info) &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2619, && in spawn &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
write_to_disk=True) &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4150, && in _get_guest_xml &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
context) &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3936, && in _get_guest_config &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
flavor, CONF.libvirt.virt_type) &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
File && "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352, in && get_config &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01]
_("Unexpected vif_type=%s") % && vif_type) &&
02:40:50.162 20653 pute.manager [instance: && 6-4ace-b1d6-abebe4986f01] NovaException: Unexpected && vif_type=binding_failed && && After configuring I have made changes to /etc/init/neutron-server.conf && and neutron-plugin-sriov-agent.conf scripts to avoid errors. && && Please let me know the exact reason which is causing this error and how && can it be fixed. Any help/suggestion would be highly appreciated. && && Thanks and Regards, && -- && && && && _______________________________________________ && Mailing list: &&
&& Post to
: openstack [at] lists && Unsubscribe : &&
&& && & & & -- & Pedro Navarro P茅rez & & _______________________________________________ & Mailing list: &
: openstack [at] lists & Unsubscribe : &
Jan&1,&&AM
Post #9 of 11
(6596 views)
Re: NovaException: Unexpected vif_type=binding_failed
Please find the files below:
1. ml2_conf.ini [ml2] # (ListOpt) List of network type driver entrypoints to be loaded from # the neutron.ml2.type_drivers namespace. # # type_drivers = local,flat,vlan,gre,vxlan # Example: type_drivers = flat,vlan,gre,vxlan #type_drivers = flat,gre, vlan type_drivers = flat,vlan
# (ListOpt) Ordered list of network_types to allocate as tenant # networks. The default value 'local' is useful for single-box testing # but provides no connectivity between hosts. # # tenant_network_types = local # Example: tenant_network_types = vlan,gre,vxlan #tenant_network_types = gre, vlan tenant_network_types = vlan
# (ListOpt) Ordered list of networking mechanism driver entrypoints # to be loaded from the neutron.ml2.mechanism_drivers namespace. mechanism_drivers = openvswitch,sriovnicswitch # Example: mechanism_drivers = openvswitch,mlnx # Example: mechanism_drivers = arista # Example: mechanism_drivers = cisco,logger # Example: mechanism_drivers = openvswitch,brocade # Example: mechanism_drivers = linuxbridge,brocade
# (ListOpt) Ordered list of extension driver entrypoints # to be loaded from the neutron.ml2.extension_drivers namespace. # extension_drivers = # Example: extension_drivers = anewextensiondriver
[ml2_type_flat] # (ListOpt) List of physical_network names with which flat networks # can be created. Use * to allow flat networks with arbitrary # physical_network names. # flat_networks = external # Example:flat_networks = physnet1,physnet2 # Example:flat_networks = * [ml2_type_vlan] # (ListOpt) List of &physical_network&[:&vlan_min&:&vlan_max&] tuples # specifying physical_network names usable for VLAN provider and # tenant networks, as well as ranges of VLAN tags on each # physical_network available for allocation as tenant networks. # network_vlan_ranges = external:2:100 # Example: network_vlan_ranges = physnet1:,physnet2
[ml2_type_gre] # (ListOpt) Comma-separated list of &tun_min&:&tun_max& tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation #tunnel_id_ranges = 1:1000
[ml2_type_vxlan] # (ListOpt) Comma-separated list of &vni_min&:&vni_max& tuples enumerating # ranges of VXLAN VNI IDs that are available for tenant network allocation. # # vni_ranges =
# (StrOpt) Multicast group for the VXLAN interface. When configured, will # enable sending all broadcast traffic to this multicast group. When left # unconfigured, will disable multicast VXLAN mode. # # vxlan_group = # Example: vxlan_group = 239.1.1.1
[securitygroup] # Controls if neutron security group is enabled or not. # It should be false when you use nova security group. enable_security_group = True
# Use ipset to speed-up the iptables security groups. Enabling ipset support # requires that ipset is installed on L2 agent node. enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] local_ip = controller #enable_tunneling = True bridge_mappings = external:br-ex
[agent] #tunnel_types = vlan
#[ml2_sriov] #agent_required = True
2. ml2_conf_sriov.ini: # Defines configuration options for SRIOV NIC Switch MechanismDriver # and Agent
[ml2_sriov] # (ListOpt) Comma-separated list of # supported Vendor PCI Devices, in format vendor_id:product_id # #supported_pci_vendor_devs = 8086:10ca, 8086:10ed supported_pci_vendor_devs = 8086:10ed # Example: supported_pci_vendor_devs = 15b3:1004 # # (BoolOpt) Requires running SRIOV neutron agent for port binding #agent_required = True
[sriov_nic] # (ListOpt) Comma-separated list of &physical_network&:&network_device& # tuples mapping physical network names to the agent's node-specific # physical network device interfaces of SR-IOV physical function to be used # for VLAN networks. All physical networks listed in network_vlan_ranges on # the server should have mappings to appropriate interfaces on each agent. # physical_device_mappings = external:em1 # Example: physical_device_mappings = physnet1:eth1 # # (ListOpt) Comma-separated list of &network_device&:&vfs__to_exclude& # tuples, mapping network_device to the agent's node-specific list of virtual # functions that should not be used for virtual networking. # vfs_to_exclude is a semicolon-separated list of virtual # functions to exclude from network_device. The network_device in the # mapping should appear in the physical_device_mappings list. # exclude_devices = # Example: exclude_devices = eth1:.2; .3
3. nova.conf: [DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True libvirt_use_virtio_for_bridges=True verbose=True ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini enabled_apis=ec2,osapi_compute,metadata
verbose = True
my_ip = 172.17.250.78
vnc_enabled = True vncserver_listen = controller vncserver_proxyclient_address = controller novncproxy_base_url =
rpc_backend = rabbit rabbit_host = controller rabbit_password = d3ll1234
auth_strategy = keystone
network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver
instance_usage_audit = True instance_usage_audit_period = hour notify_on_state_change = vm_and_task_state notification_driver = mon.notifier.rpc_notifier notification_driver = pute.nova_notifier
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver #libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver scheduler_default_filters=AllHostsFilter scheduler_available_filters=nova.scheduler.filters.all_filters rpc_response_timeout=600
pci_passthrough_whitelist = {"address":"*:03:10.*","physical_network":"external"}
[database] connection = mysql://nova:d3ll1234 [at] controlle/nova
[keystone_authtoken] auth_uri =
identity_uri =
admin_tenant_name = service admin_user = nova admin_password = d3ll1234
[glance] host = controller
[neutron] url =
auth_strategy = keystone admin_auth_url =
admin_tenant_name = service admin_username = neutron admin_password = d3ll1234 service_metadata_proxy = True metadata_proxy_shared_secret = a6bf41fed1c
Please let me know what I am doing wrong or missing in order to fix this bug.
Thanks and Regards,
On Thu, Jan 1, 2015 at 11:36 AM, dhanesh &dhanesh1212 [at] gmail& wrote:
& Hi All, & & Iam facing the same issue, my set up is very minimal with centos. & & & Thanks and regards, & Dhanesh M. & & On Wed, Dec 31, 2014 at 9:41 PM, Pedro Navarro P茅rez &pednape [at] gmail& & wrote: & && Hi Sadia, && && the binding occurs when calling the binding function in the sriov && mechanism. I'd check the following: && && 1. The network type you are using when creating the port is VLAN && 2. Are you using neutron-sriov-agent? && && In my case, I found this error when using not VLAN type. && && Regards && && On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir & && 11msccssbashir [at] seecs& wrote: && &&& Hello everyone, &&& &&& I am getting following error in nova-compute.log while creating a &&& virtual machine with sriov nic type on Juno All-In-One Installation &&& (Ubuntu14.04): &&& &&&
02:40:49.416 20653 INFO nova.virt.libvirt.driver [-] &&& [instance: 6-4ace-b1d6-abebe4986f01] Creating image &&&
02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable to &&& import guestfsfalling back to VFSLocalFS &&&
02:40:50.162 20653 pute.manager [-] [instance: &&& 6-4ace-b1d6-abebe4986f01] Instance failed to spawn &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01] Traceback (most recent call last): &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249, in &&& _build_resources &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
yield resources &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119, in &&& _build_and_run_instance &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01] &&& block_device_info=block_device_info) &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2619, &&& in spawn &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
write_to_disk=True) &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4150, &&& in _get_guest_xml &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
context) &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3936, &&& in _get_guest_config &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
flavor, CONF.libvirt.virt_type) &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
File &&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352, in &&& get_config &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01]
_("Unexpected vif_type=%s") % &&& vif_type) &&&
02:40:50.162 20653 pute.manager [instance: &&& 6-4ace-b1d6-abebe4986f01] NovaException: Unexpected &&& vif_type=binding_failed &&& &&& After configuring I have made changes to /etc/init/neutron-server.conf &&& and neutron-plugin-sriov-agent.conf scripts to avoid errors. &&& &&& Please let me know the exact reason which is causing this error and how &&& can it be fixed. Any help/suggestion would be highly appreciated. &&& &&& Thanks and Regards, &&& -- &&& &&& &&& &&& _______________________________________________ &&& Mailing list: &&&
&&& Post to
: openstack [at] lists &&& Unsubscribe : &&&
&&& &&& && && && -- && Pedro Navarro P茅rez && && _______________________________________________ && Mailing list: &&
&& Post to
: openstack [at] lists && Unsubscribe : &&
Jan&1,&&AM
Post #10 of 11
(6634 views)
Re: NovaException: Unexpected vif_type=binding_failed
Hi, Can you look for errors in Neutron log? Also I recommend not using All-in-one when trying sriovnicswitch.
Itzik On 01/01/ AM, Sadia Bashir wrote: & Hi Itzik, & & Please find the files below: & & 1. ml2_conf.ini & [ml2] & # (ListOpt) List of network type driver entrypoints to be loaded from & # the neutron.ml2.type_drivers namespace. & # & # type_drivers = local,flat,vlan,gre,vxlan & # Example: type_drivers = flat,vlan,gre,vxlan & #type_drivers = flat,gre, vlan & type_drivers = flat,vlan & & # (ListOpt) Ordered list of network_types to allocate as tenant & # networks. The default value 'local' is useful for single-box testing & # but provides no connectivity between hosts. & # & # tenant_network_types = local & # Example: tenant_network_types = vlan,gre,vxlan & #tenant_network_types = gre, vlan & tenant_network_types = vlan & & # (ListOpt) Ordered list of networking mechanism driver entrypoints & # to be loaded from the neutron.ml2.mechanism_drivers namespace. & mechanism_drivers = openvswitch,sriovnicswitch & # Example: mechanism_drivers = openvswitch,mlnx & # Example: mechanism_drivers = arista & # Example: mechanism_drivers = cisco,logger & # Example: mechanism_drivers = openvswitch,brocade & # Example: mechanism_drivers = linuxbridge,brocade & & # (ListOpt) Ordered list of extension driver entrypoints & # to be loaded from the neutron.ml2.extension_drivers namespace. & # extension_drivers = & # Example: extension_drivers = anewextensiondriver & & [ml2_type_flat] & # (ListOpt) List of physical_network names with which flat networks & # can be created. Use * to allow flat networks with arbitrary & # physical_network names. & # & flat_networks = external & # Example:flat_networks = physnet1,physnet2 & # Example:flat_networks = * & [ml2_type_vlan] & # (ListOpt) List of &physical_network&[:&vlan_min&:&vlan_max&] tuples & # specifying physical_network names usable for VLAN provider and & # tenant networks, as well as ranges of VLAN tags on each & # physical_network available for allocation as tenant networks. & # & network_vlan_ranges = external:2:100 & # Example: network_vlan_ranges = physnet1:,physnet2 & & [ml2_type_gre] & # (ListOpt) Comma-separated list of &tun_min&:&tun_max& tuples
& enumerating ranges of GRE tunnel IDs that are available for tenant
& network allocation & #tunnel_id_ranges = 1:1000 & & [ml2_type_vxlan] & # (ListOpt) Comma-separated list of &vni_min&:&vni_max& tuples enumerating & # ranges of VXLAN VNI IDs that are available for tenant network
& allocation. & # & # vni_ranges = & & # (StrOpt) Multicast group for the VXLAN interface. When configured, will & # enable sending all broadcast traffic to this multicast group. When left & # unconfigured, will disable multicast VXLAN mode. & # & # vxlan_group = & # Example: vxlan_group = 239.1.1.1 & & [securitygroup] & # Controls if neutron security group is enabled or not. & # It should be false when you use nova security group. & enable_security_group = True & & # Use ipset to speed-up the iptables security groups. Enabling ipset
& support & # requires that ipset is installed on L2 agent node. & enable_ipset = True & firewall_driver =
& neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver & [ovs] & local_ip = controller & #enable_tunneling = True & bridge_mappings = external:br-ex & & [agent] & #tunnel_types = vlan & & #[ml2_sriov] & #agent_required = True & & 2. ml2_conf_sriov.ini: & # Defines configuration options for SRIOV NIC Switch MechanismDriver & # and Agent & & [ml2_sriov] & # (ListOpt) Comma-separated list of & # supported Vendor PCI Devices, in format vendor_id:product_id & # & #supported_pci_vendor_devs = 8086:10ca, 8086:10ed & supported_pci_vendor_devs = 8086:10ed & # Example: supported_pci_vendor_devs = 15b3:1004 & # & # (BoolOpt) Requires running SRIOV neutron agent for port binding & #agent_required = True & & [sriov_nic] & # (ListOpt) Comma-separated list of &physical_network&:&network_device& & # tuples mapping physical network names to the agent's node-specific & # physical network device interfaces of SR-IOV physical function to be
& used & # for VLAN networks. All physical networks listed in
& network_vlan_ranges on & # the server should have mappings to appropriate interfaces on each agent. & # & physical_device_mappings = external:em1 & # Example: physical_device_mappings = physnet1:eth1 & # & # (ListOpt) Comma-separated list of &network_device&:&vfs__to_exclude& & # tuples, mapping network_device to the agent's node-specific list of
& virtual & # functions that should not be used for virtual networking. & # vfs_to_exclude is a semicolon-separated list of virtual & # functions to exclude from network_device. The network_device in the & # mapping should appear in the physical_device_mappings list. & # exclude_devices = & # Example: exclude_devices = eth1:.2; .3 & & & 3. nova.conf: & [DEFAULT] & dhcpbridge_flagfile=/etc/nova/nova.conf & dhcpbridge=/usr/bin/nova-dhcpbridge & logdir=/var/log/nova & state_path=/var/lib/nova & lock_path=/var/lock/nova & force_dhcp_release=True & libvirt_use_virtio_for_bridges=True & verbose=True & ec2_private_dns_show_ip=True & api_paste_config=/etc/nova/api-paste.ini & enabled_apis=ec2,osapi_compute,metadata & & verbose = True & & my_ip = 172.17.250.78 & & vnc_enabled = True & vncserver_listen = controller & vncserver_proxyclient_address = controller & novncproxy_base_url =
& & rpc_backend = rabbit & rabbit_host = controller & rabbit_password = d3ll1234 & & auth_strategy = keystone & & network_api_class = nova.network.neutronv2.api.API & security_group_api = neutron & linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver & firewall_driver = nova.virt.firewall.NoopFirewallDriver & & instance_usage_audit = True & instance_usage_audit_period = hour & notify_on_state_change = vm_and_task_state & notification_driver = mon.notifier.rpc_notifier & notification_driver = pute.nova_notifier & & libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver & #libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver & scheduler_default_filters=AllHostsFilter & scheduler_available_filters=nova.scheduler.filters.all_filters & rpc_response_timeout=600 & & pci_passthrough_whitelist =
& {"address":"*:03:10.*","physical_network":"external"} & & [database] & connection = mysql://nova:d3ll1234 [at] controlle/nova & & [keystone_authtoken] & auth_uri =
& identity_uri =
& admin_tenant_name = service & admin_user = nova & admin_password = d3ll1234 & & [glance] & host = controller & & [neutron] & url =
& auth_strategy = keystone & admin_auth_url =
& admin_tenant_name = service & admin_username = neutron & admin_password = d3ll1234 & service_metadata_proxy = True & metadata_proxy_shared_secret = a6bf41fed1c & & Please let me know what I am doing wrong or missing in order to fix
& this bug. & & Thanks and Regards, & & On Thu, Jan 1, 2015 at 11:36 AM, dhanesh
& &dhanesh1212 [at] gmail &mailto:dhanesh1212 [at] gmail&& wrote: & &
Hi All, & &
Iam facing the same issue, my set up is very minimal with centos. & & &
Thanks and regards, &
Dhanesh M. & &
On Wed, Dec 31, 2014 at 9:41 PM, Pedro Navarro P閞ez &
&pednape [at] gmail &mailto:pednape [at] gmail&& wrote: & &
Hi Sadia, & &
the binding occurs when calling the binding function in the &
sriov mechanism. I'd check the following: & &
1. The network type you are using when creating the port is VLAN &
2. Are you using neutron-sriov-agent? & &
In my case, I found this error when using not VLAN type. & &
Regards & &
On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir &
&11msccssbashir [at] seecs &
&mailto:11msccssbashir [at] seecs&& wrote: & &
Hello everyone, & &
I am getting following error in nova-compute.log while &
creating a virtual machine with sriov nic type on Juno &
All-In-One Installation (Ubuntu14.04): & &
02:40:49.416 20653 INFO &
nova.virt.libvirt.driver [-] [instance: &
6-4ace-b1d6-abebe4986f01] Creating image &
02:40:49.662 20653 INFO nova.virt.disk.vfs.api &
[-] Unable to import guestfsfalling back to VFSLocalFS &
02:40:50.162 20653 pute.manager &
[-] [instance: 6-4ace-b1d6-abebe4986f01] &
Instance failed to spawn &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] Traceback &
(most recent call last): &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line &
2249, in _build_resources &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] yield &
resources &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line &
2119, in _build_and_run_instance &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] &
block_device_info=block_device_info) &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", &
line 2619, in spawn &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] &
write_to_disk=True) &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", &
line 4150, in _get_guest_xml &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] context) &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", &
line 3936, in _get_guest_config &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] flavor, &
CONF.libvirt.virt_type) &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] File &
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", &
line 352, in get_config &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] &
_("Unexpected vif_type=%s") % vif_type) &
02:40:50.162 20653 pute.manager &
[instance: 6-4ace-b1d6-abebe4986f01] &
NovaException: Unexpected vif_type=binding_failed & &
After configuring I have made changes to &
/etc/init/neutron-server.conf and &
neutron-plugin-sriov-agent.conf scripts to avoid errors. & &
Please let me know the exact reason which is causing this &
error and how can it be fixed. Any help/suggestion would &
be highly appreciated. & &
Thanks and Regards, &
_______________________________________________ &
Mailing list: &
: openstack [at] lists &
&mailto:openstack [at] lists& &
Unsubscribe : &
Pedro Navarro P閞ez & &
_______________________________________________ &
Mailing list: &
: openstack [at] lists &
&mailto:openstack [at] lists& &
Unsubscribe : &
& & & & & & --
& & & & _______________________________________________ & Mailing list:
: openstack [at] lists & Unsubscribe :
Jan&12,&&AM
Post #11 of 11
(6496 views)
Re: NovaException: Unexpected vif_type=binding_failed
I agree with Itzik, I'd not use the same interface for public networks (br-ex) and the interface for SR-IOV.
On Thu, Jan 1, 2015 at 1:36 PM, Itzik Brown &itzikb [at] redhat& wrote:
Hi, & Can you look for errors in Neutron log? & Also I recommend not using All-in-one when trying sriovnicswitch. & & Itzik & & On 01/01/ AM, Sadia Bashir wrote: & &
Hi Itzik, & &
Please find the files below: & &
1. ml2_conf.ini & [ml2] & # (ListOpt) List of network type driver entrypoints to be loaded from & # the neutron.ml2.type_drivers namespace. & # & # type_drivers = local,flat,vlan,gre,vxlan & # Example: type_drivers = flat,vlan,gre,vxlan & #type_drivers = flat,gre, vlan & type_drivers = flat,vlan & & # (ListOpt) Ordered list of network_types to allocate as tenant & # networks. The default value 'local' is useful for single-box testing & # but provides no connectivity between hosts. & # & # tenant_network_types = local & # Example: tenant_network_types = vlan,gre,vxlan & #tenant_network_types = gre, vlan & tenant_network_types = vlan & & # (ListOpt) Ordered list of networking mechanism driver entrypoints & # to be loaded from the neutron.ml2.mechanism_drivers namespace. & mechanism_drivers = openvswitch,sriovnicswitch & # Example: mechanism_drivers = openvswitch,mlnx & # Example: mechanism_drivers = arista & # Example: mechanism_drivers = cisco,logger & # Example: mechanism_drivers = openvswitch,brocade & # Example: mechanism_drivers = linuxbridge,brocade & & # (ListOpt) Ordered list of extension driver entrypoints & # to be loaded from the neutron.ml2.extension_drivers namespace. & # extension_drivers = & # Example: extension_drivers = anewextensiondriver & & [ml2_type_flat] & # (ListOpt) List of physical_network names with which flat networks & # can be created. Use * to allow flat networks with arbitrary & # physical_network names. & # & flat_networks = external & # Example:flat_networks = physnet1,physnet2 & # Example:flat_networks = * & [ml2_type_vlan] & # (ListOpt) List of &physical_network&[:&vlan_min&:&vlan_max&] tuples & # specifying physical_network names usable for VLAN provider and & # tenant networks, as well as ranges of VLAN tags on each & # physical_network available for allocation as tenant networks. & # & network_vlan_ranges = external:2:100 & # Example: network_vlan_ranges = physnet1:,physnet2 & & [ml2_type_gre] & # (ListOpt) Comma-separated list of &tun_min&:&tun_max& tuples enumerating & ranges of GRE tunnel IDs that are available for tenant network allocation & #tunnel_id_ranges = 1:1000 & & [ml2_type_vxlan] & # (ListOpt) Comma-separated list of &vni_min&:&vni_max& tuples enumerating & # ranges of VXLAN VNI IDs that are available for tenant network allocation. & # & # vni_ranges = & & # (StrOpt) Multicast group for the VXLAN interface. When configured, will & # enable sending all broadcast traffic to this multicast group. When left & # unconfigured, will disable multicast VXLAN mode. & # & # vxlan_group = & # Example: vxlan_group = 239.1.1.1 & & [securitygroup] & # Controls if neutron security group is enabled or not. & # It should be false when you use nova security group. & enable_security_group = True & & # Use ipset to speed-up the iptables security groups. Enabling ipset & support & # requires that ipset is installed on L2 agent node. & enable_ipset = True & firewall_driver = & neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver & [ovs] & local_ip = controller & #enable_tunneling = True & bridge_mappings = external:br-ex & & [agent] & #tunnel_types = vlan & & #[ml2_sriov] & #agent_required = True & &
2. ml2_conf_sriov.ini: & # Defines configuration options for SRIOV NIC Switch MechanismDriver & # and Agent & & [ml2_sriov] & # (ListOpt) Comma-separated list of & # supported Vendor PCI Devices, in format vendor_id:product_id & # & #supported_pci_vendor_devs = 8086:10ca, 8086:10ed & supported_pci_vendor_devs = 8086:10ed & # Example: supported_pci_vendor_devs = 15b3:1004 & # & # (BoolOpt) Requires running SRIOV neutron agent for port binding & #agent_required = True & & [sriov_nic] & # (ListOpt) Comma-separated list of &physical_network&:&network_device& & # tuples mapping physical network names to the agent's node-specific & # physical network device interfaces of SR-IOV physical function to be used & # for VLAN networks. All physical networks listed in network_vlan_ranges on & # the server should have mappings to appropriate interfaces on each agent. & # & physical_device_mappings = external:em1 & # Example: physical_device_mappings = physnet1:eth1 & # & # (ListOpt) Comma-separated list of &network_device&:&vfs__to_exclude& & # tuples, mapping network_device to the agent's node-specific list of & virtual & # functions that should not be used for virtual networking. & # vfs_to_exclude is a semicolon-separated list of virtual & # functions to exclude from network_device. The network_device in the & # mapping should appear in the physical_device_mappings list. & # exclude_devices = & # Example: exclude_devices = eth1:.2; .3 & & &
3. nova.conf: & [DEFAULT] & dhcpbridge_flagfile=/etc/nova/nova.conf & dhcpbridge=/usr/bin/nova-dhcpbridge & logdir=/var/log/nova & state_path=/var/lib/nova & lock_path=/var/lock/nova & force_dhcp_release=True & libvirt_use_virtio_for_bridges=True & verbose=True & ec2_private_dns_show_ip=True & api_paste_config=/etc/nova/api-paste.ini & enabled_apis=ec2,osapi_compute,metadata & & verbose = True & & my_ip = 172.17.250.78 & & vnc_enabled = True & vncserver_listen = controller & vncserver_proxyclient_address = controller & novncproxy_base_url =
& & rpc_backend = rabbit & rabbit_host = controller & rabbit_password = d3ll1234 & & auth_strategy = keystone & & network_api_class = nova.network.neutronv2.api.API & security_group_api = neutron & linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver & firewall_driver = nova.virt.firewall.NoopFirewallDriver & & instance_usage_audit = True & instance_usage_audit_period = hour & notify_on_state_change = vm_and_task_state & notification_driver = mon.notifier.rpc_notifier & notification_driver = pute.nova_notifier & & libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver & #libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver & scheduler_default_filters=AllHostsFilter & scheduler_available_filters=nova.scheduler.filters.all_filters & rpc_response_timeout=600 & & pci_passthrough_whitelist = & {"address":"*:03:10.*","physical_network":"external"} & & [database] & connection = mysql://nova:d3ll1234 [at] controlle/nova & & [keystone_authtoken] & auth_uri =
& identity_uri =
& admin_tenant_name = service & admin_user = nova & admin_password = d3ll1234 & & [glance] & host = controller & & [neutron] & url =
& auth_strategy = keystone & admin_auth_url =
& admin_tenant_name = service & admin_username = neutron & admin_password = d3ll1234 & service_metadata_proxy = True & metadata_proxy_shared_secret = a6bf41fed1c & &
Please let me know what I am doing wrong or missing in order to fix this & bug. & &
Thanks and Regards, & & On Thu, Jan 1, 2015 at 11:36 AM, dhanesh &dhanesh1212 [at] gmail& & wrote: & &&
Hi All, && &&
Iam facing the same issue, my set up is very minimal with centos. && && &&
Thanks and regards, &&
Dhanesh M. && && On Wed, Dec 31, 2014 at 9:41 PM, Pedro Navarro P茅rez &pednape [at] gmail& && wrote: && &&& Hi Sadia, &&& &&&
the binding occurs when calling the binding function in the sriov &&& mechanism. I'd check the following: &&& &&&
1. The network type you are using when creating the port is VLAN &&& 2. Are you using neutron-sriov-agent? &&& &&&
In my case, I found this error when using not VLAN type. &&& &&&
Regards &&& &&&
On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir & &&& 11msccssbashir [at] seecs& wrote: &&& &&&&
Hello everyone, &&&& &&&&
I am getting following error in nova-compute.log while creating a &&&& virtual machine with sriov nic type on Juno All-In-One Installation &&&& (Ubuntu14.04): &&&& &&&&
02:40:49.416 20653 INFO nova.virt.libvirt.driver [-] &&&& [instance: 6-4ace-b1d6-abebe4986f01] Creating image &&&&
02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable to &&&& import guestfsfalling back to VFSLocalFS &&&&
02:40:50.162 20653 pute.manager [-] [instance: &&&& 6-4ace-b1d6-abebe4986f01] Instance failed to spawn &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01] Traceback (most recent call last): &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249, in &&&& _build_resources &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
yield resources &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119, in &&&& _build_and_run_instance &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01] &&&& block_device_info=block_device_info) &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2619, &&&& in spawn &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
write_to_disk=True) &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4150, &&&& in _get_guest_xml &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
context) &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3936, &&&& in _get_guest_config &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
flavor, CONF.libvirt.virt_type) &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
File &&&& "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352, in &&&& get_config &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01]
_("Unexpected vif_type=%s") % &&&& vif_type) &&&&
02:40:50.162 20653 pute.manager [instance: &&&& 6-4ace-b1d6-abebe4986f01] NovaException: Unexpected &&&& vif_type=binding_failed &&&& &&&&
After configuring I have made changes to /etc/init/neutron-server.conf &&&& and neutron-plugin-sriov-agent.conf scripts to avoid errors. &&&& &&&&
Please let me know the exact reason which is causing this error and &&&& how can it be fixed. Any help/suggestion would be highly appreciated. &&&& &&&&
Thanks and Regards, &&&&
-- &&&& &&&& &&&& &&&&
_______________________________________________ &&&& Mailing list: &&&&
&&&& Post to
: openstack [at] lists &&&& Unsubscribe : &&&&
&&&& &&&& &&& &&& &&&
Pedro Navarro P茅rez &&& &&& _______________________________________________ &&& Mailing list: &&&
&&& Post to
: openstack [at] lists &&& Unsubscribe : &&&
&&& &&& && & & & -- & & & & & _______________________________________________ & Mailing list:
: openstack [at] lists & Unsubscribe :
& & & & _______________________________________________ & Mailing list: &
: openstack [at] lists & Unsubscribe : &
Pedro Navarro P茅rez
&&&&Announce
&&&&Foundation
&&&&Operators
&&&&Partner
&&&&Netstack
&&&&Volume
Interested in having your list archived?
Powered by Gossamer Threads Inc.

我要回帖

更多关于 大象受伤酒店求助 的文章

 

随机推荐