ocurrent / ocurrent/ocluster

The output from "ocluster-admin show" is sometimes cryptic

Open
#212 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
42
Forks
20
PR merge metrics
No merged PRs in 30d

Description

The registered section shows:

registered:
  i7-worker-01 (0): [] (1 running)
  i7-worker-02 (10): [opam-repo-ci:macos-homebrew-ocaml-4.14-tezos-injector-016-PtMumbai.16.0~rc1-f280a0f2882102032292266c928080f782a1c0aa@4585m(10+urgent)] (1 running)
  i7-worker-03 (0): [] (1 running)
  i7-worker-04 (10): [opam-repo-ci:macos-homebrew-ocaml-4.14-tezos-layer2-utils-016-PtMumbai.16.0~rc1-f280a0f2882102032292266c928080f782a1c0aa@4565m(10+urgent)] (1 running)

to me i interpret this as:

  • i7-worker-02 and i7-worker-04 are currently building tezos-injector-016-PtMumbai and tezos-layer2-utils-016-PtMumbai respectively
  • i7-worker-01 and i7-worker-04 are doing ??? (something) but nothing is shown on the nature of the work

a similar output that is as perplexing is:

queue: (backlog) [... <a huge backlog>]
registered:
  m1-worker-02 (0): [] (1 running)
  m1-worker-03 (0): [] (1 running)
  m1-worker-04 (0): [] (1 running)

where without sshing into the machines themselves you wouldn't be able to know what they are doing.

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 with the ocluster-admin show entry point and trace how the registered worker entries and their running jobs are formatted. Compare the shown output with the worker activity it is intended to represent; done means the command identifies what workers with running jobs are doing without SSH access.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
ci-cd, cli, distributed-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.