Re: updating environment before running tests on pulpito

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 13, 2018 at 2:10 AM, kefu chai <tchaikov@xxxxxxxxx> wrote:
> 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.

/headdesk

Thanks Kefu! Okay that's just a problem in the docker image script
that it doesn't install those packages. I've got a fix for that here:
https://github.com/ceph/ceph/pull/23040

> 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.

We still have the problem that teuthology is not installing this
packages. That's the next issue to resolve: [1]

I've also found these problem [2,3].

[1] http://tracker.ceph.com/issues/24920
[2] http://tracker.ceph.com/issues/24919
[3] http://tracker.ceph.com/issues/24918


-- 
Patrick Donnelly
--
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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux