Actions
Bug #58626
closedlimit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployed
% Done:
0%
Source:
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
when trying to apply the following service specs, the second never get applied because the `limit` filter makes it try to pick devices that are already used by the first service spec:
---
service_type: osd
service_id: two_per_nvme
placement:
label: osd
data_devices:
size: '200GB:'
limit: 3
db_devices:
paths:
- /dev/vdi
- /dev/vdj
---
service_type: osd
service_id: three_per_nvme
placement:
label: osd
data_devices:
size: '200GB:'
limit: 3
db_devices:
paths:
- /dev/vdk
Feb 01 13:04:30 osd-spec-limit-1 ceph-mgr[686547]: log_channel(cephadm) log [DBG] : skipping apply of osd-spec-limit-1 on DriveGroupSpec.from_json(yaml.safe_load('''service_type: osd
service_id: three_per_nvme
service_name: osd.three_per_nvme
Actions