SUSE / lrbd

GNU Lesser General Public License v2.1
24 stars 19 forks source link

No way to delete a target/LUN #19

Open hemna opened 6 years ago

hemna commented 6 years ago

I'm trying to use lrbd to write an openstack cinder driver that exports rbd images as Cinder volumes. I need to be able to create targets and remove them at will. There seems to be no way to remove an existing target with lrbd.

If I edit my config.json and remove an existing TPG entry, and then rerun lrbd, the LUN still exists in targetcli ls.