Skip to content

tentacle: ceph-objectstore-tool: update clear-snapset command doc - #66918

Merged
batrick merged 3 commits into
ceph:tentaclefrom
Naveenaidu:tentacle-backport-pr-65099-and-66303
Aug 21, 2026
Merged

batrick merged 3 commits into
ceph:tentaclefrom
Naveenaidu:tentacle-backport-pr-65099-and-66303

Conversation

@Naveenaidu

@Naveenaidu Naveenaidu commented Jan 14, 2026 •

Copy link
Copy Markdown
Contributor

backport of two related PRs:

Closes:
https://tracker.ceph.com/issues/78809
https://tracker.ceph.com/issues/78839


The ceph-objectstore-tool --help is now updated to the following:

Allowed options:                                                   
  --help                      produce help message
  --type arg                  Arg is one of [bluestore (default), memstore]

....

Positional syntax:                                                                                                                     
                                                                                                                                       
ceph-objectstore-tool ... <object> (get|set)-bytes [file]                                                                                                                                             
....                                                           
ceph-objectstore-tool ... <object> clear-snapset [(corrupt|seq|snaps|clones|clone_size|clone_overlap|size)]  <--- Newly added option

<object> can be a JSON object description as displayed                                                                                 
by --op list.                                                                                                                          
<object> can be an object name which will be looked up in all                                                                          
the OSD's PGs.                                                     
<object> can be the empty string ('') which with a provided pgid 
specifies the pgmeta object                                                                                                            
                                                                                                                                       
The optional [file] argument will read stdin or write stdout                                                                           
if not specified or if '-' specified.                                                                                                  
                                                                                                                                       
clear-snapset options:      <---- Newly added section                                       
  clear-snapset               : by default, clear clones, clone_size and clone_overlap
  clear-snapset corrupt       : clear entire snapset                                                                                   
  clear-snapset seq           : clear snapset.seq                                                                                      
  clear-snapset clone_size    : clear clone_size                   
  clear-snapset clone_overlap : clear clone_overlap                                                                                    
  clear-snapset clones        : clear clones                                                                                           
  clear-snapset snaps         : clear clone_snaps                                                                                      
  clear-snapset size          : break all clone sizes by adding 1

@Naveenaidu
Naveenaidu requested a review from a team as a code owner January 14, 2026 06:06
@Naveenaidu Naveenaidu self-assigned this Jan 14, 2026
@github-actions github-actions Bot added this to the tentacle milestone Jan 14, 2026
@Naveenaidu
Naveenaidu requested a review from ronen-fr January 14, 2026 06:06
@Naveenaidu
Naveenaidu force-pushed the tentacle-backport-pr-65099-and-66303 branch 2 times, most recently from d100d40 to 363b2cd Compare January 16, 2026 13:13
@Naveenaidu Naveenaidu changed the title ceph-objectstore-tool: update clear-snapset command doc tentacle: ceph-objectstore-tool: update clear-snapset command doc Jan 21, 2026
@Naveenaidu

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@rzarzynski rzarzynski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The descriptions of the commits miss the (cherry-picked from <original commit ID>) which can be generated automatically by appending -x to git cherry-pick.

@rzarzynski

Copy link
Copy Markdown
Contributor

@Naveenaidu: ping.

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 13, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 13, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 13, 2026
Naveenaidu and others added 3 commits July 29, 2026 16:51
…tion for obj12

clear-snapset, does not have any argument named as "head"

Signed-off-by: Naveen Naidu <[email protected]>
(cherry picked from commit 68debbf)
…ore-tool changes

A previous commit (2e54b2a) modified ceph-objectstore-tool to no longer
accept the 'clear-snapset' command with no arguments.

This PR modifies the osd-scrub-snaps.sh test script, to match that
change.

Fixes: https://tracker.ceph.com/issues/73900
Signed-off-by: Ronen Friedman <[email protected]>
(cherry picked from commit f1e0215)
@Naveenaidu
Naveenaidu force-pushed the tentacle-backport-pr-65099-and-66303 branch from 363b2cd to dd0eb07 Compare July 29, 2026 11:22
@Naveenaidu

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @Naveenaidu.

View workflow run

@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 29, 2026
github-actions[bot]

This comment was marked as outdated.

@Naveenaidu

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @Naveenaidu.

View workflow run

@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 29, 2026
@Naveenaidu
Naveenaidu requested a review from rzarzynski July 29, 2026 14:04
@Naveenaidu

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@yuriw

yuriw commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri13-testing-20260729.211123-tentacle.

@Naveenaidu

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@amathuria

Copy link
Copy Markdown
Contributor

@Naveenaidu

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 21, 2026
@batrick
batrick merged commit 7d65b71 into ceph:tentacle Aug 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-qa releng-audit-pass Release engineering: passed backport verification audit. tests wip-yuri13-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants