<div dir="ltr">I decided to upgrade my Havana deployment to Icehouse right after the official release so I could contribute on the documentation with the steps necessary, including Neutron and going from the OVS to the ML2 neutron plugin.<div>
<br></div><div>However, I'm still having problems due to the ML2 migration.</div><div><br></div><div>All nodes (1 hybrid Controller/Network and 1 Compute) are running up to date Ubuntu 12.04.4 LTS.</div><div>Havana was working perfectly before (OVS with GRE).</div>
<div><br></div><div>Most important steps done so far:</div><div>- Updated everything to Icehouse;</div><div>- Ran all database migration commands (typical db sync/db_sync);</div><div>- Ran Neutron's own migration commands, in the following ways:</div>
<div><span id="docs-internal-guid-70147625-80c9-47e2-132a-fa4daa3784b6"><font size="1"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini stamp havana</span></p>
<span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini upgrade icehouse</span></font></span></div>
<div>- Manually ran the ML2 migration script (which failed but then worked):</div><div><font><span id="docs-internal-guid-70147625-80ca-3e86-2ba8-ee1f8fdeeadb"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">python -m neutron.db.migration.migrate_to_ml2 openvswitch mysql://neutron:mypass@mycontroller/neutron</span></span></font><div>
<div><span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Here are the contents of the ml2_port_bindings table, right after I run the ML2 migration script:</span></span></div>
<div><span id="docs-internal-guid-70147625-80cd-6616-0ed6-f4e40d0a8623"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">mysql> select * from ml2_port_bindings;</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------+-------------+-------------+--------------------------------------+</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| port_id                              | host    | vnic_type | profile | vif_type | vif_details | driver      | segment                              |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------+-------------+-------------+--------------------------------------+</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 2783bcf7-c4fd-4ac7-8f7a-15c3f29cf4cb | mycontroller |           |         | ovs      |             | openvswitch | c5ad781a-1e9d-4de8-9d8f-c00ecc1e4d4e |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 46712caf-70de-4626-8f4a-32874d164dbd | mycontroller |           |         | ovs      |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 537656cb-a467-4a85-a0c5-5125747e7d0c | mycompute |           |         | ovs      |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 5cc39156-3ea2-441b-9baf-df2f2953b5fd | mycontroller |           |         | ovs      |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 7f4244aa-acc9-49b4-9ce3-25a2dabe657f | mycontroller |           |         | ovs      |             | openvswitch | c5ad781a-1e9d-4de8-9d8f-c00ecc1e4d4e |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| a6b5fea0-97e1-49b8-9a8a-6dfd3f7ef46c | mycontroller |           |         | ovs      |             | openvswitch | cb6e7116-714c-4392-95be-4a5e942affa9 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| f6f6a366-fe1c-44ba-b2cd-6a41a5ecd063 | mycompute |           |         | ovs      |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------+-------------+-------------+--------------------------------------+</span></span><span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br>
</span></span></div><div><br></div><div>But, if I restart the neutron services, it becomes:</div><div><span id="docs-internal-guid-70147625-80ce-4882-3ee6-6881ef716a19"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">mysql> select * from ml2_port_bindings;</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------------+-------------+-------------+--------------------------------------+</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| port_id                              | host    | vnic_type | profile | vif_type       | vif_details | driver      | segment                              |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------------+-------------+-------------+--------------------------------------+</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 2783bcf7-c4fd-4ac7-8f7a-15c3f29cf4cb | demeter |           |         | ovs            |             | openvswitch | c5ad781a-1e9d-4de8-9d8f-c00ecc1e4d4e |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 46712caf-70de-4626-8f4a-32874d164dbd | demeter |           | {}      | binding_failed |             | NULL        | NULL                                 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 537656cb-a467-4a85-a0c5-5125747e7d0c | richard |           |         | ovs            |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 5cc39156-3ea2-441b-9baf-df2f2953b5fd | demeter |           |         | ovs            |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| 7f4244aa-acc9-49b4-9ce3-25a2dabe657f | demeter |           | {}      | binding_failed |             | NULL        | NULL                                 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| a6b5fea0-97e1-49b8-9a8a-6dfd3f7ef46c | demeter |           |         | ovs            |             | openvswitch | cb6e7116-714c-4392-95be-4a5e942affa9 |</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">| f6f6a366-fe1c-44ba-b2cd-6a41a5ecd063 | richard |           |         | ovs            |             | openvswitch | 73cd007b-4d83-445b-86cd-d776a9a1eb24 |</span></p>
<span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+--------------------------------------+---------+-----------+---------+----------------+-------------+-------------+--------------------------------------+</span></span><br>
</div><div><span><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:11px;font-family:Consolas;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br>
</span></span></div><div>Either way, at the Compute node, starting the nova-compute service yields:</div><div><div><span id="docs-internal-guid-70147625-80cc-d772-5dd7-002fc534f90c"><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">(...)vif_type parameter must be present for this vif_driver implementation(...)</span></span></div>
</div><div><span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">And doesn't start.</span></span></div><div><span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br>
</span></span></div><div><font color="#000000" face="Arial"><span style="font-size:15px;white-space:pre-wrap">Any ideas?</span></font></div><div><font color="#000000" face="Arial"><span style="font-size:15px;white-space:pre-wrap"><br>
</span></font></div><div><font color="#000000" face="Arial"><span style="font-size:15px;white-space:pre-wrap">Thank you very much,</span></font></div><div><br></div>-- <br><div dir="ltr"><div>Igor Duarte Cardoso.</div><a href="http://igordcard.blogspot.com" target="_blank">http://igordcard.blogspot.com</a><br>
</div>
</div></div></div>