ecce-allocations: Tools > Allocations from the command line
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 10
- Forks
- 8
- Merge médio
- 6h 32min
- PRs com merge (30d)
- 1
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de FriendsofECCE/ECCE
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1353 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FriendsofECCE/ECCE#1348 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1345 ·
Todas as issues de FriendsofECCE/ECCE
Issues semelhantes
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Life-Framework/Life-Framework#5378 ·
Mantenedores costumam responder em até 1 dia
-
Bug Status: Needs Triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
bug status: planned ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
ChupathingyCE/chupathingyce#2126 ·
Mantenedores costumam responder em até 1 dia
-
good first issue simulation
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Mantenedores costumam responder em até 1 dia
-
needs-kind
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
falcosecurity/libs#3173 · 1 comentário ·
Mantenedores costumam responder em até 1 dia