Skip to content

Prove S-024 live: Kibana on a one-node Elasticsearch on a fresh Debian 13 host #615

Todo

Description

@shipmill-romamo

S-024-3 to S-024-11 and S-024-13 (docs/specs/024-kibana-service.md, feature issue #503) need Kibana and Elasticsearch on a fresh Debian 13 host. No agent session runs one on its own because it creates a paid cloud server. The build PRs (#598, #610, #611, #612, #613, #614) prove offline what they can: templates, refusals, and the role's tasks replayed against stand-ins. The spec's Verification section lists what each criterion still lacks.

The run follows the disposable proving-run pattern:

  1. Create one cx23 host on Debian 13
  2. Declare S-012-1's search-main with the users analyst (indexPatterns: ["crm-*"]) and support, and S-024's search-kibana with analyst: edit and support: view, without domain. Run cloudfall secrets generate, then cloudfall converge baseline and services twice
  3. Run the check below
  4. Delete the host

When it passes, record the run in S-024's Verification section for each criterion it covers (a docs PR).

Check

On the host, after the first converge (S-024-3, S-024-5):

  • curl -s http://127.0.0.1:5601/api/status (logged in as analyst) reports the Elasticsearch service's version and overall level available
  • apt-mark showhold lists kibana
  • ss -ltnp | grep 5601 shows only a loopback address
  • curl -s -o /dev/null -w '%{redirect_url}' http://127.0.0.1:5601/app/dashboards points at the login form
  • grep -r for the three encryption keys and the elastic/kibana token finds them in none of /etc/kibana/kibana.yml, the playbook output, or journalctl -u kibana

After the second converge (S-024-4): the play recap shows changed=0, and systemctl show -p ActiveEnterTimestamp kibana elasticsearch is unchanged.

Through an SSH forward to 5601 (S-024-6, S-024-7): analyst creates a data view on crm-* and a dashboard, and sees no document of billing-1; support opens it and is refused a save; an Elasticsearch user not in kibana.users opens no application.

Audit (S-024-13): cloudfall audit is clean, then reports drift after each of: systemctl stop kibana; server.host: 0.0.0.0 written into kibana.yml by hand; support given cloudfall-kibana-edit by hand.

S-024-8 (a Domain), S-024-9 (a patch version change), S-024-10 (the feature-state restore) and S-024-11 (a rebuilt server) may run on the same host before it is deleted; record whichever ran.

Activity

  1. added
    role:maintainer
    on Nov 25, 2026
  2. shipmill-romamo commented on Nov 25, 2026

    @shipmill-romamo
    ContributorAuthor

    @romamo, it's your turn: #582 closed, the last build issue of spec 024.

    What to do, from this issue:

    1. Create one cx23 host on Debian 13
    2. Declare S-012-1's search-main with the users analyst (indexPatterns: ["crm-*"]) and support, and S-024's search-kibana with analyst: edit and support: view, without domain. Run cloudfall secrets generate, then cloudfall converge baseline and services twice
    3. Run the check below
    4. Delete the host

    When it passes, record the run in S-024's Verification section for each criterion it covers (a docs PR).

    When it's done, this must hold:

    On the host, after the first converge (S-024-3, S-024-5):

    • curl -s http://127.0.0.1:5601/api/status (logged in as analyst) reports the Elasticsearch service's version and overall level available
    • apt-mark showhold lists kibana
    • ss -ltnp | grep 5601 shows only a loopback address
    • curl -s -o /dev/null -w '%{redirect_url}' http://127.0.0.1:5601/app/dashboards points at the login form
    • grep -r for the three encryption keys and the elastic/kibana token finds them in none of /etc/kibana/kibana.yml, the playbook output, or journalctl -u kibana

    After the second converge (S-024-4): the play recap shows changed=0, and systemctl show -p ActiveEnterTimestamp kibana elasticsearch is unchanged.

    Through an SSH forward to 5601 (S-024-6, S-024-7): analyst creates a data view on crm-* and a dashboard, and sees no document of billing-1; support opens it and is refused a save; an Elasticsearch user not in kibana.users opens no application.

    Audit (S-024-13): cloudfall audit is clean, then reports drift after each of: systemctl stop kibana; server.host: 0.0.0.0 written into kibana.yml by hand; support given cloudfall-kibana-edit by hand.

    S-024-8 (a Domain), S-024-9 (a patch version change), S-024-10 (the feature-state restore) and S-024-11 (a rebuilt server) may run on the same host before it is deleted; record whichever ran.

    Reply done here when it's finished, or close the issue.

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

Metadata

Metadata

Assignees

Labels

role:maintainer

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions