From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 805C11FF0A7 for ; Wed, 16 Sep 2026 07:22:08 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 78D6821553; Wed, 16 Sep 2026 07:21:57 +0200 (CEST) From: Kefu Chai To: pve-devel@lists.proxmox.com Subject: [PATCH v2 manager 0/1] fix #7518: ceph: mon: advertise a single address per monitor Date: Wed, 16 Sep 2026 13:21:44 +0800 Message-ID: <20260916052145.1524871-1-k.chai@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1789536096375 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.145 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: L2E4D6DIOCXCID3X7VIL64DIJKX35FFQ X-Message-ID-Hash: L2E4D6DIOCXCID3X7VIL64DIJKX35FFQ X-MailFrom: k.chai@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: pveceph mon create can put two addresses of the same messenger type into a monitor's addrvec. Older kernels refuse to decode that, so CephFS fails to mount. This makes it pick one address per monitor. The kernel side is fixed in the meantime, so v2 only rewords the commit message. The code is unchanged. Changes since v1: - say that current kernels tolerate such addrvecs since 5a87925539ac ("libceph: tolerate addrvecs with multiple entries of the same type"), which went to stable, and that the reasons to still pick a single address are older kernels and that no client reads past the first match - no code change v1: https://lore.proxmox.com/pve-devel/20260425121528.924363-1-k.chai@proxmox.com/ Kefu Chai (1): fix #7518: ceph: mon: advertise a single address per monitor PVE/API2/Ceph/MON.pm | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) -- 2.47.3