<font size=2 face="sans-serif">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?</font>
<br>
<br><font size=2 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: yuyangbj@cn.ibm.com <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>
<table width=100%>
<tr valign=top>
<td width=29%><font size=1 face="sans-serif"><b>Sayaji Patil <sayaji15@gmail.com></b>
</font>
<p><font size=1 face="sans-serif">2013-11-16 04:01</font>
<td width=70%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Yang XY Yu/China/IBM@IBMCN</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">openstack@lists.openstack.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Openstack] NovaException: Unexpected
vif_type=binding_failed</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Thanks for the hint Yang. I checked the o/p of neutron
agent-list and all agents looked good.</font>
<br><font size=3>Then I looked in the agents table in DB and the bridge_mapping
was empty.</font>
<br>
<br><font size=3>| 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} </font>
<br>
<br><font size=3>I added the bridge_mapping in the </font><font size=2 face="Arial">ml2_plugin.ini
and now everything works fine.</font>
<br>
<br><font size=2 face="Arial">Regards,</font>
<br><font size=2 face="Arial">Sayaji</font>
<br>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Thu, Nov 14, 2013 at 9:19 PM, Yang XY Yu <</font><a href=mailto:yuyangbj@cn.ibm.com target=_blank><font size=3 color=blue><u>yuyangbj@cn.ibm.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 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><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
Thanks & Best Regards,<br>
----------------------------------------------------<br>
Yang Yu(ÓÚÑî)<br>
Cloud Solutions and OpenStack Development<br>
China Systems & Technology Laboratory Beijing<br>
E-mail: </font><a href=mailto:yuyangbj@cn.ibm.com target=_blank><font size=3 color=blue face="sans-serif"><u>yuyangbj@cn.ibm.com</u></font></a><font size=3 face="sans-serif">
<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><font size=3>
<br>
<br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=35%><font size=1 face="sans-serif"><b>Sayaji Patil <</b></font><a href=mailto:sayaji15@gmail.com target=_blank><font size=1 color=blue face="sans-serif"><b><u>sayaji15@gmail.com</u></b></font></a><font size=1 face="sans-serif"><b>></b>
</font>
<p><font size=1 face="sans-serif">2013-11-15 11:12</font><font size=3>
</font>
<td width=64%>
<br>
<table width=100%>
<tr valign=top>
<td width=10%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=89%><a href=mailto:openstack@lists.openstack.org target=_blank><font size=1 color=blue face="sans-serif"><u>openstack@lists.openstack.org</u></font></a><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Openstack] NovaException: Unexpected
vif_type=binding_failed</font></table>
<br>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br><font size=3><br>
<br>
<br>
Correction : <br>
I see this in nova logs: </font><font size=3 face="Arial"><br>
NovaException: Unexpected vif_type=binding_failed</font><font size=3> <br>
</font><font size=3 face="Arial"><br>
I see this in horizon:</font><font size=3> </font><font size=3 face="Arial"><br>
Error: Failed to launch instance "testvm": Please try again
later [Error: Unexpected vif_type=binding_failed].</font><font size=3>
<br>
</font><font size=3 face="Arial"><br>
Regards,</font><font size=3> </font><font size=3 face="Arial"><br>
Sayaji</font><font size=3> <br>
<br>
<br>
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: <br>
Hi, <br>
I have deployed Openstack on a single node using devstack.
I am using ml2 plugin for neutron. <br>
When I try to launch an instance, I get this error "NovaException:
Unexpected vif_type=binding_failed" <br>
in Horizon. <br>
<br>
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 <br>
<br>
I checked that I have the latest code(with the fix for above mentioned
bug), but I still see the issue <br>
<br>
Here is my neutron.conf <br>
</font><font size=3 color=blue><br>
[DEFAULT]</font><font size=3> </font><font size=3 color=blue><br>
auth_strategy = keystone</font><font size=3> </font><font size=3 color=blue><br>
allow_overlapping_ips = True</font><font size=3> </font><font size=3 color=blue><br>
policy_file = /etc/neutron/policy.json</font><font size=3> </font><font size=3 color=blue><br>
debug = True</font><font size=3> </font><font size=3 color=blue><br>
verbose = True</font><font size=3> </font><font size=3 color=blue><br>
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin</font><font size=3>
</font><font size=3 color=blue><br>
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin</font><font size=3>
</font><font size=3 color=blue><br>
rabbit_password = password</font><font size=3> </font><font size=3 color=blue><br>
rabbit_host = localhost</font><font size=3> </font><font size=3 color=blue><br>
rpc_backend = neutron.openstack.common.rpc.impl_kombu</font><font size=3>
</font><font size=3 color=blue><br>
state_path = /opt/stack/data/neutron</font><font size=3> </font><font size=3 color=blue><br>
lock_path = $state_path/lock</font><font size=3> <br>
</font><font size=3 color=blue><br>
[keystone_authtoken]</font><font size=3> </font><font size=3 color=blue><br>
auth_host = 172.23.45.41</font><font size=3> </font><font size=3 color=blue><br>
auth_port = 35357</font><font size=3> </font><font size=3 color=blue><br>
auth_protocol = http</font><font size=3> </font><font size=3 color=blue><br>
admin_tenant_name = service</font><font size=3> </font><font size=3 color=blue><br>
admin_user = neutron</font><font size=3> </font><font size=3 color=blue><br>
admin_password = password</font><font size=3> </font><font size=3 color=blue><br>
signing_dir = /var/cache/neutron</font><font size=3> <br>
<br>
Here is my ml2_plugin.ini <br>
</font><font size=3 color=blue><br>
[ml2]</font><font size=3> </font><font size=3 color=blue><br>
tenant_network_types = vlan</font><font size=3> </font><font size=3 color=blue><br>
type_drivers = vlan</font><font size=3> </font><font size=3 color=blue><br>
mechanism_drivers = openvswitch</font><font size=3> <br>
</font><font size=3 color=blue><br>
[ml2_type_vlan]</font><font size=3> </font><font size=3 color=blue><br>
network_vlan_ranges = physnet1:500:600</font><font size=3> <br>
</font><font size=3 color=blue><br>
[database]</font><font size=3> </font><font size=3 color=blue><br>
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><font size=3>
<br>
</font><font size=3 color=blue><br>
[ovs]</font><font size=3> </font><font size=3 color=blue><br>
local_ip = 172.23.45.41</font><font size=3> <br>
</font><font size=3 color=blue><br>
[agent]</font><font size=3> </font><font size=3 color=blue><br>
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf</font><font size=3>
<br>
</font><font size=3 color=blue><br>
[securitygroup]</font><font size=3> </font><font size=3 color=blue><br>
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</font><font size=3>
<br>
<br>
<br>
<br>
Am I missing something in the configuration ? <br>
<br>
<br>
Regards, <br>
Sayaji <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
<br><tt><font size=3>_______________________________________________<br>
Mailing list: </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target=_blank><tt><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></tt></a><tt><font size=3><br>
Post to : </font></tt><a href=mailto:openstack@lists.openstack.org target=_blank><tt><font size=3 color=blue><u>openstack@lists.openstack.org</u></font></tt></a><tt><font size=3><br>
Unsubscribe : </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target=_blank><tt><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></tt></a><font size=3><br>
</font>
<br>
<br>