ecce-allocations: Tools > Allocations from the command line
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 10
- Forks
- 8
- Merge medio
- 6 h 32 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FriendsofECCE/ECCE
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FriendsofECCE/ECCE#1353 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FriendsofECCE/ECCE#1348 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FriendsofECCE/ECCE#1345 ·
Todos los issues de FriendsofECCE/ECCE
Issues similares
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Life-Framework/Life-Framework#5378 ·
Los mantenedores suelen responder en 1 día
-
Bug Status: Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug status: planned ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ChupathingyCE/chupathingyce#2126 ·
Los mantenedores suelen responder en 1 día
-
good first issue simulation
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Los mantenedores suelen responder en 1 día
-
needs-kind
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
falcosecurity/libs#3173 · 1 comentario ·
Los mantenedores suelen responder en 1 día