Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to dbus LVM2 interface #25

Closed
MOZGIII opened this issue Jan 6, 2018 · 5 comments
Closed

Switch to dbus LVM2 interface #25

MOZGIII opened this issue Jan 6, 2018 · 5 comments
Labels

Comments

@MOZGIII
Copy link
Collaborator

MOZGIII commented Jan 6, 2018

Python bindings are deprecated, so this project should switch to dbus to work with LVM.

@agrover agrover added the bug label Jan 8, 2018
@j-griffith
Copy link

@agrover I was wondering if there was any thing going on around this? I'm not familiar with the dbus implementation for this but would be interested in helping out to see things updated. I've got one project that is using targetd and needs updated and another potential good use for targetd so I'm willing to help out but would need some pointers on how to use dbus etc.

@tasleson
Copy link
Member

@j-griffith There is some outdated documentation on the dbus interface here: https://github.com/tasleson/lvm-dubstep/blob/master/api.md However, the interface supports introspection so you can leverage tools like d-feet and snoop around with it. I will try to update that documentation, but that really should be documented in upstream lvm repo now. Libblkdev is using lvm dbus, ref. https://github.com/storaged-project/libblockdev/blob/master/src/plugins/lvm-dbus.c

As for targetd utilizing lvm dbus, that's only part of the story. Even with those bits re-written, targetd is utilizing btrfs for the remote FS API portion. Btrfs has been deprecated in RHEL: ref. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.4_release_notes/chap-red_hat_enterprise_linux-7.4_release_notes-deprecated_functionality so that would need to be moved over to something else potentially too, to continue to work on RHEL.

We've deprecated targetd in Fedora for the above reasons and the fact that we didn't get much uptake. I'll discuss with @agrover about putting a blurb about that on the main project page. If however, we get some big patches and renewed community support for targetd, it could certainly be brought back.

@j-griffith
Copy link

@tasleson ack, thanks for all the good info

@MOZGIII
Copy link
Collaborator Author

MOZGIII commented Aug 6, 2018

So, it seems like it doesn't make sense to fix it in targetd. Is there any alternative to targetd that still works with LVM?

@tasleson
Copy link
Member

tasleson commented Jul 3, 2019

Addressed with #27

@tasleson tasleson closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants