Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chassis] update service_checker module to handle database-chassis service #17836

Merged
merged 13 commits into from
Jan 24, 2024
Merged
6 changes: 4 additions & 2 deletions src/system-health/health_checker/service_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re

from swsscommon import swsscommon
from sonic_py_common import multi_asic
from sonic_py_common import multi_asic, device_info
from sonic_py_common.logger import Logger
from .health_checker import HealthChecker
from . import utils
Expand Down Expand Up @@ -99,7 +99,9 @@ def get_expected_running_containers(self, feature_table):
else:
expected_running_containers.add(feature_name)
container_feature_dict[feature_name] = feature_name


if device_info.is_supervisor():
expected_running_containers.add("database-chassis")
return expected_running_containers, container_feature_dict

def get_current_running_containers(self):
Expand Down