Update port_status to ACTIVE during live-migration
During live-migration nova waits for 'network-vif-plugged' event
in order to proceeed with live-migration [1]. While using OVN
it never happened because the original design assumes usage
of neutron agents.
This patch updates port status from DOWN to ACTIVE during
pre_live_migration state, which in fact for Neutron/ML2
is done by neutron-ovs-agent, just only to emit
'network-vif-plugged' notification and allow nova
to perform live-migration.
Reviewed: https:/ /review. opendev. org/675831 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=8e2fd400354 67d1fe05a58ce68 12436fe99b5040
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 8e2fd40035467d1 fe05a58ce681243 6fe99b5040
Author: Maciej Józefczyk <email address hidden>
Date: Wed Jul 31 12:21:42 2019 +0000
Update port_status to ACTIVE during live-migration
During live-migration nova waits for 'network- vif-plugged' event
in order to proceeed with live-migration [1]. While using OVN
it never happened because the original design assumes usage
of neutron agents.
This patch updates port status from DOWN to ACTIVE during live_migration state, which in fact for Neutron/ML2 vif-plugged' notification and allow nova
pre_
is done by neutron-ovs-agent, just only to emit
'network-
to perform live-migration.
[1] https:/ /review. opendev. org/#/c/ 558001/
Change-Id: Ib9fe6e1bfea1d5 f62b2f2b6fdb12d 16878108c3f 5da8cc399575537 feed1c6a49)
Related-Bug: 1834045
(cherry picked from commit 229f894ee6aff6b