llnl / llnl/magpie

Safely shutdown each part

Open
#101 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PotentialEnhancement
Dominant language
Shell
Stars
198
Forks
51
PR merge metrics
No merged PRs in 30d

Description

As the services are brought up, I think we need a way to shut them down individually or a way to shut down all the ones that were successful coming up.

I have run into the case (while testing something else) that Kafka failed to come up properly. It would be helpful to be able to shutdown everything that came up before it safely rather than individually going to each node or running a killall kind of thing.

Perhaps the way to do this would be as they successfully come up, we add the shutdown sequence to a script on the master node. Then we can just call that script. (perhaps just magpie-cleanup and magpie-post-run but run as a new job?)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the magpie-cleanup and magpie-post-run entry points and tracing how services are started on the master node. Check how Kafka startup failures are handled and how shutdown currently targets individual nodes. Done means the relevant successful services can be safely shut down together or individually after a partial startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka, shell
Domain
devops, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.