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