Commit 871769f
#### Why I did it
If teamd feature is disabled,
```
sudo config feature state teamd disabled
```
swss service should not wait on team container at all. Currently there is a process
```
python3 /usr/bin/docker-wait-any -s swss -d syncd teamd
```
However, a thread inside /usr/bin/docker-wait-any is actually crashed, and the behavior is same as ignoring teamd. It still keep the whole system working.
The root fix should check service enabled instead exists, so it will not wait-any on teamd at all. After this PR,
```
python3 /usr/bin/docker-wait-any -s swss -d syncd
```
##### Work item tracking
- Microsoft ADO **(number only)**:
- Fixing #24730
Signed-off-by: dprital <[email protected]>
1 parent d4891a1 commit 871769f
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
588 | 588 | | |
589 | | - | |
590 | | - | |
| 589 | + | |
591 | 590 | | |
592 | | - | |
593 | 591 | | |
594 | 592 | | |
595 | | - | |
596 | 593 | | |
597 | 594 | | |
598 | 595 | | |
| |||
601 | 598 | | |
602 | 599 | | |
603 | 600 | | |
604 | | - | |
| 601 | + | |
605 | 602 | | |
606 | 603 | | |
607 | 604 | | |
| |||
622 | 619 | | |
623 | 620 | | |
624 | 621 | | |
625 | | - | |
| 622 | + | |
626 | 623 | | |
627 | 624 | | |
628 | 625 | | |
| |||
0 commit comments