发布日期: 2024-09-04
版本号: v1.7.1

Longhorn v1.7.1 版本主要针对系统质量、稳定性和弹性进行了改进与问题修复。安装要求集群运行 Kubernetes v1.21 或更高版本,支持通过 Rancher、Kubectl 和 Helm 部署。升级时需确保从 Longhorn v1.6.x 或 v1.7.x(低于 v1.7.0)版本进行,且集群同样需满足 Kubernetes 版本要求。

此版本弃用了环境检查脚本(计划在 v1.8.0 移除),建议改用 Longhorn CLI。修复的改进包括优化 Longhorn CLI 安装 cryptsetup、增强副本超时处理及检查主机内核模块 dm_crypt。关键问题修复涉及安全漏洞、备份策略异常导致的系统备份失败、Azure 存储驱动文件下载后未关闭连接、卷副本重建失败、节点禁用时资源校验错误、卷挂载状态异常等。

此外,解决了卸载任务中的日志错误、存储网络配置引起的 NFS 端点错误,以及节点存在已挂载卷时的静默故障等问题。用户可参考文档了解版本兼容性变化及已知问题。该版本由多位贡献者共同完成。

更新内容 (中文)

Longhorn v1.7.1 版本说明

Longhorn 1.7.1 引入了多项改进与错误修复,旨在提升系统质量、容错能力和稳定性。

Longhorn 团队感谢您的贡献,并期待收到关于此版本的反馈。

[!NOTE] 有关版本相关术语的更多信息,请参阅版本说明

安装

[!IMPORTANT] 在安装 Longhorn v1.7.1 前,请确保集群运行 Kubernetes v1.21 或更高版本。

您可通过多种工具安装 Longhorn,包括 Rancher、Kubectl 和 Helm。有关安装方法和要求的更多信息,请参阅 Longhorn 文档中的快速安装

升级

[!IMPORTANT] 从 Longhorn v1.6.x 或 v1.7.x (< v1.7.0) 升级至 v1.7.1 前,请确保集群运行 Kubernetes v1.21 或更高版本。

Longhorn 仅支持从受控版本升级。有关升级路径和流程的更多信息,请参阅 Longhorn 文档中的升级指南

弃用与不兼容性

环境检查脚本的功能与 Longhorn CLI(自 v1.7.0 起可用)存在重叠。因此,该脚本自 v1.7.0 起被弃用,并计划在 v1.8.0 中移除。

有关重要变更的信息(包括功能不兼容性、弃用和移除),请参阅 Longhorn 文档中的重要说明

发布后已知问题

有关本版本发布后识别的问题,请参阅发布已知问题

已解决的问题

改进

  • [BACKPORT][v1.7.1][IMPROVEMENT] Longhorn CLI 应安装 cryptsetup 9316 - @mantissahz @roger-ryao
  • [BACKPORT][v1.7.1][IMPROVEMENT] 最后副本超时的容错处理 9275 - @ejweber @chriscchien
  • [BACKPORT][v1.7.1][IMPROVEMENT] 检查主机内核模块 dm_crypt 9310 - @mantissahz

错误修复

  • [BACKPORT][v1.7.1][BUG] 修复 v1.7.1 RC 镜像中的安全问题 9363 - @c3y1huang
  • [BACKPORT][v1.7.1][BUG] 升级 Longhorn 时应将 backing image 的 minNumberOfCopies 设为 1 9353 - @ChanYiLin @chriscchien
  • [BACKPORT][v1.7.1][BUG] 当卷备份策略设为 Always 时系统备份失败且 DR 卷进入附加-分离循环 9333 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.7.1][BUG] [备份存储] Azure 备份存储驱动需在下载文件后关闭读取器 9282 - @yangchiu @mantissahz
  • [BACKPORT][v1.7.1][BUG] 无法通过 DNS 主机名访问 azurite 备份存储 9341 - @mantissahz
  • [BACKPORT][v1.7.1][BUG] 从 v1.7.0 升级至 v1.7.1-rc1 后 v1 卷副本重建失败 9332 - @PhanLe1010 @chriscchien
  • [BACKPORT][v1.7.1][BUG] v2 数据引擎设置校验未考虑禁用节点的大页内存检查 9320 - @tserong @roger-ryao
  • [BACKPORT][v1.7.1][BUG] 升级至 1.7.0 后部分卷卡在「附加中」状态 9270 - @ChanYiLin @roger-ryao
  • [BACKPORT][v1.7.1][BUG] 卸载作业中出现错误日志 9304 - @ChanYiLin @chriscchien
  • [BACKPORT][v1.7.1][BUG] 启用/禁用存储网络后 RWX 卷的 NFS 端点错误 9273 - @Vicente-Cheng @roger-ryao
  • [BACKPORT][v1.7.1][BUG] 卷卡在降级状态 9285 - @PhanLe1010 @chriscchien
  • [BACKPORT][v1.7.1][BUG] 当节点存在已附加卷时 Longhorn 静默失败 9210 - @ejweber @chriscchien

贡献者

  • @ChanYiLin
  • @PhanLe1010
  • @Vicente-Cheng
  • @c3y1huang
  • @chriscchien
  • @ejweber
  • @innobead
  • @mantissahz
  • @roger-ryao
  • @tserong
  • @yangchiu
  • @jhkrug
  • @jillian-maroket
  • @rebeccazzzz
  • @forbesguthrie
  • @asettle

更新内容 (原始)

Longhorn v1.7.1 Release Notes

Longhorn 1.7.1 introduces several improvements and bug fixes that are intended to improve system quality, resilience, and stability.

The Longhorn team appreciates your contributions and expects to receive feedback regarding this release.

[!NOTE] For more information about release-related terminology, see Releases.

Installation

[!IMPORTANT] Ensure that your cluster is running Kubernetes v1.21 or later before installing Longhorn v1.7.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.21 or later before upgrading from Longhorn v1.6.x or v1.7.x (< v1.7.0) to v1.7.1.

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

Deprecation & Incompatibilities

The functionality of the environment check script overlaps with that of the Longhorn CLI, which is available starting with v1.7.0. Because of this, the script is deprecated in v1.7.0 and is scheduled for removal in v1.8.0.

For information about important changes, including feature incompatibility, deprecation, and removal, see Important Notes in the Longhorn documentation.

Post-Release Known Issues

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

Resolved Issues

Improvement

  • [BACKPORT][v1.7.1][IMPROVEMENT] Longhorn CLI should install cryptsetup 9316 - @mantissahz @roger-ryao
  • [BACKPORT][v1.7.1][IMPROVEMENT] Resilience handling for the last replica timeout 9275 - @ejweber @chriscchien
  • [BACKPORT][v1.7.1][IMPROVEMENT] Check kernel module dm_crypt on host machines 9310 - @mantissahz

Bug

  • [BACKPORT][v1.7.1][BUG] Fix security issues in v1.7.1 RC images 9363 - @c3y1huang
  • [BACKPORT][v1.7.1][BUG] should set backing image minNumberOfCopies to 1 when upgrading Longhorn 9353 - @ChanYiLin @chriscchien
  • [BACKPORT][v1.7.1][BUG] System Backup Fails and DR Volume Enters Attach-Detach Loop When Volume Backup Policy is Set to Always 9333 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.7.1][BUG] [Backupstore] Need to close the reader after downloading files for the Azure backup store driver. 9282 - @yangchiu @mantissahz
  • [BACKPORT][v1.7.1][BUG] Unable to access azurite backup store by DNS hostname 9341 - @mantissahz
  • [BACKPORT][v1.7.1][BUG] v1 volume replica rebuild fail after upgrade from v1.7.0 to v1.7.1-rc1 9332 - @PhanLe1010 @chriscchien
  • [BACKPORT][v1.7.1][BUG] v2-data-engine setting validator doesn’t take disabled nodes into account when checking hugepages 9320 - @tserong @roger-ryao
  • [BACKPORT][v1.7.1][BUG] Some volumes stuck in “Attaching” state after upgrade to 1.7.0 9270 - @ChanYiLin @roger-ryao
  • [BACKPORT][v1.7.1][BUG] error logs appeared in uninstallation job 9304 - @ChanYiLin @chriscchien
  • [BACKPORT][v1.7.1][BUG] Incorrect NFS endpoint after enable/disable storage network for RWX volume 9273 - @Vicente-Cheng @roger-ryao
  • [BACKPORT][v1.7.1][BUG] Volume stuck in degraded 9285 - @PhanLe1010 @chriscchien
  • [BACKPORT][v1.7.1][BUG] LH fails silently when node has attached volumes 9210 - @ejweber @chriscchien

Contributors

  • @ChanYiLin
  • @PhanLe1010
  • @Vicente-Cheng
  • @c3y1huang
  • @chriscchien
  • @ejweber
  • @innobead
  • @mantissahz
  • @roger-ryao
  • @tserong
  • @yangchiu
  • @jhkrug
  • @jillian-maroket
  • @rebeccazzzz
  • @forbesguthrie
  • @asettle

下载链接