DON'T UPGRADE from/to any RC/Preview releases, because the operation is not supported.
Release Note
v1.2.0 Preview 1 released! 🎆
This release includes important enhancements and lots of bug fixes as below highlighted. Thanks for all the contributions!
Installation
Longhorn supports 3 installation ways including Rancher catalog, Kubectl, and Helm. Follow the installation instructions here.
Upgrade
The live upgrade from v1.1.* is not supported until the GA release. When available, follow the upgrade instructions here.
Highlights
- [FEATURE] Pause replica rebuild for server maintenance (307) - @khushboo-rancher
- [FEATURE] Default recurring backup policy (467) - @c3y1huang
- [FEATURE] Support automatic rebalance the replicas based on soft anti-affinity (587) - @kaxing @c3y1huang
- [FEATURE] Support backup encryption (902) - @joshimoo
- [FEATURE] Volume cloning support (1815) - @PhanLe1010
- [FEATURE] PV Encryption (1859) - @joshimoo
- [FEATURE] Speed up rebuilding by getting checksum simultaneously (1948) - @joshimoo @khushboo-rancher
- [BUG] Volume Attachment Recovery Policy feature conflicts with Pod Deletion Policy (2060) - @joshimoo @smallteeths
- [FEATURE] Enhance Longhorn data plane on low performance environment (spinning disk, 1GBps network, low CPU etc) (2206) - @keithalucas @khushboo-rancher
- [FEATURE] Longhorn should support multi-network K8s clusters (storage network) (2285) - @jenting
- [FEATURE] Create backing image from volume (2403) - @shuo-wu
- [FEATURE] Backing image upload (2404) - @shuo-wu
- [BUG] Application couldn't mount the volume after expanded the volume (2422) - @cclhsu @khushboo-rancher
- [BUG] DR restored data is faulty in sles15-sp2 (2503) - @c3y1huang @khushboo-rancher
- [BUG] Failed rebuilding a large replica of 3TB (2507) - @joshimoo @khushboo-rancher
- [BUG] Recurring jobs never run again when the volume is attached after being detached for a long time (2513) - @kaxing @PhanLe1010
- [BUG] Volumes are not properly mounted/unmounted when kubelet restarts (2629) - @joshimoo @khushboo-rancher
Enhancements
- [REFACTORING] Longhorn Backup refactoring (1761) - @jenting
- [FEATURE] instance-manager compatibility with Cluster Autoscaler (2203) -
- [FEATURE] automatic sucessful backups should only retain the last snapshot (2231) - @cclhsu @kaxing @PhanLe1010
- [FEATURE] Add a new settings that allows Longhorn to evict replicas automatically when a node is drained (2238) -
- [FEATURE] Recurring snapshot/backup job supports imagePullSecrets (2432) -
- [ENHANCEMENT] Reduce the ws data transfer for event resource (2433) -
- [QUESTION] Minimal necessary access rights for the longhorn cluster role and service account (2442) -
- [FEATURE] concurrent rebuilding replicas limit (2460) - @joshimoo
- [FEATURE] Backing image enhancement (2530) - @kaxing @shuo-wu
- [FEATURE] Support Read only volumes (PVC/PV) and mounts (2575) - @joshimoo
- [ENHANCEMENT] Add labels for created cron jobs / backup pods for recurring jobs (2701) - @kaxing @PhanLe1010
- [FEATURE] Enable pprof endpoints in longhorn manager for troubleshooting (2715) - @kaxing @joshimoo
- [FEATURE] ui show exact time, not only "xx days ago" (2808) - @kaxing @smallteeths
Performance
- [BUG] Daemon set takes more time to come up with RWX PVC (2102) - @c3y1huang
- [BUG] Pod mount took a long time even PV/PVC bound (2590) -
- [BUG] full data over WS at per 30/seconds interval seems useless (2591) - @c3y1huang @khushboo-rancher
- [BUG] List order caused full data transfer when no resource updated. (2646) - @c3y1huang @khushboo-rancher
- [BUG] List order caused full backup image data transfer when no resource updated. (2672) - @kaxing @c3y1huang
- [BUG] Reduce Node Status updates by truncating disk StorageAvailable (2680) - @kaxing @joshimoo
- [TASK] Create a performance and scalability report against 1.2.0 (2811) -
Bugs
- [BUG] Investigate engine integration test failure - restore_with_frontend: can only restore backup from replica in mode RW, got ERR (1628) - @keithalucas
- [TASK] Fix integration test for ARM64 (1990) - @meldafrawi
- [BUG] Scheduled backups didn't complete and leave tons of snapshots behind (2029) - @shuo-wu
- [BUG] Cannot detach the restored volume when there is a node goes down during restoring (2103) -
- [BUG] a stopped replica on a removed node should not be counted as a healthy replica for the drain setting (2237) -
- [BUG] Backup fails to complete due to timeout causing duplicate backups (2278) - @shuo-wu
- [BUG] /engineUpgrade API error handling (2289) - @PhanLe1010 @khushboo-rancher
- [BUG] cannot restart engine image daemonset sometimes (2351) -
- [BUG] Minior typo in a lhv yaml stop entire cluster from working (2423) -
- [BUG] Backup Target - NFS - the k8s node supports only 4.0 - an incorrect mount option was specified (2438) -
- [BUG] Priority class not getting set for recurring jobs (2444) - @PhanLe1010 @khushboo-rancher
- [BUG] Concurrent expanding volume and upgrade longhorn-engine image (2471) -
- [BUG] For failed backing image on the disks, the state shows as Healthy on the Longhorn-UI (2505) -
- [BUG] The bulk delete for backing image button doesn't work if there are few images don't satisfy deletion condition. (2506) -
- [BUG] Workload cannot recover after tainting node (2517) -
- [BUG] DR volume inconsistent data on SUSE Linux Enterprise Server 15 SP2 (2520) -
- [BUG] Backing image can't be delete if key more than 63 characters (2522) - @shuo-wu @khushboo-rancher
- [BUG] After network disconnection replicas cannot be reattached (2561) - @meldafrawi @shuo-wu
- [BUG] Name column in event table on the volume detail page should be bigger. (2567) - @smallteeths @khushboo-rancher
- [BUG] Detach button on volume detail page doesn't work for a volume attach to a pod. (2587) - @smallteeths @khushboo-rancher
- [BUG] UI mutiple selections should be released after performing action (2595) - @smallteeths @khushboo-rancher
- [BUG] Unable to provide own tls certificate for ingress using helm chart (2615) - @kaxing @jenting
- [BUG] Failure to create a volume on a retry since v1.1.1 (2624) - @PhanLe1010 @khushboo-rancher
- [BUG] Fix missed deepcopy cases for Volume.Status.KubernetesStatus and EngineStatus.Snapshots.Snapshot (2631) - @joshimoo
- [BUG] Normalize pod order for v.status.KubernetesStatus updates (2632) - @joshimoo @khushboo-rancher
- [BUG] Fix AnnotateAWSIAMRoleArn modifying lister returned pod instances directly (2633) - @joshimoo @khushboo-rancher
- [BUG] Volume stuck in Detaching when detached during rebuild / snapshot coalescing (EXT4) (2640) - @joshimoo
- [BUG] UI multiple selections should be released after performing action on the backup page (2652) - @kaxing @smallteeths
- [BUG] kubectl drain node gets stuck forever (2673) - @cclhsu @khushboo-rancher
- [BUG] Improve usage of Readonly listers where we only read (2681) - @joshimoo
- [BUG]NPE when listing backups of a backup volume (2683) - @kaxing @jenting
- [BUG] volume creation with an invalid FromBackup should fail (2686) - @kaxing @joshimoo
- [BUG] Expansion of volume is allowed beyond the available allocated storage on the node. (2689) -
- [UI] 'Bulk Update Recurring Snapshot and Backup' dialog says 'No Data' (2691) - @kaxing @smallteeths
- [BUG] Liveness/Readiness Probe timeoutSeconds at Kubernetes v1.20+ (2699) - @kaxing @jenting
- [BUG] Backup / restore with AWS IAM Role fails with NoCredentialProviders (2718) - @jenting
- [BUG] Failed to mount pods when a customized kubelet root directory is set (2746) - @shuo-wu
- [BUG] High CPU utilization for Longhorn manager sometimes due to exhaustion of all the available sockets because of socket leaking log stream (2778) - @meldafrawi @PhanLe1010
- [BUG] longhorn-engine image no longer contains longhorn-instance manager (2796) - @innobead @khushboo-rancher
- [BUG] allow volume migration when volume is degraded (harvester vm) (2805) - @shuo-wu
Misc
- [TASK] Minimum resource requirement investigation (1691) - @kaxing @PhanLe1010 @khushboo-rancher
- [BUG] After upgrade to 1.1.0 some old managers still running (2144) - @shuo-wu
- [BUG] Docs search tool only partially working (2155) - @jenting @khushboo-rancher
- [BUG] Newly installed 1.1.0 on Kubernetes and UI editing broken (2156) - @jenting
- [TASK] Test framework: add the ability to run integration tests using dev images (2248) - @meldafrawi
- [DOC] Reference Architecture and Sizing Guidelines (2598) - @kaxing @PhanLe1010
- [TASK] Fix longhorn-ui CVE-2021-30139 (2622) - @meldafrawi
- [TASK] Fix Longhorn CSI images with CVE issues (2675) - @meldafrawi
- [TASK] Implement Replica Auto Balance Settings (2676) - @kaxing @smallteeths
- [TEST] Fix some failed core-tests caused by 1.1.2 change (2692) - @cclhsu
- [TEST] replica_auto_balance tests are unstable (2716) - @c3y1huang
- [TASK] Update Longhorn UI base image for v1.1.1, v1.1.2, and master (2734) - @meldafrawi
- [TASK] Raise minimal Longhorn supported Kubernetes version for v1.2.0 (2755) -
- [TASK] Bump Kubernetes, API version group, CSI component's dependency version (2757) - @PhanLe1010
- [TASK] Make the release process staged automation (2771) -
- [DOC] Add document about how to deal with filesystem corruption (2779) - @c3y1huang