[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Zhenshi Zhou
That's my mistake, I should have read the document of Nautilus. It's OK for the failed commands. 'mkdir' is enough for me at present. Thanks Rishabh, I will try it on Octopus cluster. Rishabh Dave 于2020年7月14日周二 下午11:15写道: > On Tue, 14 Jul 2020 at 14:24, Zhenshi Zhou wrote: > > > > When I use c

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Rishabh Dave
On Tue, 14 Jul 2020 at 14:24, Zhenshi Zhou wrote: > > When I use cephfs-shell, I find that some commands are useless. That's odd, either the command should be absent or should run successfully. On inspecting the source code, listxattr command is actually absent in Nautilus; it's available Octopus

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Zhenshi Zhou
When I use cephfs-shell, I find that some commands are useless. And I am forced to use the interactive mode. I'm not sure if I use it in the correct way or not. Is there a more clear document? [image: image.png] Rishabh Dave 于2020年7月14日周二 下午4:36写道: > On Tue, 14 Jul 2020 at 14:03, Zhenshi Zhou

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Rishabh Dave
On Tue, 14 Jul 2020 at 14:03, Zhenshi Zhou wrote: > > Hi Rishabh, > > I installed cmd2 with pip, followed by document. > As you recommended, I set the install version of cmd2 to 0.7.9, and > cephfs-shell is good to go. > > Thanks a lot :) Great! You're welcome. :) ___

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Zhenshi Zhou
Hi Rishabh, I installed cmd2 with pip, followed by document . As you recommended, I set the install version of cmd2 to 0.7.9, and cephfs-shell is good to go. Thanks a lot :) Zhenshi Zhou 于2020年7月14日周二 下午4:25写道: > What's more, I tried in C

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Zhenshi Zhou
What's more, I tried in CentOS 7 as well as 8, and I got the same error. Zhenshi Zhou 于2020年7月14日周二 下午4:23写道: > My system is CentOS7 and python is 3.6.8. > Ceph version is 14.2.10, installed from ceph official repo. > Versions of python packages list: > attrs==19.3.0 > cephfs==2.0.0 > cmd2==1.2.

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Zhenshi Zhou
My system is CentOS7 and python is 3.6.8. Ceph version is 14.2.10, installed from ceph official repo. Versions of python packages list: attrs==19.3.0 cephfs==2.0.0 cmd2==1.2.0 colorama==0.4.3 importlib-metadata==1.7.0 pyperclip==1.8.0 rados==2.0.0 wcwidth==0.2.5 zipp==3.1.0 Rishabh Dave 于2020年7月1

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-14 Thread Rishabh Dave
On Tue, 14 Jul 2020 at 12:18, Zhenshi Zhou wrote: > > 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 wit

[ceph-users] Re: how to configure cephfs-shell correctly

2020-07-13 Thread Zhenshi Zhou
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_