Skip to content

v0.4.0 - Day-2 operations

Choose a tag to compare

@dirkpetersen dirkpetersen released this 27 Nov 03:59
· 24 commits to main since this release
22f5db8

Day-2 operations and hardening release. Tested on a 3-node AWS lab (Amazon Linux 2027, SELinux enforcing) in BGP and keepalived mode; see lab/aws/FINDINGS.md.

New commands

  • ober apply (render, check, diff, reload, health gate, automatic rollback) and ober rollback.
  • ober push: apply one ober.yaml on all nodes, one at a time; per-node values in etc/ober.local.yaml.
  • ober cluster status: all nodes in one view; CRIT when a VIP is on no node or MASTER on two; config and version drift.
  • ober backend list|drain|maint|ready [--all-nodes]; drains survive reloads (server-state-file).
  • ober metrics (Prometheus textfile) plus deploy/prometheus/alerts.yml.
  • ober cert install [--all-nodes]: checks the PEM and swaps it into HAProxy with no reload. lego DNS-01 timer and hook in deploy/lego/.

Fixes and hardening

  • BGP: VIPs added or removed by ober apply are announced and withdrawn (health process reloads on SIGHUP).
  • SELinux: works enforcing on RHEL-family hosts; herr_ober policy module for keepalived.
  • keepalived: optional vips[].owner; fast failover (7 s) with a delayed return (vrrp_startup_delay 30, rise 15).
  • systemd: safer units (BindsTo, reload with haproxy -c, watchdog drop-in).
  • Issue auto-fix workflow: runs only on the auto-fix label from a writer; script injection and token exposure fixed.
  • Amazon Linux 2027 support; ober doctor shows the HAProxy TLS library.
  • Removed the unused watchdog dependency.

Upgrade: see "Rolling upgrade" in the README. Re-run ober bootstrap on existing nodes for the SELinux module and watchdog drop-in.