发布日期: 2024-12-24
版本号: v1.6.4-rc1

本次Longhorn v1.6.4版本更新包含多项改进与问题修复,请勿尝试从任何RC/Preview/Sprint版本升级或降级,因该操作不受支持。主要更新内容如下:

改进项

  • 优化NFS版本检测机制,改为检查/etc/nfsmount.conf配置
  • 修复卷扩容卡顿问题并阻止严格本地模式+RWX卷的创建
  • 新增通过管理器设置调节系统组件日志级别的功能
  • 改进错误提示信息,将部分误导性错误降级为警告
  • 记录实例管理器Pod被删除的具体原因,优化构建耗时问题
  • 移除OpenShift镜像以精简组件

问题修复

  • 解决节点回迁后无法添加块存储的问题
  • 修复节点驱逐期间卷状态异常卡在"已挂载"状态
  • 修正备份进度统计错误及S3备份目标随机回滚问题
  • 处理iSCSI连接异常导致实例管理器重启的故障
  • 修复NFS断连后备份丢失和旧备份清理超时问题
  • 解决共享管理器节点关闭导致的RWX PVC挂载故障
  • 修复增量恢复期间DR卷重挂失败及文件系统扩容异常
  • 优化节点排空时因残留引擎进程导致的阻塞问题

其他更新

  • 修复多个CVE安全漏洞
  • 构建时更新grpc_health_probe组件至最新版本

更新内容 (中文)

请勿从/向任何 RC/Preview/Sprint 版本升级,此操作不受支持。

本版本已修复问题

改进

  • [BACKPORT][v1.6.4][改进] 改为检查 /etc/nfsmount.conf 中的 NFS 版本 9832 - @COLDTURNIP @yangchiu
  • [BACKPORT][v1.6.4][改进] 防止卷扩容操作卡死 9913 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][改进] 拒绝创建 strict-local + RWX 卷 9931 - @COLDTURNIP @yangchiu
  • [BACKPORT][v1.6.4][改进] 通过 longhorn manager 配置项设置其他系统及用户管理组件的日志级别 9618 - @yangchiu @james-munson
  • [BACKPORT][v1.6.04][改进] 将误导性错误信息调整为警告级别 9918 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][改进] 记录实例管理器 pod 被删除的原因 9888 - @derekbit @chriscchien
  • [BACKPORT][v1.6.4][改进] 优化 longhorn-manager 构建耗时 9694 - @derekbit @chriscchien
  • [BACKPORT][v1.6.4][改进] 移除 Longhorn 中镜像的 OpenShift 镜像 9599 - @derekbit @chriscchien

缺陷修复

  • [BACKPORT][v1.6.4][BUG][v1.8.x] 节点删除后重新添加无法挂载块设备 10041 -
  • [BACKPORT][v1.6.4][BUG] 节点驱逐期间分离的卷仍显示为已挂载状态 9809 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][BUG] 备份进度不应将上传失败的块计入成功计数 9792 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][BUG] ISCSI 连接突发错误及实例管理器 Pod 重启导致 Longhorn 卷断开 9890 - @yangchiu @ChanYiLin
  • [BACKPORT][v1.6.4][BUG] S3 备份目标随机回退至旧值 9589 - @c3y1huang
  • [BACKPORT][v1.6.4][BUG] 超时后旧备份未被清理 9730 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] Share manager 在节点关机后陷入停止/错误状态导致 RWX PVC 无法挂载至新节点 9855 - @yangchiu @PhanLe1010
  • [BACKPORT][v1.6.4][BUG] 测试用例 test_node_eviction_multiple_volume 在卷分离后无法重新调度副本 9867 - @yangchiu @c3y1huang
  • [BACKPORT][v1.6.4][BUG] 增量恢复期间节点启停导致 DR 卷重挂失败并进入故障状态 9802 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][BUG] RWX PVC 文件系统扩容步骤失败 9737 - @james-munson
  • [BACKPORT][v1.6.4][BUG] 测试用例 Stopped replicas on deleted nodes should not be counted as healthy replicas when draining nodes 失败 9625 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][BUG] 使用带参数的 NFS 备份目标 URL 时无法检查备份基础镜像信息 9704 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] 升级前检查 Pod 应记录失败原因 9644 - @yangchiu @james-munson
  • [BACKPORT][v1.6.4][BUG] NFS 服务断开重连后备份目标中所有备份丢失 9543 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] 因残留引擎进程导致 kubectl drain node 命令阻塞 9443 - @ejweber

其他

  • [任务] 修复 v1.6.4 的 CVE 问题 9898 - @c3y1huang
  • [BACKPORT][v1.6.4][任务] 构建时安装最新版 grpc_health_probe 9716 - @yangchiu @c3y1huang

贡献者

  • @COLDTURNIP
  • @ChanYiLin
  • @PhanLe1010
  • @c3y1huang
  • @chriscchien
  • @derekbit
  • @ejweber
  • @innobead
  • @james-munson
  • @mantissahz
  • @roger-ryao
  • @yangchiu

更新内容 (原始)

DON’T UPGRADE from/to any RC/Preview/Sprint releases because the operation is not supported.

Resolved Issues in this release

Improvement

  • [BACKPORT][v1.6.4][IMPROVEMENT] Check NFS versions in /etc/nfsmount.conf instead 9832 - @COLDTURNIP @yangchiu
  • [BACKPORT][v1.6.4][IMPROVEMENT] Prevent Volume Resize Stuck 9913 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][IMPROVEMENT] Reject strict-local + RWX volume creation 9931 - @COLDTURNIP @yangchiu
  • [BACKPORT][v1.6.4][IMPROVEMENT] Configure the log level of other system and user managed components via longhorn manager setting 9618 - @yangchiu @james-munson
  • [BACKPORT][v1.6.4][IMPROVEMENT] Change misleading error message to warning level 9918 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][IMPROVEMENT] Logging the reason why the instance manager pod is going to be deleted. 9888 - @derekbit @chriscchien
  • [BACKPORT][v1.6.4][IMPROVEMENT] Building longhorn-manager takes long time 9694 - @derekbit @chriscchien
  • [BACKPORT][v1.6.4][IMPROVEMENT] Remove mirrored openshift image from Longhorn 9599 - @derekbit @chriscchien

Bug

  • [BACKPORT][v1.6.4][BUG][v1.8.x] Unable to add block disk after node deleted and added back 10041 -
  • [BACKPORT][v1.6.4][BUG] Detached Volume Stuck in Attached State During Node Eviction 9809 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][BUG] Backup progress should not add block failed to upload to successful count 9792 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][BUG] Busrt ISCSI Connection Errors, and IM Pod Restarting to make LH Volume disconnection 9890 - @yangchiu @ChanYiLin
  • [BACKPORT][v1.6.4][BUG] S3 Backup target reverts randomly to previous value 9589 - @c3y1huang
  • [BACKPORT][v1.6.4][BUG] Old backups are not cleaned up after timeout 9730 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] Share manager is permanently stuck in stopping/error if we shutdown the node of share manager pod. This makes RWX PVC cannot attach to any new node 9855 - @yangchiu @PhanLe1010
  • [BACKPORT][v1.6.4][BUG] Test case test_node_eviction_multiple_volume failed to reschedule replicas after volume detached 9867 - @yangchiu @c3y1huang
  • [BACKPORT][v1.6.4][BUG] DR volume fails to reattach and faulted after node stop and start during incremental restore 9802 - @c3y1huang @roger-ryao
  • [BACKPORT][v1.6.4][BUG] Fail to resize RWX PVC at filesystem resizing step 9737 - @james-munson
  • [BACKPORT][v1.6.4][BUG] Test case Stopped replicas on deleted nodes should not be counted as healthy replicas when draining nodes fails 9625 - @yangchiu @derekbit
  • [BACKPORT][v1.6.4][BUG] Failed to inspect the backup backing image information if NFS backup target URL with options 9704 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] Pre-upgrade pod should event the reason for any failures. 9644 - @yangchiu @james-munson
  • [BACKPORT][v1.6.4][BUG] All Backups are lost in the Backup Target if the NFS Service Disconnects and Reconnects again 9543 - @yangchiu @mantissahz
  • [BACKPORT][v1.6.4][BUG] kubectl drain node is blocked by unexpected orphan engine processes 9443 - @ejweber

Misc

  • [TASK] Fix CVE issues for v1.6.4 9898 - @c3y1huang
  • [BACKPORT][v1.6.4][TASK] Install the latest grpc_health_probe at build time 9716 - @yangchiu @c3y1huang

Contributors

  • @COLDTURNIP
  • @ChanYiLin
  • @PhanLe1010
  • @c3y1huang
  • @chriscchien
  • @derekbit
  • @ejweber
  • @innobead
  • @james-munson
  • @mantissahz
  • @roger-ryao
  • @yangchiu

下载链接