Hi

I have a service spec for osds with the db_slots parameter set. However it's 
being ignored.
After doing some code review, it seems to me that the reason is, that it's not 
implemented in translate.py - e.g. 
https://github.com/ceph/ceph/blob/v18.2.7/src/python-common/ceph/deployment/translate.py
 (or other versions)
The translate.py simply does not have translation to "--block-db-slots" that is 
used by the ceph-volume command as specified here 
https://docs.ceph.com/en/reef/ceph-volume/lvm/batch/#implicit-sizing
Something along the lines of:
if db_slots:
cmd += " --block-db-slots {}".format(self.spec.db_slots)
Should probably be added after line 119 of v.18.2.7 at least - placement will 
defer depending on version -
Any devs in here that can confirm this?
Seems like a quick fix.

  *
found this 2y old track for it as well - https://tracker.ceph.com/issues/57939
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to