forked from openstack/octavia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not fail on revert PlugVIPAmphora due undefined db_lb
- changed order: get db_lb before getting subnet info, to avoid useless message without db_lb.vip - added default db_lb value for case, when DB calls are failed. in this case error message will be generated without information about VIP Closes-Bug: 2085427 Change-Id: I97acfbd9b26fefbc38b61e36f72f483072390b23 (cherry picked from commit 7c08b63)
- Loading branch information
Showing
3 changed files
with
67 additions
and
9 deletions.
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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/handle_empty_db_lb_on_plug_vip_revert-5c24af124498b246.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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fix error on revert PlugVIPAmphora task, when db_lb is not defined | ||
and get_subnet raises NotFound error. It could happen when Amphora | ||
creation failed by timeout and before it VIP network was removed. | ||
As result revert failed with exception. |