mstarikov / rbdsr

XenServer demo RBD SR, that automates creating and attaching LVM storage on top of RBD object.
GNU General Public License v2.0
15 stars 7 forks source link

Finding RBD object attached is currently done by object name only. #6

Open mstarikov opened 8 years ago

mstarikov commented 8 years ago

the _getRBD_index only looks for the name corresponding to the object. Which means if you have multiple pools with the same name for objects, it will remove the first on it finds.

Need to rework the index finding function as well as scsi id symlink to include both pool, rbd object name and perhaps unique identifier.

mstarikov commented 8 years ago

should also test what happens to rbd objects that were attached to the XenServer host before creating RBDSR.