Comment 2 for bug 1999582

Revision history for this message
do3meli (d-info-e) wrote :

Hi Rodolfo

Thanks for the heads up. I have verified and it seems correct that neutron openvswitch agent reports the port correctly as "down:

2022-12-13 18:52:49.053 2955524 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-149353dc-53f3-48ca-97e1-ec4f47dc56e5 - - - - -] Port 6c167efe-3a55-46d1-baf1-4962b3bc387f is being migrated to host computeXXX.

2022-12-13 18:52:49.053 2955524 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-149353dc-53f3-48ca-97e1-ec4f47dc56e5 - - - - -] Port 6c167efe-3a55-46d1-baf1-4962b3bc387f updated. Details: {'device': '6c167efe-3a55-46d1-baf1-4962b3bc387f', 'device_id': '5d270ee8-76aa-46d8-9ebc-09f51de1b5d9', 'network_id': '4ea4469f-4791-4483-9b10-6b01a0857989', 'port_id': '6c167efe-3a55-46d1-baf1-4962b3bc387f', 'mac_address': 'fa:16:3e:8c:5c:b8', 'admin_state_up': False, 'status': 'DOWN', 'network_type': 'vlan', 'segmentation_id': 102, 'physical_network': 'provider', 'fixed_ips': [{'subnet_id': 'a2831e83-8a5a-4f02-ae09-2eb674089026', 'ip_address': '185.XXX.XX.X'}], 'device_owner': 'compute:XXXXX', 'allowed_address_pairs': [], 'port_security_enabled': True, 'qos_policy_id': None, 'network_qos_policy_id': None, 'profile': {'os_vif_delegation': True, 'migrating_to': 'computeXXX'}, 'vif_type': 'ovs', 'vnic_type': 'normal', 'security_groups': ['4096f1f0-094a-4f7d-b539-8cb387f70763'], 'migrating_to': 'computeXXX'}

This leads me to think that there is a problem in nova that does not correctly handle the "admin port down" case when doing live migrations. Therefore i have added nova as affected project to this bug report. It would be great to have somebody from nova verify this.