Project

General

Profile

Actions

Bug #66735

closed

cephfs-shell: excute cmd 'rmdir_helper' reported error

Added by jie teng over 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

100%

Source:
Community (dev)
Backport:
squid,reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-3688-gef35100bed
Released In:
v20.2.0~2408
Upkeep Timestamp:
2025-11-01T01:27:49+00:00

Description

do_rmdir_helper is actually an internal method for cmd 'rmdir',but it's name starts with 'do_', so the cephfs-shell misjudges it as a cmd
it reported error like this:

CephFS:~/>>> rmdir_helper /test
AttributeError: 'Statement' object has no attribute 'paths'


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #67113: squid: cephfs-shell: excute cmd 'rmdir_helper' reported errorResolvedActions
Copied to CephFS - Backport #67114: reef: cephfs-shell: excute cmd 'rmdir_helper' reported errorResolvedActions
Copied to CephFS - Backport #67115: quincy: cephfs-shell: excute cmd 'rmdir_helper' reported errorRejectedXiubo LiActions
Actions #1

Updated by Jos Collin over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 65770
Actions #2

Updated by Jos Collin over 1 year ago

  • Assignee set to jie teng
Actions #3

Updated by Patrick Donnelly over 1 year ago

  • Project changed from Ceph to CephFS
  • Subject changed from cephfs-shell:excute cmd 'rmdir_helper' reported error to cephfs-shell: excute cmd 'rmdir_helper' reported error
  • Category set to Correctness/Safety
  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v20.0.0
  • Source set to Community (dev)
  • Backport set to squid,reef,quincy
  • Component(FS) cephfs-shell added
Actions #4

Updated by Patrick Donnelly over 1 year ago

  • Pull request ID changed from 65770 to 58327
Actions #5

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67113: squid: cephfs-shell: excute cmd 'rmdir_helper' reported error added
Actions #6

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67114: reef: cephfs-shell: excute cmd 'rmdir_helper' reported error added
Actions #7

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67115: quincy: cephfs-shell: excute cmd 'rmdir_helper' reported error added
Actions #8

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #9

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to ef35100bed9f1a369ea8d39ec37199835d08aea5
  • Fixed In set to v19.3.0-3688-gef35100bed9f
  • Upkeep Timestamp set to 2025-06-25T23:05:40
Actions #11

Updated by Upkeep Bot 9 months ago

  • Fixed In changed from v19.3.0-3688-gef35100bed9f to v19.3.0-3688-gef35100bed9
  • Upkeep Timestamp changed from 2025-06-25T23:05:40 to 2025-07-08T18:29:47+00:00
Actions #12

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-3688-gef35100bed9 to v19.3.0-3688-gef35100bed
  • Upkeep Timestamp changed from 2025-07-08T18:29:47+00:00 to 2025-07-14T17:10:29+00:00
Actions #13

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~2408
  • Upkeep Timestamp changed from 2025-07-14T17:10:29+00:00 to 2025-11-01T01:27:49+00:00
Actions

Also available in: Atom PDF