]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
docs: Add note to execute cephfs-shell
authorVarsha Rao <varao@redhat.com>
Thu, 4 Apr 2019 09:35:39 +0000 (15:05 +0530)
committerVarsha Rao <varao@redhat.com>
Mon, 8 Apr 2019 10:52:24 +0000 (16:22 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
doc/cephfs/cephfs-shell.rst

index 7e81bfffcfc6361051149722b4bf65fc61d55f02..be8f4e299dfdee312ad35263a5072e70e459a884 100644 (file)
@@ -14,6 +14,18 @@ Options :
     -b, --batch FILE      Process a batch file.
     -t, --test FILE       Test against transcript(s) in FILE
 
+
+.. note::
+
+    Latest version of the cmd2 module is required for running cephfs-shell.
+    If CephFS is installed through source, execute cephfs-shell in the build
+    directory. It can also be executed as following using virtualenv:
+
+.. code:: bash
+
+    [build]$ virtualenv -p python3 venv && source venv/bin/activate && pip3 install cmd2
+    [build]$ source vstart_environment.sh && source venv/bin/activate && python3 ../src/tools/cephfs/cephfs-shell
+
 Commands
 ========