Hypervisors: Alloy under podman in the monitoring network; runbook for infractl (M10) #12

Merged
oliver.maklott merged 3 commits from hypervisor into main 2026-11-30 06:34:23 +01:00

Milestone 10, the hypervisors: what the site needs for the guided rebuild of a dedicated server (infractl v0.12.0, bootstrap hypervisor NAME).

  • playbooks/tasks/monitoring_site.yml: a hypervisor that is a site of the monitoring network runs Alloy under podman (no Docker: its forwarding rules would get in the way of the routed guests), pushing to the hub's gateway through wg2. hypervisor.yml includes it at the end.
  • Example: hv1 in the monitoring network.
  • Site scenario: the router is also the monitoring hub with a receiver; the hypervisor's metrics and journal arrive through wg2, Docker is absent.
    • The guest SSH in verify is bounded (timeout, keepalives): a peer that accepted and then hung stalled one local run for 40 minutes.
    • The receiver answers text/plain, so its counts go through from_json.
  • Runbook rebuild-hypervisor: infractl (bootstrap hypervisor NAME), the four networks, the hubs' runs.
  • Pins: infractl v0.12.0, collection-monitoring v0.6.0 (Alloy under podman; a memory cap for Alloy, 512 MiB by default).

Green locally (bt-ci molecule site). Nothing here touches a real server.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG

Milestone 10, the hypervisors: what the site needs for the guided rebuild of a dedicated server (infractl v0.12.0, `bootstrap hypervisor NAME`). * `playbooks/tasks/monitoring_site.yml`: a hypervisor that is a site of the monitoring network runs Alloy under podman (no Docker: its forwarding rules would get in the way of the routed guests), pushing to the hub's gateway through wg2. `hypervisor.yml` includes it at the end. * Example: hv1 in the monitoring network. * Site scenario: the router is also the monitoring hub with a receiver; the hypervisor's metrics and journal arrive through wg2, Docker is absent. * The guest SSH in verify is bounded (`timeout`, keepalives): a peer that accepted and then hung stalled one local run for 40 minutes. * The receiver answers text/plain, so its counts go through `from_json`. * Runbook `rebuild-hypervisor`: infractl (`bootstrap hypervisor NAME`), the four networks, the hubs' runs. * Pins: infractl v0.12.0, collection-monitoring v0.6.0 (Alloy under podman; a memory cap for Alloy, 512 MiB by default). Green locally (`bt-ci molecule site`). Nothing here touches a real server. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
- tasks/monitoring_site.yml: a hypervisor that is a site of the monitoring
  network runs Alloy under podman (no Docker: its forwarding rules would
  get in the way of the routed guests), pushing to the hub's gateway
- the site scenario: the router is also the monitoring hub with a
  receiver; the hypervisor's metrics and journal arrive through wg2
- examples: hv1 in the monitoring network
- runbook rebuild-hypervisor: infractl (bootstrap hypervisor NAME), the
  four networks, the hubs' runs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Site scenario: bounded guest SSH, the receiver's counts parsed; infractl v0.12.0, monitoring v0.6.0
All checks were successful
ci / lint (pull_request) Successful in 35s
ci / test (pull_request) Successful in 12s
ci / molecule (pull_request) Successful in 37m54s
ci / test (push) Successful in 9s
ci / lint (push) Successful in 31s
ci / molecule (push) Successful in 37m30s
dd022c2d41
- verify: the guest SSH under timeout with keepalives (a peer that accepts
  and then hangs stalled a local run for 40 minutes); free -m of the lab
  server up front, for a run that stalls
- the receiver answers text/plain: uri leaves .json unset, so from_json
- pins: infractl v0.12.0 (bootstrap hypervisor), collection-monitoring
  v0.6.0 (Alloy's memory cap)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
oliver.maklott deleted branch hypervisor 2026-11-30 06:34:23 +01:00
Sign in to join this conversation.
No reviewers
No labels
test:kvm
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
belowtoxic-ansible/infrastructure!12
No description provided.