No visibility on Juju controller when it gets detached from the dqlite cluster
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend, observability
Direzione di ricerca
Start by tracing how the charm determines and reports the controller unit's status, then find where it can check whether the Juju API is listening on port 17070. The issue gives no file or test paths, so first locate the status checks and their tests. Done means a detached controller is reported as blocked or in error so an administrator can investigate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A node in a Juju cluster can get detached from the cluster (the dqlite data may be corrupted or outdated) and this can go unnoticed since Juju status will still display the unit as active and jujud is still running.
The only symptom of the issue is the fact that the Juju API in the node cannot start and the unit is effectively not listening on port 17070 which causes API calls hitting this node to fail/timeout. The affected controller Juju logs would show something like:
2026-06-05 23:44:41 ERROR juju.worker.dependency engine.go:695 "lease-manager" manifold worker returned unexpected error: catacomb 0xc0019f3a48 is dying
2026-06-05 23:44:41 DEBUG juju.worker.dependency engine.go:618 "db-accessor" manifold worker stopped: create node: failed to set bind address "@dqlite-3297041220608546238": 1
2026-06-05 23:44:41 ERROR juju.worker.dependency engine.go:695 "db-accessor" manifold worker returned unexpected error: create node: failed to set bind address "@dqlite-3297041220608546238": 1
When the issue is outdated dqlite data (there may be other I'm not aware of), a cross-inspection of /var/lib/juju/dqlite/ shows that the affected controller's dqlite data is outdated.
I'd argue that we should have better visibility on this (and potentially other issues). The easiest I can think of to achieve this is to mark the unit as blocked or in error if it's not listening on the port. This should trigger an admin to investigate and potentially resolve this and other issues.
- Lingua principale
- Python
- Stelle
- 3
- Fork
- 21
- Merge medio
- 2g 22h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di juju/juju-controller
-
metrics-endpoint-relation-created hook fails with ValueError on k8s when bind_address returns service FQDNForse di nuovo libera @gfouillet l’ha presa 89 giorni fa e non c’è nessuna pull request aperta. Aperta
juju/juju-controller#130 · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
juju/juju-controller#112 · 10 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
juju/juju-controller#96 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
juju/juju-controller#93 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
juju/juju-controller#92 · 1 commento ·
Tutte le issue di juju/juju-controller
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
snap-stanford/Biomni#380 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
microsoft/playwright-python#3361 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation priority: low size: S status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cubrid-lab/sqlalchemy-cubrid#1397 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation priority: low size: S status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cubrid-lab/pycubrid#1307 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Installer hides SSL certificate errors as bare URLError, and the suggested fix can't workApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ShaftHQ/chaosengine-harness#143 ·
I maintainer di solito rispondono entro 1 giorno