Port fix for https://github.com/Azure/sonic-buildimage/pull/6537 in 201911 (#6648)
The Portchannels were not getting cleaned up as the cleanup activity was taking more than 10 secs which is default docker timeout after which a SIGKILL will be send. Fix Issue #6537
This commit is contained in:
parent
8e0faf42f3
commit
b05a4f1c30
@ -366,7 +366,12 @@ wait() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
{%- if docker_container_name == "teamd" %}
|
||||
# Longer timeout of 60 sec to wait for Portchannels to be cleaned.
|
||||
docker stop -t 60 {{docker_container_name}}$DEV
|
||||
{%- else %}
|
||||
docker stop {{docker_container_name}}$DEV
|
||||
{%- endif %}
|
||||
{%- if docker_container_name == "database" %}
|
||||
if [ "$DEV" ]; then
|
||||
ip netns delete "$NET_NS"
|
||||
|
Loading…
Reference in New Issue
Block a user