Bug #41164
cephfs-shell: onecmd throws TypeError
% 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:
Description
cmd2 (0.9.15)
Python 3.7.4
Fedora 30
Due to changes in recent cmd module, on any command the following error is produced:
CephFS:~/>>> ls Traceback (most recent call last): File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 1807, in onecmd_plus_hooks stop = self.onecmd(statement, add_to_history=add_to_history) TypeError: onecmd() got an unexpected keyword argument 'add_to_history' EXCEPTION of type 'TypeError' occurred with message: 'onecmd() got an unexpected keyword argument 'add_to_history''
Related issues
History
#1 Updated by Varsha Rao over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 29554
#2 Updated by Patrick Donnelly over 1 year ago
- Status changed from Fix Under Review to Pending Backport
#3 Updated by Nathan Cutler over 1 year ago
- Copied to Backport #41268: nautilus: cephfs-shell: onecmd throws TypeError added
#4 Updated by Nathan Cutler about 1 year ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".