ecce-allocations: Tools > Allocations from the command line
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 6 h 32 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1353 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FriendsofECCE/ECCE#1348 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1345 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Life-Framework/Life-Framework#5378 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
bug status: planned ui
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
ChupathingyCE/chupathingyce#2126 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue simulation
Difficulté 1/5 1-3 heures Accessibilité débutants 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-kind
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
falcosecurity/libs#3173 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour