Skip to content

security(longhorn): enable automatic engine upgrades so stale engine-image DaemonSets can retireΒ #3966

Description

@devantler

πŸ€– Generated by the Agentic Engineer

Evidence

Measured against live prod 2026-09-21T02:05Z, after #3953 merged:

Audience and problem

Platform operators. Two of the three engine-image DaemonSets exist only because volumes were never upgraded after chart bumps. They keep the C-0211 residual open, and they leave the cluster running three engine versions at once, which is its own maintenance risk.

Expected behaviour

Longhorn upgrades volume engines to the default engine image on its own, one volume per node at a time, so old engine images lose their last reference and Longhorn removes them.

Acceptance criteria

  • Automatic engine upgrade is enabled through the Longhorn HelmRelease with a per-node limit of 1.
  • After rollout, all volumes run the default engine image and stay healthy.
  • The v1.11.1 and v1.12.0 engine images reach zero references and are removed, taking their DaemonSets with them.

Size: small (one setting), plus post-deploy verification.

Activity

  1. moved this to πŸ“₯ Backlog in 🌊 Project Boardon Sep 21, 2026
  2. added a commit that references this issue on Sep 21, 2026
  3. moved this from πŸ“₯ Backlog to πŸ‘€ In Review in 🌊 Project Boardon Sep 21, 2026
  4. moved this from πŸ‘€ In Review to βœ… Done in 🌊 Project Boardon Sep 21, 2026
  5. devantler commented on Sep 21, 2026

    @devantler
    ContributorAuthor

    πŸ€– Generated by the Agentic Engineer

    Live verification after #3967 merged (read-only, 2026-09-21 ~10:28Z):

    • Criterion 1 β€” met. concurrent-automatic-engine-upgrade-per-node-limit now reads 1.
    • Criterion 2 β€” met. All 14 engines run longhorn-engine:v1.12.1, and 14/14 volumes are healthy/attached.
    • Criterion 3 β€” partly met. Both old engine images dropped to zero references: ei-75a03ec3 (v1.11.1) since 10:04:41Z and ei-a4d05f02 (v1.12.0) since 10:04:46Z. Both still exist, along with their engine-image-* DaemonSets. I will re-check on a later run whether Longhorn removes an unreferenced non-default image by itself. If it does not, the remaining step is a one-time deletion of those two images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Security.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions