OPNexusdocs

Rollouts in waves

System › Rollouts distributes a firmware update (stable update or major upgrade) in waves across the fleet. The waves consist of device groups, which you create as rings, for example ring-canary (one unimportant firewall), ring-pilot (a few) and ring-prod (the rest). If a host is in several waves, the earliest applies.

Flow per wave:

  1. Pre-check: update check on the hosts of the wave, then take inventory (version, gateways, running services, security score). Hosts without a matching update are skipped. The version installed in the first wave is the target version; if a host of a later wave offers a different one, the rollout stops (OPNsense always installs the newest, otherwise "prod" would get a version that never ran in the canary ring).
  2. Hosts one after another: every host runs as scheduled maintenance with automatic checking (backup before the update, locks, audit). Always only one host, always only one rollout at a time. In a cluster first the BACKUP, then the MASTER; the MASTER only if the wave allows CARP handover, otherwise the rollout stops. Before the second node of a cluster, the cluster (all nodes reachable, exactly one MASTER per VHID, no maintenance mode) and the already updated node are checked again.
  3. Observation time (adjustable per wave), then the health check of the updated hosts: reachable and firmware ready, target version installed, CARP healthy, gateways and services that ran before are running again (those already faulty before only as a note), no open locks, optionally security score not dropped (note or stop) and optionally the plan's reachability probes. If something is red, OPNexus checks again two minutes later (slow start after the reboot) and then stops.
  4. Release (optional per wave): the wave only begins when someone clicks "Release wave".

Reachability probes: in the plan you can enter up to ten probes (ping or TCP to a port, target as IP or name), for example the uplink, a DNS server or an internal server. The firewall itself runs them: once before the wave (baseline) and after the observation time. A probe that worked before and no longer does stops the rollout; one that already failed before is only a note. To be honest: this checks reachability from the firewall, not the traffic that passes through it. Every probe appears in the audit log (actor system:rollout). Before every update OPNexus also creates the way-back point here.

It stops at any uncertainty, and nothing is ever repeated by itself: gate red, host failed or unusually long in progress, host not ready in the pre-check, differing target version, MASTER without handover, a foreign open maintenance in the cluster for longer than 15 minutes, the responsible person is no longer allowed to deploy, the window was deleted, the run is older than 14 days. The notification "Rollout stopped" is sent. Resume first re-checks all hosts updated so far; whoever resumes is responsible from then on. A failed host must be explicitly skipped beforehand (its maintenance action stays "unclear" until you complete it on the host page). Cancel discards everything that has not begun yet; an action that is already running on a firewall is brought to an end in a guided way. Stopping is allowed to anyone with write permission, everything else needs the permission to deploy.

Maintenance windows (tab "Maintenance windows"): weekly on certain days or monthly (first…fourth or last weekday, or a fixed day 1–28), start in a time zone, duration and cut-off time: after the first N minutes no new host begins, running updates finish, and the rollout waits for the next slot (then what was done so far is checked again first). Daylight saving time: a time that does not exist on that day moves forward (02:30 → 03:30); a duplicate time counts the first time. Individual slots can be skipped or postponed. A window that a plan uses cannot be deleted.

Automatic start: a plan with a window and stable update can start by itself at every slot. For this someone with deploy permission must activate it after the preview. OPNexus remembers a fingerprint of the plan, resolved hosts and window (including skipped or postponed slots); if any of it changes (including the members of a group), nothing starts, and "Rollout not started automatically" is sent. Every edit of the plan deactivates it. This way nobody can change the targets of an activated plan unnoticed. Whoever skips or postpones a slot must activate an automatic plan again afterwards. The activating person is additionally identified by their account ID: if their account is deleted and a new one with the same name is created, the plan no longer starts. If two slots of a window overlap (e.g. a postponed one with the regular one), the one begun last counts.

The Update Center shows the running rollout as a banner; hosts it is still working on are blocked there for manual firmware actions. Restarting or updating OPNexus during a rollout is safe (the state is in the database), but pauses it for that time.