-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After reboot(restart of l3 and l2 agents) of the node routers can be processed by l3 agent before openvswitch agent sets up appropriate ha ports. This change add notification for l3 agent that ha port becomes ACTIVE and keepalived can be enabled. note: Original change on master introduced bug 1618601. Its fix [1] is squashed into this change manually(i.e test test_update_port_status_notify_port_event_after_update in test_plugin.py). Also release notes added to specify l3 agent dependency on neutron server. [1] https://review.openstack.org/#/c/363175/ Closes-bug: #1597461 Co-Authored-By: venkata anil <anilvenkata@redhat.com> (cherry picked from commit 25f5912) Conflicts: neutron/db/l3_hascheduler_db.py neutron/services/l3_router/l3_router_plugin.py neutron/tests/unit/plugins/ml2/test_plugin.py neutron/tests/functional/agent/l3/test_ha_router.py releasenotes/notes/l3ha-agent-server-dependency-1fcb775328ac4502.yaml Change-Id: Iedad1ccae45005efaaa74d5571df04197757d07a
- Loading branch information
1 parent
664a725
commit 4ad841c
Showing
6 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/l3ha-agent-server-dependency-1fcb775328ac4502.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
upgrade: | ||
- Server notifies L3 HA agents when HA router interface | ||
port status becomes active. Then L3 HA agents spawn | ||
keepalived process. So, server has to be restarted | ||
before the L3 agents during upgrade. |