Listeners do not re-attach post deletion without podrestart
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
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- kubernetes, python
- Área
- backend, networking
Línea de trabajo
Start by tracing how listener UIDs are assigned and how pod labels are matched to recreated listener services; the issue does not name specific files or tests. Reproduce the deletion and recreation scenario with a HiveCluster and a ClusterInternal listener, then check that the recreated service can reach the original ready pods without a pod restart.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected Stackable version
all
Current and expected behavior
Current behaviour
Assume a HiveCluster using a listener class e.g. ClusterInternal. A HiveCluster get's created with a listener discovered by label and IP provisioned by a volumeMount at the STS level.
If a Listener service gets deleted e.g. by hand or by e.g. only updating listener-operator, a new listener service gets created, the products operator does not reconcile and thus although pods are ready it fails to be reached via the fresh listener service.
Cause
Whenever a listener is recreated, it comes with a new UID. Pod's are labeled with something like listener.stackable.tech/mnt.<uid> referencing the listener UID created for this pod. Those UIDs change when a listener restarts and the pod don't. This mismatch will cause the pod being unavailable through it's listener address while becoming healthy and available
Expected behaviour
Listeners should reattach to its original pod after restart.
Possible solution
Probably something like a label which doesn't contain the UID.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
- Lenguaje dominante
- Python
- Estrellas
- 9
- Forks
- 3
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
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 stackabletech/listener-operator
-
ListenerClass CRD restructureQuizá libre de nuevo @NickLarsenNZ la tomó hace 450 días y no hay ningún pull request abierto. Abierto
stackabletech/listener-operator#330 · 5 comentarios · 1 reacción · 1 asignado ·
-
OpenShift Route backendQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
customer-request
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
stackabletech/listener-operator#302 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
-
Rename `listeners.stackable.tech/listener-class` PVC annotation to `listeners.stackable.tech/class`Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 43/100
stackabletech/listener-operator#271 · 1 comentario ·
Todos los issues de stackabletech/listener-operator
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
deepchem/deepchem#5289 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Pull Request for pretty_macAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
UKGovernmentBEIS/inspect_evals#2892 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Versioning docs: say that no output from the 0.46 warning check means nothing is affectedPosiblemente ocupada @grelinfo la tomó hoy. Abiertodocumentation priority:low size:S
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
alphacrack/readme2demo#293 ·