<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;">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">host3.keepertech.com</a>   | :-)   | True           |<br>| 3242ea48-b607-40a7-86ed-4c101880fb96 | DHCP agent         | <a href="http://host3.keepertech.com">host3.keepertech.com</a>   | :-)   | True           |<br>| 64f2b250-c61f-4a27-8784-92146765f10d | Open vSwitch agent | <a href="http://host6.keepertech.com">host6.keepertech.com</a>   | :-)   | True           |<br>| f1b35d11-c501-4ae3-9462-9efd09c9400a | Open vSwitch agent | <a href="http://host5.keepertech.com">host5.keepertech.com</a>   | :-)   | True           |<br>| 2f0a50c5-3679-43f5-a3f5-3aa4fa67c768 | Open vSwitch agent | <a href="http://host3.keepertech.com">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 href="postgresql://neutron@dbhost/ovs_neutron">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 class="webkit-block-placeholder"></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">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 class="webkit-block-placeholder"></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">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="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; border-spacing: 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>
<div><br></div>[1] <a href="http://docs.openstack.org/havana/config-reference/content/networking-options-plugins-ml2.html">http://docs.openstack.org/havana/config-reference/content/networking-options-plugins-ml2.html</a></div></body></html>