Project

General

Profile

Actions

Bug #40489

closed

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

Added by Varsha Rao almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to CephFS - Backport #40843: nautilus: cephfs-shell: name 'files' is not defined error in do_rm()ResolvedNathan CutlerActions
Actions #1

Updated by Varsha Rao almost 5 years ago

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

Updated by Patrick Donnelly almost 5 years 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
Actions #3

Updated by Patrick Donnelly almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF