Project

General

Profile

Bug #40489

cephfs-shell: name 'files' is not defined error in do_rm()

Added by Varsha Rao 2 months ago. Updated about 1 month ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:

Description

CephFS:~/>>> rm *
name 'files' is not defined
Traceback (most recent call last):
  File "../src/tools/cephfs/cephfs-shell", line 393, in onecmd
    res = Cmd.onecmd(self, line)
  File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 2161, in onecmd
    stop = func(statement)
  File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 291, in cmd_wrapper
    return func(cmd2_instance, args)
  File "../src/tools/cephfs/cephfs-shell", line 849, in do_rm
    files.extend([i for i in get_all_possible_paths(
NameError: name 'files' is not defined

Related issues

Copied to fs - Backport #40843: nautilus: cephfs-shell: name 'files' is not defined error in do_rm() Resolved

History

#1 Updated by Varsha Rao 2 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 28710

#2 Updated by Patrick Donnelly 2 months ago

  • Subject changed from cephfs-shel: name 'files' is not defined error in do_rm() to cephfs-shell: name 'files' is not defined error in do_rm()
  • Target version set to v15.0.0
  • Source set to Development

#3 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler about 1 month ago

  • Copied to Backport #40843: nautilus: cephfs-shell: name 'files' is not defined error in do_rm() added

Also available in: Atom PDF