You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kibana service: following the cluster's version change (S-024-9) #579
Builds part of spec S-024, docs/specs/024-kibana-service.md: the acceptance criteria below. Each needs a test that names its id (test_s024_<k>_..., or a proves: S-024-9 comment line).
Scope: a change of the Elasticsearch service's version moving Kibana in the same converge, after every node: the read of every node's version (GET /_nodes) before the package changes, the PRECONDITION stop when a node is older than the declared version, and the wait for Kibana's saved-object migration.
S-024-9: Changing the Elasticsearch service's version to a later patch and converging leaves the node and Kibana on the new version, with Kibana changed after the node; the dashboard of S-024-6 opens afterwards. With a cluster of two nodes of which one is still on the old version, the Kibana package is not changed and the converge stops with PRECONDITION
Builds S-024-9 of spec 024 (docs/specs/024-kibana-service.md, approved in #504), for #503: Kibana following the cluster's version change, after every node.
It starts once #572 closes; its Depends on line holds it until then.
PR: #612. #572 has closed, so this was unblocked and dispatched.
Before Kibana's package moves, the role reads every node's version (GET /_nodes). If any node is older than the declared version, it leaves Kibana alone and stops with PRECONDITION (service_kibana_node_older). Otherwise it upgrades the held package and waits until Kibana reports itself available, which covers the saved-object migration. A second converge still changes nothing.
Trade-offs:
The node check also runs on a first install, and it is skipped in --check
A declared node that is missing from the GET /_nodes answer is not refused; only the nodes that answer are compared
Proved against a fake two-node cluster. The real package upgrade on Debian 13 and the dashboard opening afterwards wait for a live run.
Activity
shipmill-romamo commentedon Nov 20, 2026
Triage: implement. Serves: G-1, G-3.
Builds S-024-9 of spec 024 (
docs/specs/024-kibana-service.md, approved in #504), for #503: Kibana following the cluster's version change, after every node.It starts once #572 closes; its
Depends online holds it until then.shipmill-romamo commentedon Nov 24, 2026
PR: #612. #572 has closed, so this was unblocked and dispatched.
Before Kibana's package moves, the role reads every node's version (
GET /_nodes). If any node is older than the declared version, it leaves Kibana alone and stops withPRECONDITION(service_kibana_node_older). Otherwise it upgrades the held package and waits until Kibana reports itself available, which covers the saved-object migration. A second converge still changes nothing.Trade-offs:
--checkGET /_nodesanswer is not refused; only the nodes that answer are comparedProved against a fake two-node cluster. The real package upgrade on Debian 13 and the dashboard opening afterwards wait for a live run.