<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thank you, Sudhakar. I'll abandon testing ML2 for Havana and revisit it in my Icehouse testing.<br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="color: rgb(0, 0, 0);"><br class="Apple-interchange-newline">Thanks,</div><div style="color: rgb(0, 0, 0);">Andrew Richards</div><div style="color: rgb(0, 0, 0);"><font class="Apple-style-span" style="font-size: 11px;">Senior Systems Engineer</font></div><div style="color: rgb(0, 0, 0);"><span style="text-align: center; font-family: Calibri; letter-spacing: -0.6px; font-size: large; color: rgb(16, 78, 127);"><b>keeper</b></span><span style="color: rgb(134, 136, 132); text-align: center; font-family: Calibri; font-size: large; letter-spacing: -1.4px;">technology</span></div></span></div></div></div>
</div>
<br><div><div>On Apr 26, 2014, at 10:56 AM, Sudhakar Gariganti <<a href="mailto:sudhakar.gariganti@gmail.com">sudhakar.gariganti@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Andrew, <div><br></div><div>I have also encountered this error a couple of times. Per my understanding, in Havana, we need to continue to configure *ovs_neutron_plugin.ini* on the agent side. </div><div>Only from Icehouse, OVS agent expects/reads configuration from ml2_conf.ini. </div>
<div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Sudhakar.<br><br><div class="gmail_quote">On Sat, Apr 26, 2014 at 2:53 AM, Andrew Richards <span dir="ltr"><<a href="mailto:andrew.richards@keepertech.com" target="_blank">andrew.richards@keepertech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello all,<div><br></div><div>I'm attempting to migrate my Havana test cluster over to the ML2 plugin from the monolithic OVS plugin. I had been successfully using OVS in VLAN mode. I reset my core_plugin and service_plugins in neutron.conf, I followed the steps to reinitialize my Neutron databases, to upgrade their heads with neutron-db-manage, and transpose my configuration from /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini to /etc/neutron/plugins/ml2/ml2_conf.ini. My neutron agent-list seems happy:</div>
<div><br></div><div><font face="Courier"># neutron agent-list<br>+--------------------------------------+--------------------+------------------------+-------+----------------+<br>| id | agent_type | host | alive | admin_state_up |<br>
+--------------------------------------+--------------------+------------------------+-------+----------------+<br>| 45de0ed9-a776-4a91-a841-8abec65652d2 | L3 agent | <a href="http://host3.keepertech.com/" target="_blank">host3.keepertech.com</a> | :-) | True |<br>
| 3242ea48-b607-40a7-86ed-4c101880fb96 | DHCP agent | <a href="http://host3.keepertech.com/" target="_blank">host3.keepertech.com</a> | :-) | True |<br>| 64f2b250-c61f-4a27-8784-92146765f10d | Open vSwitch agent | <a href="http://host6.keepertech.com/" target="_blank">host6.keepertech.com</a> | :-) | True |<br>
| f1b35d11-c501-4ae3-9462-9efd09c9400a | Open vSwitch agent | <a href="http://host5.keepertech.com/" target="_blank">host5.keepertech.com</a> | :-) | True |<br>| 2f0a50c5-3679-43f5-a3f5-3aa4fa67c768 | Open vSwitch agent | <a href="http://host3.keepertech.com/" target="_blank">host3.keepertech.com</a> | :-) | True |<br>
+--------------------------------------+--------------------+------------------------+-------+----------------+</font></div><div><br></div><div>My ml2_conf.ini looks like this:</div><div><br></div><div><font face="Courier">[ml2]<br>
type_drivers = vlan<br>tenant_network_types = vlan<br>mechanism_drivers = openvswitch<br>[ml2_type_flat]<br><br>[ml2_type_vlan]<br>network_vlan_ranges = physnet1:4:4,physnet1:101:104,physnet2:2:2<br>[ml2_type_gre]<br><br>
[ml2_type_vxlan]<br><br>[database]<br>sql_connection = <a>postgresql://neutron@dbhost/ovs_neutron</a><br>[securitygroup]<br>firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<br>[ovs]<br>
bridge_mappings = physnet1:br-eth1,physnet2:br-ex</font><br><div><br></div><div>This is not reflected though when I do a neutron agent-show on that host:</div><div><br></div><div><font face="Courier">+---------------------+--------------------------------------+<br>
| Field | Value |<br>+---------------------+--------------------------------------+<br>| admin_state_up | True |<br>| agent_type | Open vSwitch agent |<br>
| alive | True |<br>| binary | neutron-openvswitch-agent |<br>| configurations | { |<br>| | "tunnel_types": [], |<br>
| | "tunneling_ip": "", |<br>| | "bridge_mappings": { |<br>| | "physnet2": "br-ex", |<br>
| | "physnet1": "br-eth1" |<br>| | }, |<br>| | "l2_population": false, |<br>
| | "devices": 0 |<br>| | } |<br>| created_at | 2014-04-25 17:42:29.976072 |<br>| description | |<br>
| heartbeat_timestamp | 2014-04-25 20:50:07.556754 |<br>| host | <a href="http://host3.keepertech.com/" target="_blank">host3.keepertech.com</a> |<br>| id | 2f0a50c5-3679-43f5-a3f5-3aa4fa67c768 |<br>
| started_at | 2014-04-25 20:50:03.828254 |<br>| topic | N/A |<br>+---------------------+--------------------------------------+</font></div><div><br></div>
<div>Shouldn't I be seeing VLAN configuration info there instead of empty tunneling info?</div><div><br></div><div>The net effect of all this is my VMs can't connect to their OVS switches and complain thusly in /var/log/neutron/server.log:</div>
<div><br></div><div><font face="Courier">WARNING neutron.plugins.ml2.managers [-] Failed to bind port 4e3f10f5-b9c2-4502-99f4-d97608de2e08 on host host6</font></div><div><font face="Courier">WARNING neutron.plugins.ml2.managers [-] Failed to bind port f00aa773-7401-4d79-b31c-08291dff30ed on host host3<br>
WARNING neutron.plugins.ml2.managers [-] Failed to bind port 8f1ac067-8bb1-45bf-9556-5ba73334a1d4 on host host3<br>WARNING neutron.plugins.ml2.managers [-] Failed to bind port e8c34586-4721-4271-aee4-2eb13f0707cc on host host6<br>
WARNING neutron.plugins.ml2.managers [-] Failed to bind port 2ac75e18-e4e4-4017-af45-01c375f50486 on host host5<br>WARNING neutron.plugins.ml2.managers [-] Failed to bind port 9bfc3e62-8188-45f9-91c7-5ac53590ad3c on host host5<br>
WARNING neutron.plugins.ml2.rpc [-] Device 8f1ac067-8bb1-45bf-9556-5ba73334a1d4 requested by agent ovs0a2c22b41641 on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed<br>WARNING neutron.plugins.ml2.rpc [-] Device f00aa773-7401-4d79-b31c-08291dff30ed requested by agent ovs0a2c22b41641 on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed<br>
WARNING neutron.plugins.ml2.rpc [-] Device 4e3f10f5-b9c2-4502-99f4-d97608de2e08 requested by agent ovsf60e61961e45 on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed<br>WARNING neutron.plugins.ml2.rpc [-] Device e8c34586-4721-4271-aee4-2eb13f0707cc requested by agent ovsf60e61961e45 on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed<br>
WARNING neutron.plugins.ml2.rpc [-] Device 9bfc3e62-8188-45f9-91c7-5ac53590ad3c requested by agent ovs2a7b2230b64b on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed<br>WARNING neutron.plugins.ml2.rpc [-] Device 2ac75e18-e4e4-4017-af45-01c375f50486 requested by agent ovs2a7b2230b64b on network 18faee17-f972-45bf-a9fe-8be906a55055 not bound, vif_type: binding_failed</font><br>
<br></div><div>Does ML2 even work for VLAN in Havana? The <a href="http://docs.openstack.org/havana/config-reference/content/networking-options-plugins-ml2.html" target="_blank">Havana ML2 documentation</a>[1] does not list VLAN as a configuration option. I'm running all my nodes on CentOS 6.5 installing from the RDO Havana repo. </div>
<div>
<div style="text-indent:0px;letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;word-wrap:break-word;word-spacing:0px"><div style="text-indent:0px;letter-spacing:normal;text-align:start;text-transform:none;white-space:normal;word-wrap:break-word;word-spacing:0px">
<div style="line-height:normal;text-indent:0px;letter-spacing:normal;text-align:-webkit-auto;font-variant:normal;text-transform:none;white-space:normal;word-wrap:break-word;word-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><div style="">
<br>Thanks,</div><div style="">Andrew Richards</div><div style=""><font style="font-size:11px">Senior Systems Engineer</font></div><div style=""><span style="text-align:center;font-family:Calibri;letter-spacing:-0.6px;font-size:large;color:rgb(16,78,127)"><b>keeper</b></span><span style="color:rgb(134,136,132);text-align:center;font-family:Calibri;font-size:large;letter-spacing:-1.4px">technology</span></div>
</span></div></div></div>
</div>
<div><br></div>[1] <a href="http://docs.openstack.org/havana/config-reference/content/networking-options-plugins-ml2.html" target="_blank">http://docs.openstack.org/havana/config-reference/content/networking-options-plugins-ml2.html</a></div>
</div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div>
</blockquote></div><br></body></html>