<div dir="ltr">Thanks for the hint Yang. I checked the o/p of neutron agent-list and all agents looked good.<div>Then I looked in the agents table in DB and the bridge_mapping was empty.</div><div><br></div><div>| 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}         </div>

<div><br></div><div>I added the bridge_mapping in the <span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">ml2_plugin.ini and now everything works fine.</span><br></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Regards,</span></div><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Sayaji</span></div><div><br>

</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 9:19 PM, Yang XY Yu <span dir="ltr"><<a href="mailto:yuyangbj@cn.ibm.com" target="_blank">yuyangbj@cn.ibm.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">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.</font>
<br>
<br><font face="sans-serif">Thanks & Best Regards,<br>
----------------------------------------------------<br>
Yang Yu(于杨)<br>
Cloud Solutions and OpenStack Development<br>
China Systems & Technology Laboratory Beijing<br>
E-mail: <a href="mailto:yuyangbj@cn.ibm.com" target="_blank">yuyangbj@cn.ibm.com</a> <br>
Tel: 86-10-82452757<br>
Address: Ring Bldg. No.28 Building, Zhong Guan Cun Software Park, <br>
No. 8 Dong Bei Wang West Road, ShangDi, Haidian District, Beijing 100193,
P.R.China <br>
----------------------------------------------------</font>
<br>
<br>
<br>
<p></p><table width="100%">
<tbody><tr valign="top">
<td width="40%"><font size="1" face="sans-serif"><b>Sayaji Patil <<a href="mailto:sayaji15@gmail.com" target="_blank">sayaji15@gmail.com</a>></b>
</font>
<p><font size="1" face="sans-serif">2013-11-15 11:12</font>
</p></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">To</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">Subject</font></div>
</td><td><font size="1" face="sans-serif">Re: [Openstack] NovaException: Unexpected
vif_type=binding_failed</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table><div><div class="h5">
<br>
<br>
<br><font size="3">Correction :</font>
<br><font size="3">I see this in nova logs: </font>
<br><font face="Arial">NovaException: Unexpected vif_type=binding_failed</font>
<br>
<br><font face="Arial">I see this in horizon:</font>
<br><font face="Arial"> </font><font size="3" face="Arial">Error:
Failed to launch instance "testvm": Please try again later [Error:
Unexpected vif_type=binding_failed].</font>
<br>
<br><font size="3" face="Arial">Regards,</font>
<br><font size="3" face="Arial">Sayaji</font>
<br><font size="3"><br>
</font>
<br><font size="3">On Thu, Nov 14, 2013 at 7:01 PM, Sayaji Patil <</font><a href="mailto:sayaji15@gmail.com" target="_blank"><font size="3" color="blue"><u>sayaji15@gmail.com</u></font></a><font size="3">>
wrote:</font>
<br><font size="3">Hi,</font>
<br><font size="3">    I have deployed Openstack on a single node
using devstack. I am using ml2 plugin for neutron.</font>
<br><font size="3">When I try to launch an instance, I get this error "NovaException:
Unexpected vif_type=binding_failed"</font>
<br><font size="3">in Horizon.</font>
<br>
<br><font size="3">There was a bug created for this </font><a href="https://bugs.launchpad.net/neutron/+bug/1244255" target="_blank"><font size="3" color="blue"><u>https://bugs.launchpad.net/neutron/+bug/1244255</u></font></a><font size="3"> which
is now fixed</font>
<br>
<br><font size="3">I checked that I have the latest code(with the fix for
above mentioned bug), but I still see the issue</font>
<br>
<br><font size="3">Here is my neutron.conf</font>
<br>
<br><font size="3" color="blue">[DEFAULT]</font>
<br><font size="3" color="blue">auth_strategy = keystone</font>
<br><font size="3" color="blue">allow_overlapping_ips = True</font>
<br><font size="3" color="blue">policy_file = /etc/neutron/policy.json</font>
<br><font size="3" color="blue">debug = True</font>
<br><font size="3" color="blue">verbose = True</font>
<br><font size="3" color="blue">service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin</font>
<br><font size="3" color="blue">core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin</font>
<br><font size="3" color="blue">rabbit_password = password</font>
<br><font size="3" color="blue">rabbit_host = localhost</font>
<br><font size="3" color="blue">rpc_backend = neutron.openstack.common.rpc.impl_kombu</font>
<br><font size="3" color="blue">state_path = /opt/stack/data/neutron</font>
<br><font size="3" color="blue">lock_path = $state_path/lock</font>
<br>
<br><font size="3" color="blue">[keystone_authtoken]</font>
<br><font size="3" color="blue">auth_host = 172.23.45.41</font>
<br><font size="3" color="blue">auth_port = 35357</font>
<br><font size="3" color="blue">auth_protocol = http</font>
<br><font size="3" color="blue">admin_tenant_name = service</font>
<br><font size="3" color="blue">admin_user = neutron</font>
<br><font size="3" color="blue">admin_password = password</font>
<br><font size="3" color="blue">signing_dir = /var/cache/neutron</font>
<br>
<br><font size="3">Here is my ml2_plugin.ini</font>
<br>
<br><font size="3" color="blue">[ml2]</font>
<br><font size="3" color="blue">tenant_network_types = vlan</font>
<br><font size="3" color="blue">type_drivers = vlan</font>
<br><font size="3" color="blue">mechanism_drivers = openvswitch</font>
<br>
<br><font size="3" color="blue">[ml2_type_vlan]</font>
<br><font size="3" color="blue">network_vlan_ranges = physnet1:500:600</font>
<br>
<br><font size="3" color="blue">[database]</font>
<br><font size="3" color="blue">connection = mysql://</font><a href="http://root:password@127.0.0.1/neutron_ml2?charset=utf8" target="_blank"><font size="3" color="blue"><u>root:password@127.0.0.1/neutron_ml2?charset=utf8</u></font></a>
<br>
<br><font size="3" color="blue">[ovs]</font>
<br><font size="3" color="blue">local_ip = 172.23.45.41</font>
<br>
<br><font size="3" color="blue">[agent]</font>
<br><font size="3" color="blue">root_helper = sudo /usr/bin/neutron-rootwrap
/etc/neutron/rootwrap.conf</font>
<br>
<br><font size="3" color="blue">[securitygroup]</font>
<br><font size="3" color="blue">firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</font>
<br>
<br>
<br>
<br><font size="3">Am I missing something in the configuration ?</font>
<br>
<br>
<br><font size="3">Regards,</font>
<br><font size="3">Sayaji</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></div><tt><font>_______________________________________________<br>
Mailing list: </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><tt><font>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><tt><font>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font><br>
</font></tt>
<br>
</blockquote></div><br></div>