OVS to ml2 migration doesn't handle ports with no value for binding:host_id
Bug #1424378 reported by
Chen Leibovich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
While working on the upgrade process from Havana to Icehouse we noticed that the ml2 migration doesn't handle ports with no value for binding:host_id.
I first came across this issue when I had issues with DHCP ports which I was able to work around by deleting them and recreating them by restarting the dhcp agent.
The bigger issue came when we moved on to production where we had instances that were created back in Folsom and undergone the Folsom-
The network for these instances wasn't restored after the upgrade + there were a lot of nova-compute exceptions when trying to reboot those instances.
To post a comment you must log in.
Output of neutron port-show for such port in Havana with OVS plugin: ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ address_ pairs | | capabilities | {"port_filter": true} | 0611-4a4f- 86ca-b130d0613a bf | 5927-4633- 8942-d3144456ad b2", "ip_address": "10.59.72.8"} | c512-4687- 9892-bfef79dfb9 f3 | 9ae9-4c22- bd9d-223935c23d 76 | 3a29f3cd2c1b85c 57 | ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:
| binding:host_id | |
| binding:vif_type | ovs |
| device_id | d3b3b5be-
| device_owner | compute:nova |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "f070b025-
| id | 0def1563-
| mac_address | fa:16:3e:09:62:8c |
| name | |
| network_id | 5d7782dc-
| security_groups | |
| status | ACTIVE |
| tenant_id | bda89c21cefe4f0
+------
Output of neutron port-show for the same port after the upgrade and migration to ml2:
+------ ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ address_ pairs | | 0611-4a4f- 86ca-b130d0613a bf | 5927-4633- 8942-d3144456ad b2", "ip_address": "10.59.72.8"} | c512-4687- 9892-bfef79dfb9 f3 | 9ae9-4c22- bd9d-223935c23d 76 | 3a29f3cd2c1b85c 57 | ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| device_id | d3b3b5be-
| device_owner | compute:nova |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "f070b025-
| id | 0def1563-
| mac_address | fa:16:3e:09:62:8c |
| name | |
| network_id | 5d7782dc-
| security_groups | |
| status | ACTIVE |
| tenant_id | bda89c21cefe4f0
+------
All of the binding:*** attributes are gone.