Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Increase stop_grace_period for Octavia controller services
Browse files Browse the repository at this point in the history
The stop_grace_period for Octavia should be greater than the longest
task executed by Octavia.
The timeout of longest task in Octavia is currently set to 10 minutes
[0].

Updating the stop_grace_period from 5min to 10min30 will prevent
failures during updates. If a really long task is running Octavia (for
instance a failover during a network outage), it will timeout in Octavia
and Octavia will exit gracefully.

[0] https://review.opendev.org/c/openstack/octavia/+/637077

Change-Id: I05cd4a54c35479ca06580f541042948f69c7f532
  • Loading branch information
gthiemonge committed Mar 14, 2022
1 parent a799241 commit 1574403
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ outputs:
map_merge:
- octavia_health_manager:
start_order: 2
stop_grace_period: 300
stop_grace_period: 630
image: *octavia_health_manager_image
net: host
privileged: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ outputs:
step_5:
octavia_housekeeping:
start_order: 2
stop_grace_period: 300
stop_grace_period: 630
image: *octavia_housekeeping_image
net: host
privileged: false
Expand Down
2 changes: 1 addition & 1 deletion deployment/octavia/octavia-worker-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ outputs:
step_5:
octavia_worker:
start_order: 2
stop_grace_period: 300
stop_grace_period: 630
image: *octavia_worker_image
net: host
privileged: false
Expand Down

0 comments on commit 1574403

Please sign in to comment.