v10.2.4 jewel 发布
TheAnalyst
此点版本修复了 RBD 镜像、RGW 多站点、CephFS 和 RADOS 中的几个重要错误。
我们建议所有 v10.2.x 用户升级。在从 hammer 升级时,请注意以下事项:
从 hammer 升级 ¶
当包含 jewel MON 的集群中最后一个 hammer OSD 升级到 jewel 时,从 10.2.4 开始,jewel MON 将发出此警告:“all OSDs are running jewel or later but the ‘require_jewel_osds’ osdmap flag is not set”(所有 OSD 都在运行 jewel 或更高版本,但未设置“require_jewel_osds”osdmap 标志),并将集群健康状态更改为 HEALTH_WARN。
这是向管理员发出信号,要求执行“ceph osd set require_jewel_osds” - 通过执行此操作,升级路径完成,并且不能再向集群添加 pre-Jewel OSD。
重要变更 ¶
有关更详细的信息,请参阅完整的变更日志。
- build/ops: aarch64: 基于编译器的 crc32 扩展 CPU 类型检测已损坏 (issue#17516, pr#11492, Alexander Graf)
- build/ops: 允许在禁用 LDAP 的情况下构建 RGW (issue#17312, pr#11478, Daniel Gryniewicz)
- build/ops: backport ‘logrotate: Run as root/ceph’ (issue#17381, pr#11201, Boris Ranto)
- build/ops: ceph 将文件安装在 %_udevrulesdir 中,但它并不拥有该目录 (issue#16949, pr#10862, Nathan Cutler)
- build/ops: ceph-osd-prestart.sh 在数据目录不存在时以令人困惑的方式失败 (issue#17091, pr#10812, Nathan Cutler)
- build/ops: 在 openSUSE 构建中禁用 LTTng-UST (issue#16937, pr#10794, Michel Normand)
- build/ops: i386 tarball gitbuilder 在 master 上失败 (issue#16398, pr#10855, Vikhyat Umrao, Kefu Chai)
- build/ops: 在 “make dist” tarball 中包含更多文件 (issue#17560, pr#11431, Ken Dreyer)
- build/ops: CINIT_FLAG_DEFER_DROP_PRIVILEGES 的值不正确 (issue#16663, pr#10278, Casey Bodley)
- build/ops: 从 initscript 中删除 SYSTEMD_RUN (issue#7627, issue#16441, issue#16440, pr#9872, Vladislav Odintsov)
- build/ops: systemd: 向 rbdmap.service 文件添加安装部分 (issue#17541, pr#11158, Jelle vd Kooij)
- common: 即使功能已启用/禁用,也允许启用/禁用功能 (issue#16079, pr#11460, Lu Shi)
- common: Log.cc: 为 syslog 调用分配 LOG_INFO 优先级 (issue#15808, pr#11231, Brad Hubbard)
- common: 如果重播代理操作,则不应导致错误消息 (issue#16130, pr#11461, Vikhyat Umrao)
- common: 如果所有者为代理维护操作发送 -ENOTSUPP,则请求独占锁 (issue#16171, pr#10784, Jason Dillaman)
- common: msgr/async: Messenger 线程长时间持有锁的风险 (issue#15758, pr#10761, Wei Jin)
- doc: 修复 rsize 和 rasize 的描述 (issue#17357, pr#11171, Andreas Gerstmayr)
- filestore: 在 scrub 期间可能陷入无限循环 (issue#17859, pr#12001, Sage Weil)
- fs: snaptest-git-ceph.sh 中的故障 (issue#17172, pr#11419, Yan, Zheng)
- fs: 检测到元数据损坏时记录路径和 ino (issue#16973, pr#11418, John Spray)
- fs: client: FAILED assert(root_ancestor->qtree == __null) (issue#16066, issue#16067, pr#10107, Yan, Zheng)
- fs: client: 为 get_root 添加缺少的 client_lock (issue#17197, pr#10921, Patrick Donnelly)
- fs: client: 修复打开的 inode 的关机 (issue#16764, pr#10958, John Spray)
- fs: client: nlink 计数未正确维护 (issue#16668, pr#10877, Jeff Layton)
- fs: multimds: 在启动时在 ceph.conf 中设置 max_mds 时不需要 allow_multimds (issue#17105, pr#10997, Patrick Donnelly)
- librados: 来自 ceph::crypto (WITH_NSS) 的内存泄漏 (issue#17205, pr#11409, Casey Bodley)
- librados: 修改 Pipe::connect() 返回错误代码 (issue#15308, pr#11193, Vikhyat Umrao)
- librados: 删除新的 setxattr 重载以避免破坏 C++ ABI (issue#18058, pr#12207, Josh Durgin)
- librbd: 无法禁用日志记录或删除非镜像、非主映像 (issue#16740, pr#11337, Jason Dillaman)
- librbd: 写入后丢弃可能导致断言失败 (issue#17695, pr#11644, Jason Dillaman)
- librbd::Operations: 更新通知失败:(2) 没有此类文件或目录 (issue#17549, pr#11420, Jason Dillaman)
- mds: 在卸载期间重新连接时 Client::_invalidate_kernel_dcache 崩溃 (issue#17253, pr#11414, Yan, Zheng)
- mds: 重复的损坏表条目 (issue#17173, pr#11412, John Spray)
- mds: dirfrag.sh 中的故障 (issue#17286, pr#11416, Yan, Zheng)
- mds: snaptest-git-ceph.sh 中的故障 (issue#17271, pr#11415, Yan, Zheng)
- mon: Ceph Status - 分段错误 (issue#16266, pr#11408, Brad Hubbard)
- mon: 如果设置了 full 标志,则在 ceph status 中显示 full 标志 (issue#15809, pr#9388, Vikhyat Umrao)
- mon: Error EINVAL: 正在移除 mon.a at 172.21.15.16:6789/0, 将有 1 个监视器 (issue#17725, pr#12267, Joao Eduardo Luis)
- mon: OSDMonitor: 仅在 inst 匹配时根据 up_from 拒绝 MOSDBoot (issue#17899, pr#12067, Samuel Just)
- mon: OSDMonitor: 缺少 nearfull 标志集 (issue#17390, pr#11272, Igor Podoski)
- mon: 升级 0.94.6 -> 0.94.9 使 mon 节点网络饱和 (issue#17365, issue#17386, pr#11679, Sage Weil, xie xingguo)
- mon: ceph mon 在设置 crush_ruleset ceph 10.2.2 后分段错误 (issue#16653, pr#10861, song baisen)
- mon: crash: crush/CrushWrapper.h: 940: FAILED assert(successful_detach) (issue#16525, pr#10496, Kefu Chai)
- mon: 不要在无效的 standby_for_fscid 上崩溃 (issue#17466, pr#11389, John Spray)
- mon: 修复缺少的 osd 元数据(再次) (issue#17685, pr#11642, John Spray)
- mon: osdmonitor: 解耦 adjust_heartbeat_grace 和 min_down_reporters (issue#17055, pr#10757, Zengran Zhang)
- mon: ceph df 的 %USED 不正确 (issue#16933, pr#10860, Kefu Chai)
- osd: 根据功能调整 OSDMap 编码 (issue#18015, pr#12167, Sage Weil)
- osd: PG::_update_calc_stats 对于 CRUSH_ITEM_NONE up set items 不正确 (issue#16998, pr#10883, Samuel Just)
- osd: PG::choose_acting valgrind 错误或 ./common/hobject.h: 182: FAILED assert(!max || (*this == hobject_t(hobject_t::get_max()))) (issue#13967, pr#10885, Tao Chang)
- osd: journal::Replay 关机期间潜在崩溃 (issue#16433, pr#10645, Jason Dillaman)
- osd: 在 heartbeat_check 日志消息中添加 peer_addr (issue#15762, pr#9739, Vikhyat Umrao, Sage Weil)
- osd: 调整 scrub 边界以适应没有 SnapSet 的对象 (issue#17470, pr#11311, Samuel Just)
- osd: 如果一个或多个 OSD 处于 out 状态,ceph osd df 不会正确显示汇总信息 (issue#16706, pr#10759, xie xingguo)
- osd: journal: 不要过早地将对象记录器标记为已关闭 (issue#17590, pr#11634, Jason Dillaman)
- osd: mark_all_unfound_lost() 留下未应用的更改 (issue#16156, pr#10886, Samuel Just)
- osd: ObjectCacher::FlusherThread 中的分段错误 (issue#16610, pr#10864, Yan, Zheng)
- qa: 从 librados 升级测试中删除 EnumerateObjects (pr#11728, Josh Durgin)
- rbd: 禁用具有注册对等体的池镜像模式会导致镜像映像孤立 (issue#16984, pr#10857, Jason Dillaman)
- rbd: ImageWatcher: 在 C_UnwatchAndFlush 中使用后释放 (issue#17289, issue#17254, pr#11466, Jason Dillaman)
- rbd: 防止从非主镜像映像创建克隆 (issue#16449, pr#10650, Mykola Golub)
- rbd: RBD 应限制父/克隆上的镜像启用/禁用操作 (issue#16056, pr#11459, zhuangzeqiang)
- rbd: TestJournalReplay: 零星的 assert(m_state == STATE_READY || m_state == STATE_STOPPING) 失败 (issue#17566, pr#11590, Jason Dillaman)
- rbd: bench io-size 不应大于映像大小 (issue#16967, pr#10796, Jason Dillaman)
- rbd: ceph 10.2.2 rbd status on image format 2 returns (2) No such file or directory (issue#16887, pr#10652, Jason Dillaman)
- rbd: helgrind: TestLibRBD.TestIOPP potential deadlock closing an image with read-ahead enabled (issue#17198, pr#11463, Jason Dillaman)
- rbd: librbdpy 中的 image.stat() 调用有时失败 (issue#17310, pr#11464, Jason Dillaman)
- rbd: krbd qa scripts and concurrent.sh test fix (issue#17223, pr#11018, Ilya Dryomov)
- rbd: krbd-related CLI patches (issue#17554, pr#11400, Ilya Dryomov)
- rbd: mirror: 提高压力测试用例的弹性 (issue#16855, issue#16555, issue#14738, issue#15259, issue#17446, issue#17355, issue#16538, issue#16974, issue#17283, issue#17317, issue#17416, issue#16227, pr#11433, Mykola Golub, Ricardo Dias, Jason Dillaman)
- rbd: rbd-nbd IO hang (issue#16921, pr#11467, Jason Dillaman)
- rbd: update_features API 需要支持向后/向前兼容性 (issue#17330, pr#11462, Jason Dillaman)
- rgw: COPY 破坏了在 dumpling 下上传的分段文件 (issue#16435, pr#10866, Yehuda Sadeh)
- rgw: Config parameter rgw keystone make new tenants in radosgw multitenancy does not work (issue#17293, pr#11473, SirishaGuduru)
- rgw: 默认情况下不归档元数据 (issue#17256, pr#11321, Pavan Rallabhandi, Matt Benjamin)
- rgw: ERROR: got unexpected error when trying to read object: -2 (issue#17111, pr#11472, Yang Honggang)
- rgw: Modification for TEST S3 ACCESS section in INSTALL CEPH OBJECT GATEWAY page (issue#15603, pr#11475, la-sguduru)
- rgw: RGW 丢失 realm/period/zonegroup/zone 数据:如果集群中某处仍在运行 Hammer,则 period 被覆盖 (issue#17371, pr#11519, Orit Wasserman)
- rgw: RGWDataSyncCR 因 RGWListBucketIndexesCR 的错误而失败 (issue#17073, pr#11330, Casey Bodley)
- rgw: S3 对象版本控制在应用于非主区域时失败 (issue#16494, pr#11367, Yehuda Sadeh)
- rgw: 为 radosgw-admin –help 和 man page 添加 orphan 选项 (issue#17281, issue#17280, pr#11139, Ken Dreyer, Thomas Serlin)
- rgw: 在失败时回退 bucket sync,不要存储标记 (issue#16742, pr#11021, Yehuda Sadeh)
- rgw: 组合的 LDAP backports (issue#17544, issue#17185, pr#11332, Harald Klein, Matt Benjamin)
- rgw: cors auto memleak (issue#16564, pr#10656, Yan Jun)
- rgw: 默认配额修复 (issue#16410, pr#10832, Pavan Rallabhandi, Daniel Gryniewicz)
- rgw: doc: multipart part entity 的描述错误 (issue#17504, pr#11342, weiqiaomiao)
- rgw: 从大小为 0 的段读取数据时不要永远循环。 (issue#17692, pr#11626, Marcus Watts)
- rgw: 修复以下划线开头和结尾的对象的 put_acls (issue#17625, pr#11669, Orit Wasserman)
- rgw: 修复处理双下划线的回归 (issue#17443, issue#16856, pr#11563, Yehuda Sadeh, Orit Wasserman)
- rgw: 处理空 POST 条件 (issue#17635, pr#11662, Yehuda Sadeh)
- rgw: 元数据同步可以跳过失败/不完整条目的标记 (issue#16759, pr#10657, Yehuda Sadeh)
- rgw: nfs backports (issue#17393, issue#17311, issue#17367, issue#17319, issue#17321, issue#17322, issue#17323, issue#17325, issue#17326, issue#17327, pr#11335, Min Chen, Yan Jun, Weibing Zhang, Matt Benjamin)
- rgw: period commit 丢失 zonegroup 更改:region_map 反复转换 (issue#17051, pr#10890, Casey Bodley)
- rgw: 当当前 period 具有没有主区域的 zonegroup 时,period commit 返回错误 (issue#17110, pr#10867, weiqiaomiao)
- rgw: radosgw daemon core when reopen logs (issue#17036, pr#10868, weiqiaomiao)
- rgw: rgw file uses too much CPU in gc/idle thread (issue#16976, pr#10889, Matt Benjamin)
- rgw: s3tests-test-readwrite failing with 500 (issue#16930, pr#11471, Yehuda Sadeh)
- rgw: 从旧多站点升级到新多站点失败 (issue#16751, pr#10891, Orit Wasserman)
- rgw: 获取 swift 帐户令牌时响应信息错误 (issue#15195, pr#11474, Qiankun Zheng)
- rgw: user email can modify to empty when it has values (issue#13286, pr#11469, Yehuda Sadeh, Weijun Duan)
- tests: ceph-disk 必须忽略 debug monc (issue#17607, pr#11548, Loic Dachary)
- tests: 修复 TestClsRbd.mirror_image failure in upgrade:jewel-x-master-distro-basic-vps (issue#16529, pr#10888, Jason Dillaman)
- tests: scsi_debug fails /dev/disk/by-partuuid (issue#17100, pr#11411, Loic Dachary)
- tests: test/ceph_test_msgr: do not use Message::middle for holding transient… (issue#17365, issue#17728, issue#16955, pr#11742, Haomai Wang, Kefu Chai, Michal Jarzabek, Sage Weil)
- tools: ceph-create-keys 中缺少逗号导致参数连接 (issue#17815, pr#11822, Patrick Donnelly)
- tools: 添加一个工具来从 OSD 重建 mon store (issue#17179, issue#17400, pr#11126, Kefu Chai, xie xingguo)
- tools: ceph-create-keys: 如果设置了 mds allow,有时会永远阻塞 (issue#16255, pr#11417, John Spray)
- tools: ceph-disk 在无法获取锁时应超时 (issue#16580, pr#10758, Loic Dachary)
- tools: ceph-disk: 预期的 systemd 单元故障令人困惑 (issue#15990, pr#10884, Boris Ranto)
- tools: ceph-disk: 使用常规文件作为日志失败 (issue#16280, issue#17662, pr#11657, Jayashree Candadai, Anirudha Bose, Loic Dachary, Shylesh Kumar)
- tools: ceph-objectstore-tool crashes if –journal-path
(issue#17307, pr#11407, Kefu Chai) - tools: ceph-objectstore-tool: 添加一种离线拆分 filestore 目录的方法 (issue#17220, pr#11252, Josh Durgin)
- tools: ceph-post-file: 使用新的 ssh 密钥 (issue#14267, pr#11746, David Galloway)