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/677698 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=3166e8206c7 b5f5e2ae64f66c9 60c5800aa65e75
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 3166e8206c7b5f5 e2ae64f66c960c5 800aa65e75
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