Skip to content

Kibana service: dashboards survive a snapshot restore and a rebuilt server (S-024-10, S-024-11) #580

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-10 comment line).

Scope: the dashboards survive: the feature state kibana in the snapshots S-012 already takes and the guide's restore steps (stop Kibana, restore the feature state, start Kibana), and a rebuilt server that gets the same three encryption keys from the project's store and a new service token.

  • S-024-10: After cloudfall backup run search-main, the snapshot lists the feature state kibana. After the dashboard of S-024-6 is deleted and the feature state is restored from that snapshot by the guide's steps, the dashboard opens again
  • S-024-11: After the Kibana server is rebuilt empty and converged, analyst logs in and the dashboard of S-024-6 opens; the three encryption keys in Kibana's keystore are the ones from the project's store

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-10 and S-024-11 of spec 024 (docs/specs/024-kibana-service.md, approved in #504), for #503: dashboards that survive a feature-state restore and a rebuilt server.

    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: #613. #572 has closed, so this was unblocked and dispatched.

    S-012's snapshots already hold every feature state, so the snapshot request doesn't change. The PR adds docs/kibana-service-guide.md with the restore steps (stop Kibana, restore only the feature state kibana, start Kibana) and what a rebuilt server gets. S-024-11 needed no code: the three keys already come from the project's store and are never regenerated, and the tests show a rebuilt empty host gets the same keys and a new token.

    I asked for one change before landing. The first version made cloudfall backup run fail when the snapshot lacked the feature state kibana, even for a Kibana that had never started. The spec gives this kind no backup of its own, so that check is being removed.

    The guide covers only restore and rebuild. Its other sections come with #582. A real restore and a real rebuild 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