Listeners do not re-attach post deletion without podrestart
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- kubernetes, python
- Domínio
- backend, networking
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 9
- Forks
- 3
- Merge médio
- 1d 6h
- PRs com merge (30d)
- 8
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
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 stackabletech/listener-operator
-
ListenerClass CRD restructureTalvez livre de novo @NickLarsenNZ assumiu há 450 dias e não há nenhum pull request aberto. Aberta
stackabletech/listener-operator#330 · 5 comentários · 1 reação · 1 responsável ·
-
OpenShift Route backendTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
-
customer-request
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
stackabletech/listener-operator#302 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 20/100
-
Rename `listeners.stackable.tech/listener-class` PVC annotation to `listeners.stackable.tech/class`Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 43/100
stackabletech/listener-operator#271 · 1 comentário ·
Todas as issues de stackabletech/listener-operator
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
deepchem/deepchem#5289 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Pull Request for pretty_macAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 60/100
UKGovernmentBEIS/inspect_evals#2892 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Versioning docs: say that no output from the 0.46 warning check means nothing is affectedTalvez já em andamento @grelinfo assumiu hoje. Abertadocumentation priority:low size:S
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
alphacrack/readme2demo#293 ·