Skip to content

Kibana service: following the cluster's version change (S-024-9) #579

Done

Description

@shipmill-romamo

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

Depends on #572

Activity

  1. shipmill-romamo commented on Nov 20, 2026

    @shipmill-romamo
    ContributorAuthor

    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 on line holds it until then.

  2. shipmill-romamo commented on Nov 24, 2026

    @shipmill-romamo
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions