public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Kefu Chai <k.chai@proxmox.com>
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	[thread overview]
Message-ID: <20260916052145.1524871-1-k.chai@proxmox.com> (raw)

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





             reply	other threads:[~2026-09-16  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16  5:21 Kefu Chai [this message]
2026-09-16  5:21 ` [PATCH v2 manager 1/1] fix #7518: ceph: mon: advertise a single address per monitor Kefu Chai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260916052145.1524871-1-k.chai@proxmox.com \
    --to=k.chai@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal