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

[Services] Restart DHCP-Relay service upon unexpected critical process exit. #3667

Merged
merged 7 commits into from
Nov 6, 2019
Merged

[Services] Restart DHCP-Relay service upon unexpected critical process exit. #3667

merged 7 commits into from
Nov 6, 2019

Commits on Oct 25, 2019

  1. [docker-dhcp-relay] Create a file named critical_processes. For dhcp-…

    …relay service, this file contains a single groupname: isc-dhcp-relay.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    2474fab View commit details
    Browse the repository at this point in the history
  2. [docker-dhcp-relay] Add paths of supervisord listener script and crit…

    …ical processes file into dockfile.j2.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    1cfa8e6 View commit details
    Browse the repository at this point in the history
  3. [docker-dhcp-relay] Make event listener autostart by adding option in…

    … supervisord conf file.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    847aed0 View commit details
    Browse the repository at this point in the history
  4. [docker-dhcp-relay] Configure systemd to stop restarting dhcp-relay i…

    …f it attempts to restart this container more than 3 times in 20 minutes.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    2ed2adb View commit details
    Browse the repository at this point in the history
  5. [docker-dhcp-relay] Add macro $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)…

    … to shared Makefile docker-dhcp-relay.mk.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    e2ae9d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. [docker-dhcp-relay] Event listener will also be guided by a groupname…

    … which monitors a bunch of processes.
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    b705b35 View commit details
    Browse the repository at this point in the history
  2. [docker-dhcp-relay] Add event listener option in test conf file.

    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    7ca5fc8 View commit details
    Browse the repository at this point in the history