Skip to content

Releases

v0.6.1

Choose a tag to compare

@dirkpetersen dirkpetersen released this 29 Nov 03:10
267cb3e

Cluster setup for non-experts, and HAProxy 3.4 on RHEL 10 without a manual build.

HAProxy 3.4 on RHEL 10 (AlmaLinux, Rocky)

  • ober bootstrap downloads the HAProxy 3.4.8 RPM (x86_64 or aarch64) from the release haproxy-3.4.8-el10, checks its SHA-256 (pinned in ober) and installs it.
  • ober upgrade does the same, so sudo ober cluster upgrade moves existing RHEL 10 nodes to 3.4.
  • The new workflow HAProxy EL10 RPM builds the RPMs with deploy/el10-haproxy/build-rpm.sh. It never changes an existing release.

ober cluster init for non-experts

  • SSH: when a server does not accept the SSH key yet, init shows one line to paste on that server and then checks again. It makes a key when there is none. It trusts a new server's host key on first contact and stops when a known key changed.
  • Switched-off servers: when an address does not answer, init asks if it is a new floating IP or a server that is switched off.
  • Storage check: each server must reach the storage. Otherwise init stops with the reason (unknown name, refused, no answer, untrusted certificate).
  • Plain messages that say what to do next. When a step fails, init says where; running the same command again is safe.
  • ober config asks with examples, and asks for client networks only when a floating IP is a public address.

Tests

  • AlmaLinux 10.3 container: HAProxy 3.0.5 to 3.4.8 through the download.
  • AWS lab (Amazon Linux 2027): SSH key help as a normal user, then a full setup as that user (32 s); a wrong storage name and port refused with the reason; the switched-off question.

haproxy-3.4.8-el10

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:56

HAProxy 3.4 RPMs for EL10 (RHEL, AlmaLinux, Rocky 10), built from the Fedora source RPM by deploy/el10-haproxy/build-rpm.sh. ober bootstrap installs them and checks the pinned SHA-256.

v0.6.0

Choose a tag to compare

@dirkpetersen dirkpetersen released this 28 Nov 21:17
e19358f

Minimal cluster setup. Tested on the 3-node AWS lab (Amazon Linux 2027).

New: ober cluster init

sudo ober cluster init 10.0.0.11 10.0.0.12 10.0.0.13 10.0.0.100 \
    --backend s3.example.org [--cert fullchain-and-key.pem] [--allow CIDR]
  • Give the node IPs and the floating IPs in one list. Init logs in to each IP over SSH: an IP that a host has on a NIC is a node, every other IP is a floating IP (keepalived VIP).
  • A floating IP that answers ping or ARP but is on no node is refused (an IP conflict otherwise).
  • Without --cert, init uses the certificate that the nodes already have. The S3 hostnames come from the certificate SAN.
  • It shows the NIC and source address each node uses for each backend, and warns when backend traffic uses the frontend NIC on a host with more NICs.
  • Per node, one at a time: install ober and bootstrap if needed, write the cert, ober.local.yaml and ober.yaml, apply (or switch from BGP mode), start. Stops at the first failure.
  • Public VIPs need --allow CIDR (internet VIPs deny all other sources). Keepalived mode only.

ober config

With no ober.yaml, it asks only four things (IPs, backend, certificate, client CIDRs) and runs ober cluster init. Answer "no" for the full wizard.

Lab results

  • Switch of a running BGP-mode cluster to keepalived: 31 s. A second run (gated ober apply): 24 s.
  • ober cluster status: all nodes OK, one MASTER per VIP, same config, backend UP.
  • An address in use (the lab router) was refused.

v0.5.0

Choose a tag to compare

@dirkpetersen dirkpetersen released this 28 Nov 06:27

HAProxy 3.4 release. Tested on a 3-node AWS lab on AlmaLinux 10.3, Ubuntu 26.04 and Amazon Linux 2027, each in BGP mode; see lab/aws/FINDINGS.md.

Supported OS (changed)

  • Ubuntu 26.04+, RHEL 10+ (AlmaLinux 10, Rocky 10) and Amazon Linux 2027.
  • Ubuntu 24.04 and Debian are no longer supported: they have no HAProxy 3.4 package. ober bootstrap refuses them. ober doctor reports them as not supported, but not as critical, so ober cluster upgrade still works on running nodes.

HAProxy 3.4

  • Ubuntu 26.04: bootstrap adds ppa:vbernat/haproxy-3.4 and pins it to the dpkg architecture (amd64v3 hosts, such as GitHub runners, otherwise read an empty index).
  • RHEL 10: deploy/el10-haproxy/build-rpm.sh rebuilds the Fedora 3.4.8 RPM (EL10 ships only 3.0.5).
  • Amazon Linux 2027: bootstrap installs haproxy-awslc 3.4 (AWS-LC FIPS) and no frr, which AL2027 does not package, so no BFD there.
  • ober doctor recommends 3.4+. New live test: haproxy -c gives no warnings on the generated config.
  • README "Rolling upgrade" shows how to move existing nodes to 3.4 with ober cluster upgrade --command.

Lab results

  • AlmaLinux 10.3: rolling upgrade to 3.4.8 in 95 s with 479/479 probe requests OK, 0 SELinux denials, BFD failover 1.5 s.
  • Ubuntu 26.04: fresh bootstrap, rolling upgrade in 75 s with 430/430 OK, BFD failover 1.0 s.
  • Amazon Linux 2027: fresh bootstrap with AWS-LC FIPS, TLS backend to S3, rolling upgrade in 81 s with 369/369 OK, failover without BFD 2.9 s.

Docs

  • 12 doc errors fixed (BFD port 3784/udp in --firewall, uninstall list, allowlist rules, keepalived crash behavior, and more).

v0.4.0 - Day-2 operations

Choose a tag to compare

@dirkpetersen dirkpetersen released this 27 Nov 03:59
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.