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

[action] [PR:17628] [docker_image_ctl.j2]: swss docker initialization improvements #17681

Merged
merged 1 commit into from
Jan 4, 2024

Commits on Jan 4, 2024

  1. [docker_image_ctl.j2]: swss docker initialization improvements (sonic…

    …-net#17628)
    
    * [docker_image_ctl.j2]: swss docker initialization improvements
    
    This commit attempts to address the following:
     * Make sure swss container is indeed up and running before running any commands
       on it. In case where swss container is not fully up when swss.sh attempts to
       create swss:/ready file using "docker exec swss$DEV touch", the command can
       fail silently and can cause swssconfig to wait forever leading to missing IP
       decap configuration among other things. Add a wait so that docker commands
       are run only after swss container status is "Running"
    *  Add a log when swss:/ready file is created or if the file creation fails so
       that it becomes easier to debug such scenarios in the future
    * [docker_image_ctl.j2]: Use swss$DEV to accommodate multi ASIC platforms as well
    
    Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
    prabhataravind authored and mssonicbld committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d2d825c View commit details
    Browse the repository at this point in the history