commit 6a423e51ee0940e14f362c806bb6239dbd0b6a88
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Aug 29 14:15:32 2018 +0100
Fix gateway's router port marked as DOWN
This patch is fixing a problem which left the external/gateway's router
port with status DOWN even after the port was bound to a chassis.
Since the Logical_Router_Port table in OVNNB does not have a "up" column
(like the Logical_Switch_Port table has) the status of those ports can
not be updpated based on it. Therefore, this patch uses the "chassis"
column for that. If the router port has the "chassis" column in OVNNB
database set, the binding and status ACTIVE will be set in Neutron
otherwise it status will be udpated to DOWN (if it's not DOWN yet).
Closes-Bug: #1715126
Change-Id: I91026204eae6df18be47df02f99db2f95c428e2b
(cherry picked from commit 3d575d19b850134044bba8b89cdb9953c17a5ca7)
Reviewed: https:/ /review. openstack. org/600383 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=6a423e51ee0 940e14f362c806b b6239dbd0b6a88
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 6a423e51ee0940e 14f362c806bb623 9dbd0b6a88
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Aug 29 14:15:32 2018 +0100
Fix gateway's router port marked as DOWN
This patch is fixing a problem which left the external/gateway's router
port with status DOWN even after the port was bound to a chassis.
Since the Logical_Router_Port table in OVNNB does not have a "up" column
(like the Logical_Switch_Port table has) the status of those ports can
not be updpated based on it. Therefore, this patch uses the "chassis"
column for that. If the router port has the "chassis" column in OVNNB
database set, the binding and status ACTIVE will be set in Neutron
otherwise it status will be udpated to DOWN (if it's not DOWN yet).
Closes-Bug: #1715126 18be47df02f99db 2f95c428e2b 044bba8b89cdb99 53c17a5ca7)
Change-Id: I91026204eae6df
(cherry picked from commit 3d575d19b850134