ecce-allocations: Tools > Allocations from the command line
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Read the ecce-annotate command and the Organizer request handling, including the acknowledgement behavior noted in #897. Trace AllocationQuery::targets() and AllocationQuery::check() and use tests/launch/allocations_ssh_test.py to understand the tested login path. Done means the command reports cached results or refresh progress as specified; cluster behavior still needs verification against a real machine with an allocation command.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Tools > Allocations is GUI-only. A script or an assistant can read ~/.ECCE/AllocationCache, which may be stale, but cannot ask for a refresh. Every GUI action gets a script hook.
Proposal: ecce-allocations [--refresh] [--timeout SECONDS] [machine]. It does not query the cluster itself, because the ssh login belongs to the Organizer session. Like ecce-annotate it sends a request to the running Organizer (exit 2 "ECCE is not running: start ECCE first" when there is none; the Organizer's first reply is the acknowledgement, #897). The Organizer runs AllocationQuery::targets() and AllocationQuery::check(target, force, ...), the code the Refresh button runs. Without --refresh it reports the cached values and their age (force=false, no login opened). With --refresh it requests force=true and then polls the Organizer until no target is still checking or the timeout passes; whatever has arrived is printed and the rest is marked as still checking. One line per machine and account: machine, account, the projinfo-style line, time of the check; a result that is older than the last attempt is marked old with the reason.
Unverified: the cluster path. It needs a real login to a machine with an allocation command; tests/launch/allocations_ssh_test.py covers the login path against a test sshd only.
- Lingua principale
- C
- Stelle
- 10
- Fork
- 8
- Merge medio
- 6h 32m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FriendsofECCE/ECCE
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsofECCE/ECCE#1353 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FriendsofECCE/ECCE#1348 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsofECCE/ECCE#1345 ·
Tutte le issue di FriendsofECCE/ECCE
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Life-Framework/Life-Framework#5378 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug status: planned ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ChupathingyCE/chupathingyce#2126 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue simulation
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
falcosecurity/libs#3173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno