Starting a new session immediately after ending a session with Flux gives "Internal error while spawning spindle daemons"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- distributed-systems, hpc
Línea de trabajo
Reproduce under flux alloc -N4 with the issue's repro.sh: start, end, then start again. Read fluxmgr_add_to_kvs in fluxmgr.c around lines 84-141, especially the existing-namespace branch and the failing KVS commit; follow how spindlefemgr.c setup and launch_flux.cc spawnDaemon use that namespace. Done means the second --start-session succeeds after --end-session, with no "Internal error while spawning spindle daemons".
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Using the Flux resource manager, if running spindle --start-session immediately after spindle --end-session results in an "Internal error while spawning spindle daemons" and the session fails to start:
fluxuser@node-1:~$ flux alloc -N4
ƒ(s=4,d=1) fluxuser@node-1:~$ cat repro.sh
#!/bin/bash
spindle --start-session
echo "first --start-session exit $?"
spindle --end-session
echo "--end-session exit $?"
spindle --start-session
echo "second --start-session exit $?"
ƒ(s=4,d=1) fluxuser@node-1:~$ ./repro.sh
first --start-session exit 0
--end-session exit 0
Internal error while spawning spindle daemons
second --start-session exit 0
For the first, successful, session, the logs show:
[FE.4762@launch_flux.cc:107] spawnDaemon - Creating kvs spindle namespace in flux with daemon_args and bootstrap_args
[[email protected]:37] setup_args_on_fe - Getting daemon and bootstrap arguments
[[email protected]:50] setup_args_on_fe - Adding daemon and bootstrap args to flux KVS
[[email protected]:84] fluxmgr_add_to_kvs - Creating kvs spindle namespace
[[email protected]:113] fluxmgr_add_to_kvs - Setting flux kvs daemon_args = 21940 250 15213138193716679317 0
[[email protected]:120] fluxmgr_add_to_kvs - Set flux kvs boostrap_args = /home/fluxuser/Spindle-inst/libexec/spindle/spindle_bootstrap /bad_commpath/spindle.$NUMBER:/tmp/commpaths/spindle.$NUMBER /bad_cachepath/spindle.$NUMBER:/tmp/commpath/cachepath/spindle.$NUMBER 4312615407758736504 34364198826 0
[[email protected]:128] fluxmgr_add_to_kvs - Set flux kvs session = e.OG6aeZ
[[email protected]:132] fluxmgr_add_to_kvs - Commiting daemon_args and bootstrap_args to kvs
For the second, failed, session, the logs show:
[FE.4768@launch_flux.cc:107] spawnDaemon - Creating kvs spindle namespace in flux with daemon_args and bootstrap_args
[[email protected]:37] setup_args_on_fe - Getting daemon and bootstrap arguments
[[email protected]:50] setup_args_on_fe - Adding daemon and bootstrap args to flux KVS
[[email protected]:84] fluxmgr_add_to_kvs - Creating kvs spindle namespace
[FE.4766@spindle_session.cc:476] init_session - Session daemon startup was successful. Exiting
[FE.4766@spindle_session.cc:668] waitfor_init_done - Waiting for session start to finish before exiting launcher exec
[[email protected]:92] fluxmgr_add_to_kvs - Flux kvs namespace for spindle already exists. Not recreating
[[email protected]:113] fluxmgr_add_to_kvs - Setting flux kvs daemon_args = 21940 250 3977181203926684318 0
[[email protected]:120] fluxmgr_add_to_kvs - Set flux kvs boostrap_args = /home/fluxuser/Spindle-inst/libexec/spindle/spindle_bootstrap /bad_commpath/spindle.$NUMBER:/tmp/commpaths/spindle.$NUMBER /bad_cachepath/spindle.$NUMBER:/tmp/commpath/cachepath/spindle.$NUMBER 8862407469866240024 34364198826 0
[[email protected]:128] fluxmgr_add_to_kvs - Set flux kvs session = FrNdN,Ae
[[email protected]:132] fluxmgr_add_to_kvs - Commiting daemon_args and bootstrap_args to kvs
[[email protected]:141] fluxmgr_add_to_kvs - ERROR: Committing new keys: Operation not supported
[[email protected]:53] setup_args_on_fe - ERROR: Could not add args to flux kvs
[FE.4768@launch_flux.cc:110] - ERROR: Failure setting up kvs parameters
Full log:
spindle_output.node-1.4759.txt
- Lenguaje dominante
- C
- Estrellas
- 110
- Forks
- 35
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 10
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 llnl/Spindle
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
llnl/Spindle#173 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
llnl/Spindle#149 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Create executable to create/validate Spindle configure scriptsPosiblemente ocupada @rountree la tomó hace 13 días. Abiertoenhancement
llnl/Spindle#237 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
All candidate commpaths added to localprefixPosiblemente ocupada @rountree la tomó hace 13 días. Abiertobug
llnl/Spindle#233 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de llnl/Spindle
Issues similares
-
bug genc
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
XPM values line with more than one space between numbers raises ValueErrorPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
python-pillow/Pillow#10429 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día