Commit 0b30482
Reapply "We should check service enabled instead exists (sonic-net#24754)" (sonic-net#24794) (sonic-net#25037)
#### 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 sonic-net#24730
Signed-off-by: Feng Pan <[email protected]>1 parent 44887c6 commit 0b30482
1 file changed
Lines changed: 4 additions & 7 deletions
| 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