Bug 2357063 - [8.0] [Read Balancer] Make rm-pg-upmap-primary able to remove mappings by force
Summary: [8.0] [Read Balancer] Make rm-pg-upmap-primary able to remove mappings by force
Keywords:
Status: POST
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0z4
Assignee: Laura Flores
QA Contact: Pawan
URL:
Whiteboard:
: 2354646 (view as bug list)
Depends On: 2349077
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-02 23:53 UTC by Laura Flores
Modified: 2025-04-25 03:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: A new command, `ceph osd rm-pg-upmap-primary-all`, has been added that allows users to clear all pg-upmap-primary mappings in the osdmap when desired. As with the existing command `ceph osd rm-pg-upmap-primary <pgid>`, this new command should be used with caution, as it directly modifies primary PG mappings and can impact read performance (this excludes any data movement). Reason: Users who want to remove all pg-upmap-primary mappings may do so more easily now with one command. This command may also be used to remove invalid mappings left over from a bug where pg-upmap-primary entries were left in the osdmap after users deleted a pool. Result: If a user has pg-upmap-primary mappings in their osdmap, the expected result after running the new command should be that all pg-upmap-primary mappings have been removed from the cluster. This includes valid and invalid pg-upmap-primary mappings.
Clone Of: 2349077
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 62421 0 None Merged squid: mon, osd: add command to remove invalid pg-upmap-primary entries 2025-04-03 00:04:18 UTC
Red Hat Issue Tracker RHCEPH-11043 0 None None None 2025-04-02 23:54:49 UTC

Description Laura Flores 2025-04-02 23:53:29 UTC
+++ This bug was initially created as a clone of Bug #2349077 +++


Note You need to log in before you can comment on or make changes to this bug.