On Wed, Jul 11, 2018 at 10:38 PM Rishabh Dave <ridave@xxxxxxxxxx> wrote: > > On 7 July 2018 at 01:15, Patrick Donnelly <pdonnell@xxxxxxxxxx> wrote: > > On Tue, Jul 3, 2018 at 2:28 AM, Rishabh Dave <ridave@xxxxxxxxxx> wrote: > >> On 30 June 2018 at 04:49, Patrick Donnelly <pdonnell@xxxxxxxxxx> wrote: > >>> > >>> What John says makes sense to me. I'd suggest debugging via a docker > >>> container. That should be simply done with: > >>> > >>> sudo ceph/src/script/ceph-debug-docker.sh > >>> wip-rishabh-testing-volclient-py3compat ubuntu:bionic > >>> > >> > >> Running this command on my machine gives me an error - > >> > >> cp: cannot stat ‘/ceph/shaman/cephdev.asc’: No such file or directory > >> > >> The teuthology machine seems to have the file reported to be absent in > >> the error message above but I can't run the command with sudo there, > >> since I am prompted for password and I don't remember setting > >> password. I get the following error message when I run it without sudo > >> - > >> > >> src/script/ceph-debug-docker.sh: line 19: docker: command not found > >> > >> Snippet from ceph-debug-docker.sh - > >> > >> function run { > >> printf "%s\n" "$*" > >> "$@" # line no. 19 > >> } > > > > Docker is not available on teuthology. You need to run that from one > > of the senta* machines. > > > > I could import ceph_volume_client.py with python2 but not with > python3. ceph_volume_client.py and the python bindngs > (cephfs.x86_64-linux-gnu.so and rados.x86_64-linux-gnu.so) were > missing from /usr/lib/python3/dist-packages/. > > I've copied the console's output in the attached file and reported the > issue - http://tracker.ceph.com/issues/24870. by inspecting ceph-debug-docker.sh, this script does not install any python bindings. also per the description in http://tracker.ceph.com/issues/24870, i am not sure if python3-cephfs is installed in the test environment. neither does the ceph-py3-compat-debug.rst attached in that issue show if that package is installed. so i cannot tell if this is indeed a bug. i checked python3-cephfs_13.1.0-1xenial_amd64.deb downloaded from http://download.ceph.com/debian-mimic/pool/main/c/ceph/, $ dpkg -c python3-cephfs_13.1.0-1xenial_amd64.deb | grep lib/python3 drwxr-xr-x root/root 0 2018-05-04 04:23 ./usr/lib/python3/ drwxr-xr-x root/root 0 2018-05-04 04:28 ./usr/lib/python3/dist-packages/ -rw-r--r-- root/root 51217 2018-05-04 01:57 ./usr/lib/python3/dist-packages/ceph_volume_client.py -rw-r--r-- root/root 203616 2018-05-04 04:28 ./usr/lib/python3/dist-packages/cephfs.cpython-35m-x86_64-linux-gnu.so drwxr-xr-x root/root 0 2018-05-04 04:21 ./usr/lib/python3/dist-packages/cephfs-2.0.0.egg-info/ -rw-r--r-- root/root 7 2018-05-04 04:21 ./usr/lib/python3/dist-packages/cephfs-2.0.0.egg-info/top_level.txt -rw-r--r-- root/root 1 2018-05-04 04:21 ./usr/lib/python3/dist-packages/cephfs-2.0.0.egg-info/dependency_links.txt -rw-r--r-- root/root 1041 2018-05-04 04:21 ./usr/lib/python3/dist-packages/cephfs-2.0.0.egg-info/PKG-INFO it does offer the libcephfs's python binding. -- Regards Kefu Chai -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html