This error disappeared after I installed 'python3-cephfs'. However the cephfs-shell command stuck. It stays at 'CephFS:~/>>>' and whatever subcommand I executed, it printed an error as below: EXCEPTION of type 'TypeError' occurred with message: 'onecmd() got an unexpected keyword argument 'add_to_history'' How can I use 'cephfs-shell'? Zhenshi Zhou <deaderzzs@gmail.com> 于2020年7月10日周五 下午3:09写道:
Hi all,
I want to use cephfs-shell dealing with operations like directory creation, instead of mounting the root directory and create manually. But I get errors when I execute the command 'cephfs-shell'.
Traceback (most recent call last): File "./cephfs-shell", line 9, in <module> import cephfs as libcephfs ModuleNotFoundError: No module named 'cephfs'
CentOS7 use python2 and I've already installed python3 in the system. What else should I do, reinstall libcephfs?
Thanks