when no OSDs are found to activate an AttributeError is raised
This is similar to what happens in activate_filestore but we didn't have it here and I noticed it with this failure:
File "/usr/lib/python2.7/dist-packages/ceph_volume/devices/lvm/activate.py", line 115, in activate_bluestore is_encrypted = osd_lv.tags.get('ceph.encrypted', '0') == '1' AttributeError: 'NoneType' object has no attribute 'tags'
This happened because we were missing the --filestore flag, so it defaulted to bluestore, where no OSDs could be found. This change should be backported
This commit was merged in master, and this ticket should only target Luminous: