Skip to content

Update rings and pending updates

Update rings

Rings stage updates: a pilot ring installs first, the broad fleet later.

  • Rings are ordered per tenant (position, lowest first). A device belongs to the first ring it matches: a device tag, a directory group of its primary user, a blueprint (the device's effective blueprint or one it inherits from) or all devices (every device not in an earlier ring). The server works this out at every check in; the ring page counts devices by their last check in.
  • A wave starts in the first ring, by an admin (Start a new wave) or every wave_days days (first ring only). The first ring has it at once.
  • Ring N gets the newest wave that is at least its deferral_days old (counted from the start of the wave) and that ring N-1 already has. A paused ring N-1 stops the rollout to ring N and every ring after it.
  • With require_approval the wave stops before the ring until an admin approves it; approving lets the wave the ring before has through.
  • Pause stops installs in a ring at once (the gate the devices get is closed) and holds up later rings. Resume opens it again.
  • The server moves waves along every five minutes and right after a change; every step is audited (update_wave.start, update_ring.wave, update_ring.pause, update_ring.resume, update_ring.approve, update_ring.save, update_ring.delete).

A rule with rings installs once per wave that reached the device's ring, in its window; a failed run is retried a day later. A device in no ring is not gated: it installs in every window as without rings. A rule without rings ignores the rings (for example security updates every night, everything else per wave).

Limits

A wave is a point in time, not a frozen set of package versions: a device installs what its repositories offer when it runs the wave. A broad ring seven days behind the pilot therefore also gets updates published in those seven days. Freezing versions needs a repository snapshot (for example a local mirror per ring, delivered with com.limdm.repositories). Older agents ignore the gate.

Pending updates and the device view

The agent lists the pending updates its package manager knows, refreshed at most hourly (the same refresh the check updates.security uses, no extra downloads): package, installed and candidate version, origin (apt origin, repo ID, Flatpak remote), source, security flag, severity and CVE IDs where the advisories have them:

  • Fedora and RHEL: dnf updateinfo list --security (severity) and --with-cve (CVE IDs).
  • openSUSE and SLES: needed security patches from zypper list-patches --category security with severity and the CVE IDs of their issue list (patches appear as entries of their own).
  • Debian and Ubuntu: apt knows whether a candidate comes from a security archive, not which CVEs it fixes. CVE IDs and severity come from the server side import below.
  • Arch and Alpine: no security information; every pending update counts as a security update for the checks. CVE IDs come from the server side import below.

The device tab Updates shows the ring, the last run per source, the pending list and the rollback actions.