Install a Coulobre cluster from one inventory #201

Merged
parkel merged 2 commits from feature/cluster-installation into main 2026-11-26 22:13:23 +01:00
Owner

New features

  • Add Cluster to the interactive deployment profiles and expose the same wizard through --cluster.
  • Install multiple independent panels and optional shared DNS and mail receivers from a single TOML inventory. Run the plan on the first panel server.
  • Check every destination before installing services and record completed panels so an interrupted deployment can resume from the same inventory.

Security

  • Pin SSH host keys, check noninteractive sudo and reject duplicate machine identities before deployment.
  • Keep deployment SSH private keys on the first server and generate each panel's role keys on that panel. Use separate domain scopes on shared receivers.
  • Allow an explicitly empty scope for a fresh cluster. It permits health checks and denies domain operations until the operator assigns domains.

Documentation

  • Document interactive and automated cluster setup and include an example inventory.
  • Explain the existing procedures for authoritative DNS replication and scoped mail operations.

Verification

  • Ruff lint and formatting, Django system and migration checks, 25 installer tests, and the Django test suite passed.
  • Exercised the Cluster menu in a pseudo-terminal and tested preflight order, TOML round-tripping, and resuming a failure on the last panel.
  • Verified source and wheel against the branch and built a Debian package containing the cluster modules and example inventory.

Operational impact

  • The cluster flow targets fresh hosts and uses the same release throughout. Individual panel plans and the web installer retain their existing entry points.
  • Qualification on a live multi-server deployment remains open.

Refs #114. Follows #200.

## New features - Add Cluster to the interactive deployment profiles and expose the same wizard through `--cluster`. - Install multiple independent panels and optional shared DNS and mail receivers from a single TOML inventory. Run the plan on the first panel server. - Check every destination before installing services and record completed panels so an interrupted deployment can resume from the same inventory. ## Security - Pin SSH host keys, check noninteractive sudo and reject duplicate machine identities before deployment. - Keep deployment SSH private keys on the first server and generate each panel's role keys on that panel. Use separate domain scopes on shared receivers. - Allow an explicitly empty scope for a fresh cluster. It permits health checks and denies domain operations until the operator assigns domains. ## Documentation - Document interactive and automated cluster setup and include an example inventory. - Explain the existing procedures for authoritative DNS replication and scoped mail operations. ## Verification - Ruff lint and formatting, Django system and migration checks, 25 installer tests, and the Django test suite passed. - Exercised the Cluster menu in a pseudo-terminal and tested preflight order, TOML round-tripping, and resuming a failure on the last panel. - Verified source and wheel against the branch and built a Debian package containing the cluster modules and example inventory. ## Operational impact - The cluster flow targets fresh hosts and uses the same release throughout. Individual panel plans and the web installer retain their existing entry points. - Qualification on a live multi-server deployment remains open. Refs #114. Follows #200.
parkel added 2 commits 2026-11-26 22:11:22 +01:00
Document the cluster wizard and automated inventory
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
3d25818683
parkel merged commit 372816ff4f into main 2026-11-26 22:13:23 +01:00
parkel deleted branch feature/cluster-installation 2026-11-26 22:13:23 +01:00
Sign in to join this conversation.