Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L l2tpns
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • l2tpns
  • l2tpns
  • Merge requests
  • !11

systemd: restart l2tpns on failure

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged zorun requested to merge systemd_restart into master Feb 14, 2021
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

When a l2tpns cluster gets out of a "split brain" situation, l2tpns will consider that it is not normal to having multiple master, and some members of the cluster will voluntarily kill themselves.

While this is probably the best thing to do for l2tpns in this situation, continued operation is important. Let's tell systemd to restart l2tpns in such cases.

Looking at the code, there are several other places where l2tpns might exit in case of grave failure, and this change will also cover these cases.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: systemd_restart