Actions
Bug #23644
closedwhen no OSDs are found to activate an AttributeError is raised
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
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:
https://github.com/ceph/ceph/pull/21130/commits/b1920d6e731f194c4829810d849dba6b087ce3a4
Actions