[Openstack] NovaException: Unexpected vif_type=binding_failed

Yang XY Yu yuyangbj at cn.ibm.com
Tue Nov 19 08:00:47 UTC 2013


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.ibm.com 
Tel: 86-10-82452757
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.com> 
2013-11-16 04:01

To
Yang XY Yu/China/IBM at IBMCN
cc
openstack at lists.openstack.org
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 |           
   1 | 2013-11-15 02:19:46 | 2013-11-15 02:19:46 | 2013-11-15 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.ibm.com> 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.ibm.com 
Tel: 86-10-82452757
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.com> 
2013-11-15 11:12 


To
openstack at lists.openstack.org 
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.com> 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 
https://bugs.launchpad.net/neutron/+bug/1244255 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 = neutron.openstack.common.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@127.0.0.1/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: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131119/f63e062b/attachment.html>


More information about the Openstack mailing list