ClusterHQ / pyzfs

Python bindings to the stable ZFS ABI
Apache License 2.0
34 stars 11 forks source link

NotImplementedError: lzc_get_props ?? #33

Open ikus060 opened 4 years ago

ikus060 commented 4 years ago

I wanned to try pyzfs to check if I could replace my "zfs" command line by pyzfs call. I've install pyzfs using pip2 install pyzfs on a system with zfs on linux.

In a python prompt:

>>> libzfs_core.lzc_get_props('tank')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/libzfs_core/_libzfs_core.py", line 721, in _f
    raise NotImplementedError(func.__name__)
NotImplementedError: lzc_get_props

Could I get more explanation about this exception ? Is it some compatibility issue with zfs onlinux ? I also tried libzfs_core.lzc_create('tank/test2') and it's working. Not sure where to go from here.

yihuaf commented 4 years ago

I don't think this repo is still maintained, unfortunately.

avg-I commented 4 years ago

Yes, indeed. The code has been adopted by zfsonlinux project. All further development is happening there. This project does not have any maintainers. And, unfortunately, the README is not updated to point out those facts.

yihuaf commented 4 years ago

@avg-I Do you think it's a good idea to file an issue explaining this project is no longer maintained and points people to the new location? I think this is the best we can do given no one has write access to this repo any-more.

ikus060 commented 4 years ago

That a shame. What is the project replacing this one in zfs on Linux?

On Thu, Sep 12, 2019, 7:14 PM yihuaf, notifications@github.com wrote:

@avg-I https://github.com/avg-I Do you think it's a good idea to file an issue explaining this project is no longer maintained and points people to the new location? I think this is the best we can do given no one has write access to this repo any-more.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ClusterHQ/pyzfs/issues/33?email_source=notifications&email_token=AAHA5IZ2AXKJG7RR7ISGNHDQJLENTA5CNFSM4IVISFF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6TQXSA#issuecomment-531041224, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHA5I4HNOJJD7J5OJJ5DCLQJLENTANCNFSM4IVISFFQ .

avg-I commented 4 years ago

@yihuaf, I think that that is a good idea.

@ikus060, the code is here: https://github.com/zfsonlinux/zfs/tree/master/contrib/pyzfs I am not sure if / how it is packaged.

yihuaf commented 4 years ago

34 Filed