From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 16AA51FF0B7 for ; Fri, 16 Oct 2026 00:56:42 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 6DA922161F; Fri, 16 Oct 2026 00:56:13 +0200 (CEST) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Kefu Chai Subject: applied: [PATCH manager] fix #8163: ceph: pool create: pass the CRUSH rule on creation Date: Fri, 16 Oct 2026 00:55:56 +0200 Message-ID: <179210495460.3646377.15031336651476252565.b4-ty@b4> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261015071943.3058549-1-k.chai@proxmox.com> References: <20261015071943.3058549-1-k.chai@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792104965211 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.527 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: HAPSDMK5B6PA6ZBF2LYJ3UQPNRGR2QUM X-Message-ID-Hash: HAPSDMK5B6PA6ZBF2LYJ3UQPNRGR2QUM X-MailFrom: t.lamprecht@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: On Thu, 15 Oct 2026 15:19:43 +0800, Kefu Chai wrote: > create_pool() only passes the pool name and pg_num to "osd pool create" > and sets the CRUSH rule afterwards with "osd pool set". Ceph checks > mon_max_pg_per_osd when a pool is created, against the rule it is > created with, but not when the rule of an existing pool changes. So a > pool with a non-default rule is checked against the OSDs and pools of > the default rule. It is refused if those are near the limit, even if it > would fit on its own rule, and it is never checked against its own > rule. > > [...] Applied, thanks! [1/1] fix #8163: ceph: pool create: pass the CRUSH rule on creation https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=5a1d4293a5b1d55bb29fbe19f84043dfe869e257