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

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

Merged
merged 4 commits into from
Jan 4, 2024

Commits on Dec 28, 2023

  1. [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
    
    Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
    prabhataravind committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    260526c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e20d2b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    6119571 View commit details
    Browse the repository at this point in the history
  2. [docker_image_ctl.j2]: Use swss$DEV to accommodate multi ASIC platfor…

    …ms as well
    
    Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
    prabhataravind committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    b8585c5 View commit details
    Browse the repository at this point in the history