Re: making ceph_volume_client py3 compatible

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

 



On Wed, May 2, 2018 at 7:15 AM, Rishabh Dave <ridave@xxxxxxxxxx> wrote:
> Hi,
>
> I am working on this issue [1] where I need to make sure that
> ceph_volume_client.py is py3 compatible. I've figured how to get py3
> compatible libraries built for libcephfs and librados.
>
> Next: I need to test for ceph_volume_client.py locally using python3.
> I know how to do this using python2 but not for python3. Running the
> command same as python2 gives me an error -
>
> $ python3 ../qa/tasks/vstart_runner.py --interactive --create
> tasks.cephfs.test_volume_client
>   File "../qa/tasks/vstart_runner.py", line 107
>     print "Using guessed paths {0} {1}".format(ld_path, python_paths)
>                                       ^
> SyntaxError: invalid syntax
>
> Should I first proceed to make vstart_runner.py py3 compatible? Or
> steps for python3 are totally different?

It's not necessary but it shouldn't be much more work*. I'd recommend
updating vstart_runner.py too.

* You should be able to run the Python payloads in
test_volume_client.py manually.

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