Skip to content

chore(deps): update dependency longhorn/longhorn to v1.12.1 - #10

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/longhorn-longhorn-1.x
Open

chore(deps): update dependency longhorn/longhorn to v1.12.1#10
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/longhorn-longhorn-1.x

Conversation

@renovate

@renovate renovate Bot commented May 23, 2024

Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update Change
longhorn/longhorn minor v1.6.1v1.12.1

Release Notes

longhorn/longhorn (longhorn/longhorn)

v1.12.1: Longhorn v1.12.1

Compare Source

Longhorn v1.12.1 Release Notes

Longhorn v1.12.1 introduces V2 Data Engine fast volume cloning and storage sharding (experimental), along with important improvements and bug fixes that enhance system quality, resilience, stability, and security.

We welcome feedback and contributions to help continuously improve Longhorn.

For terminology and context on Longhorn releases, see Releases.

Breaking Changes

Deprecation of Legacy V2 Linked Clone Volumes

V2 linked-clone volumes created in v1.12.0 or earlier are marked as legacy and deprecated starting in v1.12.1. The new linked-clone architecture introduced in Issue #​12552 is not compatible with the legacy design.

After upgrading to v1.12.1, legacy linked-clone volumes cannot be operated on except for detachment and deletion.

To replace, create new linked-clone volumes from the same source volumes that back the legacy ones. As long as a legacy volume exists, its source volume is guaranteed to still be present, so you can create a replacement linked clone directly; no data copy is required.

For more information, see Issue #​12552.

Highlighted Features

Fast Volume Cloning

Longhorn v1.12.1 enhances fast volume cloning for the V2 Data Engine. A linked-clone volume shares data blocks with its source instead of copying data. With the new architecture, a source replica can share its data blocks with multiple linked-clone volumes, and multiple clone replicas can be created in parallel.

Linked-clone volumes now support most operations available to regular volumes, including snapshots, expansion, replica rebuilding, and use as the source of nested linked clones.

For more information, see Issue #​12552 and CSI Volume Clone.

Notice: V2 fast cloning does not currently support volume backup and restore. This improvement is tracked in Issue #​13714.

Storage Sharding (Experimental)

Longhorn v1.12.1 introduces storage sharding as an experimental data protection and storage layout feature built on the V2 Data Engine. Instead of storing a full copy of the volume on each replica, sharding uses erasure coding to encode written data into data and parity chunks, which are distributed across multiple nodes. This allows a volume to grow beyond the capacity of a single disk or node while using less disk space to achieve the same level of fault tolerance.

Because this feature is experimental, it is intended for evaluation and testing only and is not recommended for production use.

For more information, see Issue #​1061 and Sharding with Erasure Coding.

Important Improvements and Fixes

This release includes several important improvements and critical stability fixes.

Internal Network Policies

Longhorn v1.12.1 enables ingress NetworkPolicy resources for internal component endpoints and RPCs by default to improve security by restricting access to Longhorn internal services, including the instance-manager gRPC endpoint used for engine control. These policies only take effect when a NetworkPolicy provider is available in the cluster.

Longhorn has validated the internal network policies with the following Kubernetes distribution and CNI plugin combinations. See the CNI Plugin Compatibility table for the validated combinations. The minimum required Kubernetes version is v1.25.

For more information and troubleshooting guidance, see Internal Network Policies and Issue #​13438.

Instance Manager gRPC mTLS Coverage

In previous versions, mutual TLS (mTLS) for the instance-manager gRPC endpoint only covered the instance and proxy services when the longhorn-grpc-tls secret was configured. Other services, including the disk service and the SPDK service, accepted plaintext connections.

Longhorn v1.12.1 extends mTLS to all remaining instance-manager gRPC services, so every gRPC port now requires a valid client certificate when the longhorn-grpc-tls secret is configured.

For more information, see Issue #​7787.

CPU Core Allocation with the Kubernetes CPU Manager

Longhorn v1.12.1 can allocate exclusive CPU cores to the SPDK target daemon, which runs in each V2 Instance Manager pod, through the Kubernetes CPU Manager by using the data-engine-number-of-cpu-cores setting.

The setting can be applied only when the kubelet CPU Manager policy is set to static on all worker nodes; otherwise, the update is rejected. When the value is positive, it takes precedence, and data-engine-cpu-mask is ignored.

For more information, see Issue #​13248.

Host CPU Isolation

The data-engine-cpu-isolation-enabled setting now also configures host network Receive Packet Steering (RPS) to steer RX softirq processing away from the CPU cores used by the SPDK target daemon, in addition to hardware IRQs and unbound kernel workqueue workers. Without this, the kernel can distribute incoming network packets to the SPDK reactor cores, and the resulting softirq work competes with the reactor's busy-poll loop, degrading volume I/O under network load.

For more information, see Issue #​13483 and Issue #​13502.

V2 Data Engine SPDK iobuf Pool Size Configuration

Longhorn v1.12.1 allows tuning the SPDK iobuf buffer pools used by the V2 Data Engine. The data-engine-iobuf-large-pool-size and data-engine-iobuf-small-pool-size settings configure the large and 8 KiB small buffer pools, respectively. Increasing the small pool can relieve buffer exhaustion under high-queue-depth workloads with small I/O sizes. Because iobuf pools can only be sized at SPDK target startup, changing either setting recreates V2 Instance Manager pods that have no running instances.

For more information, see Issue #​13322 and Issue #​13674.

Encrypted Volume Size Correction

Longhorn reserves an additional 16 MiB of raw capacity for the LUKS2 metadata used by encrypted volumes, allowing the mapped device to expose the full capacity requested by the workload. Previously, the metadata was taken from usable capacity, so a requested 1 GiB encrypted volume exposed only 1008 MiB. This discrepancy could cause operations such as block-level copies between equally sized unencrypted and encrypted volumes to fail.

  • V1 Data Engine: This correction was introduced in Longhorn v1.12.0. Existing encrypted V1 volumes created with v1.11.x or earlier receive the additional capacity automatically when their engine image is upgraded to v1.12 or later. Encrypted migratable V1 volumes cannot be live-migrated until they are upgraded to the version (>= v1.12.0).
  • V2 Data Engine: Longhorn v1.12.1 applies the correction to newly created encrypted V2 volumes.

Notice: Encrypted V2 volumes created before v1.12.1, and volumes restored from the backup of such volumes, do not receive the additional 16 MiB of raw capacity and continue to expose 16 MiB less than requested. Existing data is preserved.

For more information, see Issue #​9205 and Issue #​13163.

Installation

[!IMPORTANT]
Ensure that your cluster is running Kubernetes v1.25 or later before installing Longhorn v1.12.1.

You can install Longhorn using a variety of tools, including Rancher, Kubectl, and Helm. For more information about installation methods and requirements, see Quick Installation in the Longhorn documentation.

Upgrade

[!IMPORTANT]
Ensure that your cluster is running Kubernetes v1.25 or later before installing Longhorn v1.12.1.

Longhorn only allows upgrades from supported versions. For more information about upgrade paths and procedures, see Upgrade in the Longhorn documentation.

Post-Release Known Issues

For information about issues identified after this release, see Release-Known-Issues.

Resolved Issues in this release

Highlight
Feature
Improvement
Bug
Resilience
  • [BACKPORT][v1.12.1][BUG] Transient SPDK lvol metadata failure can permanently fault a healthy v2 replica 13542 - @​roger-ryao
Misc

Contributors

v1.12.0: Longhorn v1.12.0

Compare Source

Longhorn v1.12.0 Release Notes

The Longhorn team is excited to announce the release of Longhorn v1.12.0. This feature release marks a major milestone for Longhorn: the V2 Data Engine is now officially Generally Available (GA).

With the V2 Data Engine reaching GA, Longhorn v1.12.0 strengthens the production story for modern workloads with topology-aware provisioning, dual-stack and V2 IPv6 support, improved observability and operational tooling, and clearer guidance around V1 and V2 behavior and feature parity.

For terminology and background on Longhorn releases, see Releases.

Removal

V2 Backing Image Removal

V2 Backing Images are removed in Longhorn v1.12.0. Suggest using the Containerized Data Importer (CDI) to import VM disk images into V2 volumes to achieve the same purpose.

If you have V2 volumes that were created from backing images, you must migrate them before upgrading to v1.12.0:

  1. Backup and recreate (recommended): Create a backup of the V2 volume, delete the original volume, then restore from backup. The restored volume will not have a backing image dependency.
  2. Delete the volume: If the data is not needed, delete the V2 volume directly.

V2 volumes with backing image dependencies cannot be upgraded in-place. Attempting to upgrade without migration may result in volume attachment failures.

GitHub Issue #​13181

Primary Highlights

V2 Data Engine
Generally Available

We are pleased to announce that the V2 Data Engine has officially graduated to General Availability in Longhorn v1.12.0.

This milestone reflects major progress in stability, operational safety, networking support, and feature maturity. Compared with earlier releases, V2 volumes are better positioned for production use, combining GA readiness with modern networking support, more precise scheduling behavior, and clearer visibility into where V2 already matches V1 behavior and where differences still matter.

[!IMPORTANT]
V2 Live Upgrade:

V2 volumes do not support live upgrades between Longhorn v1.12 patch releases and must be detached before upgrading. Support is planned when upgrading from a Longhorn v1.12 release to a Longhorn v1.13 release.

V2 Volume Attach Latency at Scale:

In environments with a growing number of attached V2 volumes, increased attach latency has been observed for subsequent volumes. Initial analysis suggests this may be related to NVMe-TCP connection handling at scale, though the precise layer, SPDK user-space or Linux kernel, has not yet been identified. Further investigation is in progress. For follow-up status, see Issue #​13241.

ARM64 NVMe-backed Block-Type Node Disk Limitation:

On ARM64 systems, V2 volumes may experience stuck I/O when SPDK is configured with two or more CPU cores and node disks use the NVMe driver. The root cause may lie in either the Linux kernel or SPDK itself, and further investigation is required. As a workaround, use AIO-backed node disks instead of NVMe-backed node disks on ARM64 systems. For follow-up status, see Issue #​13243.

For a summary of the current V1 and V2 volume behavior differences and feature parity, see V1 and V2 Volume Feature Support.

Looking ahead, the roadmap remains active: fast volume cloning for V2 data engine (#​12552) and Sharding Storage (Experimental Feature) (#​1061) are planned for Longhorn v1.12.1.

Smarter Provisioning and Modern Networking
Topology-Aware PV Node Affinity Control

Longhorn v1.12.0 adds the csi-allowed-topology-keys setting and strictTopology StorageClass parameter for more precise control of PV nodeAffinity. These options allow users to limit which topology keys are propagated and, with WaitForFirstConsumer, pin the PV to the selected node topology when needed.

GitHub Issue #​12684

IPv6 Support for V2 Volumes

V2 volumes now support single-stack IPv6 Kubernetes clusters.

GitHub Issue #​10928

Dual-Stack Cluster Support

Longhorn now supports dual-stack Kubernetes clusters when all nodes are configured with their IP families in the same order, either all IPv4-first or all IPv6-first. This applies to both the V1 and V2 data engines.

Warning: Dual-stack clusters with mixed IP family ordering across nodes are not supported and may result in connectivity failures between replicas and the engine.

GitHub Issue #​11531

Better Operations and Observability
Default CPU Allocation

Longhorn v1.12.0 changes the default data-engine-cpu-mask from 0x1, one CPU core, to 0x3, two CPU cores. V2 Data Engine uses a busy-polling reactor model where the master reactor handles both I/O polling and management RPCs. When only a single core is assigned, heavy I/O workloads can delay or starve RPC processing, resulting in increased latency, timeout events, and operational instability.

Assigning two or more cores allows I/O and management tasks to run on separate reactors, improving responsiveness and operational stability.

GitHub Issue #​13237

On-Demand Snapshot Checksum Calculation

Longhorn v1.12.0 adds longhornctl support for triggering on-demand snapshot checksum calculation. The command can target a specific volume, all volumes on a specific node, or all volumes in the cluster, and the checksum operation runs asynchronously in the background.

GitHub Issue #​11442

Toggle Kubernetes Metrics Server Integration

Longhorn v1.12.0 adds the Kubernetes Metrics Server Metrics Enabled setting to disable metrics-server-dependent metrics when the Kubernetes Metrics Server API is unavailable. This reduces repeated scrape warnings and unnecessary API calls while preserving other Longhorn metrics.

GitHub Issue #​13011

Longhorn Manager Memory Optimization

Longhorn v1.12.0 optimizes longhorn-manager informer caching to reduce memory usage, especially in large clusters with high pod counts. This lowers cluster-wide memory overhead caused by repeated caching of non-Longhorn pod data on every manager instance.

GitHub Issue #​12771

Configurable Engine Image Pod Liveness Probe

Longhorn v1.12.0 adds settings to configure the engine-image DaemonSet liveness probe period, timeout, and failure threshold. These settings help reduce unnecessary engine-image pod restarts on resource-constrained clusters, especially during upgrades or transient CPU spikes.

GitHub Issue #​12846

Critical Stability Fixes
Instance Manager Stability During Replica Rebuild Storms

Longhorn v1.12.0 fixes an instance-manager panic that could occur during replica rebuild storms. In affected environments, the panic could terminate all iSCSI targets served by the instance-manager and trigger cascading volume detachments across multiple PVCs.

GitHub Issue #​13087

Replica Rebuild Progress Reporting

Longhorn v1.12.0 fixes a replica rebuild progress reporting bug that could display values greater than 100% after file-sync retries on unstable networks. Progress accounting is now reset correctly for retried files, so rebuild progress remains within the valid 0% to 100% range.

GitHub Issue #​12949

Replica Auto-Balance Scheduling Loop

Longhorn v1.12.0 fixes a regression in replica auto-balance that could trigger a repeated replica create-and-delete loop when Replica Auto Balance was set to best-effort. In affected clusters, Longhorn could keep scheduling an extra replica instead of stabilizing at the configured replica count.

GitHub Issue #​12926

Replica CR Leak During Failed Local Scheduling

Longhorn v1.12.0 fixes a replica scheduling issue where large numbers of stopped Replica CRs could accumulate when dataLocality was set to best-effort and the node did not have enough eligible local disk space for another replica. In affected clusters, recurring reconciliation could keep creating placeholder Replica CRs instead of reusing a single failed-schedule placeholder.

GitHub Issue #​13152

CSI Storage Capacity Tracking

Longhorn v1.12.0 fixes a CSIStorageCapacity scheduling issue that could cause compute nodes without Longhorn disks to report zero capacity and be rejected by WaitForFirstConsumer scheduling. In affected clusters with separated compute and storage nodes, new PVCs could remain pending even though eligible storage was available on storage nodes.

GitHub Issue #​12807

Encrypted Volume Size Correction

Longhorn v1.12.0 pre-allocates the 16 MiB LUKS2 header in the replica backend file for encrypted volumes, so the dm-crypt device now exposes the full requested size to workloads after the engine image is upgraded.

This change also introduces an upgrade constraint for encrypted migratable volumes: live migration is not supported when using an engine image with a CLI API version older than 12. Upgrade the engine image to v1.12.0 or later before attempting live migration of encrypted volumes.

GitHub Issue #​9205

UBLK Frontend Kernel Limitation

The UBLK frontend for V2 data engine volumes remains experimental and is only functional on Linux kernels below v6.17. On kernel v6.17.0 and above, UBLK fails due to upstream UBLK API changes that cause EINVAL errors when starting UBLK devices.

GitHub Issue #​11977

Installation

[!IMPORTANT]
Ensure that your cluster is running Kubernetes v1.25 or later before installing Longhorn v1.12.0.

You can install Longhorn using a variety of tools, including Rancher, Kubectl, and Helm. For more information about installation methods and requirements, see Quick Installation in the Longhorn documentation.

Upgrade

[!IMPORTANT]
Ensure that your cluster is running Kubernetes v1.25 or later before upgrading from Longhorn v1.11.x to v1.12.0.

Longhorn only allows upgrades from supported versions. For more information about upgrade paths and procedures, see Upgrade in the Longhorn documentation.

Post-Release Known Issues

For information about issues identified after this release, see Release-Known-Issues.

Resolved Issues in this release

Highlight
Feature
Improvement
Bug

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 3e98352 to b59fd3a Compare August 20, 2024 13:07
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.6.2 chore(deps): update dependency longhorn/longhorn to v1.7.0 Aug 20, 2024
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from b59fd3a to 445b6df Compare September 4, 2024 11:34
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.7.0 chore(deps): update dependency longhorn/longhorn to v1.7.1 Sep 4, 2024
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 445b6df to c4b50e3 Compare October 18, 2024 08:29
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.7.1 chore(deps): update dependency longhorn/longhorn to v1.7.2 Oct 18, 2024
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from c4b50e3 to a0a50a4 Compare January 22, 2025 09:42
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.7.2 chore(deps): update dependency longhorn/longhorn to v1.8.0 Jan 22, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from a0a50a4 to e4f9de7 Compare March 5, 2025 12:08
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.8.0 chore(deps): update dependency longhorn/longhorn to v1.8.1 Mar 5, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from e4f9de7 to 565182b Compare May 27, 2025 16:37
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.8.1 chore(deps): update dependency longhorn/longhorn to v1.9.0 May 27, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 565182b to 20f8019 Compare July 23, 2025 08:48
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.9.0 chore(deps): update dependency longhorn/longhorn to v1.9.1 Jul 23, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 20f8019 to f84ca33 Compare September 24, 2025 09:44
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.9.1 chore(deps): update dependency longhorn/longhorn to v1.9.2 Sep 24, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from f84ca33 to f87ff2c Compare September 25, 2025 09:12
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.9.2 chore(deps): update dependency longhorn/longhorn to v1.10.0 Sep 25, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from f87ff2c to e21f98b Compare November 12, 2025 14:09
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.10.0 chore(deps): update dependency longhorn/longhorn to v1.10.1 Nov 12, 2025
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from e21f98b to d8dd8a0 Compare January 28, 2026 13:55
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.10.1 chore(deps): update dependency longhorn/longhorn to v1.10.2 Jan 28, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from d8dd8a0 to 933f618 Compare January 29, 2026 08:56
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.10.2 chore(deps): update dependency longhorn/longhorn to v1.11.0 Jan 29, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 933f618 to 82fec4a Compare March 11, 2026 02:58
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.11.0 chore(deps): update dependency longhorn/longhorn to v1.11.1 Mar 11, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 82fec4a to 9e7135f Compare March 14, 2026 17:04
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.11.1 chore(deps): update dependency longhorn/longhorn to v1.11.0 Mar 14, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 9e7135f to 4613dbd Compare March 16, 2026 10:43
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.11.0 chore(deps): update dependency longhorn/longhorn to v1.11.1 Mar 16, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from 4613dbd to a6983ed Compare May 5, 2026 08:28
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.11.1 chore(deps): update dependency longhorn/longhorn to v1.11.2 May 5, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from a6983ed to e32394d Compare June 2, 2026 16:01
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.11.2 chore(deps): update dependency longhorn/longhorn to v1.12.0 Jun 2, 2026
@renovate renovate Bot changed the title chore(deps): update dependency longhorn/longhorn to v1.12.0 chore(deps): update dependency longhorn/longhorn to v1.12.1 Aug 14, 2026
@renovate
renovate Bot force-pushed the renovate/longhorn-longhorn-1.x branch from e32394d to 4e4ba1a Compare August 14, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants