Project

General

Profile

Actions

Bug #58626

closed

limit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployed

Added by Guillaume Abrioux about 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-2722-g1c728e9111c
Released In:
v19.2.0~2772
Upkeep Timestamp:
2025-07-12T18:43:37+00:00

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

Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #58909: pacific: limit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployedResolvedGuillaume AbriouxActions
Copied to Orchestrator - Backport #58910: quincy: limit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployedResolvedGuillaume AbriouxActions
Actions #1

Updated by Guillaume Abrioux about 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 49969
Actions #2

Updated by Guillaume Abrioux about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot about 3 years ago

  • Copied to Backport #58909: pacific: limit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployed added
Actions #4

Updated by Upkeep Bot about 3 years ago

  • Copied to Backport #58910: quincy: limit filter in python-common/ceph/deployment/drive_selection/selector.py not working when multiple osd service spec are deployed added
Actions #6

Updated by Guillaume Abrioux about 3 years ago

  • Backport changed from quincy,pacific to reef,quincy,pacific
Actions #7

Updated by Adam King almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #8

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 1c728e9111c5a7833ac24a3dbe25525d36fbb3a1
  • Fixed In set to v18.0.0-2722-g1c728e9111c
  • Released In set to v19.2.0~2772
  • Upkeep Timestamp set to 2025-07-12T18:43:37+00:00
Actions

Also available in: Atom PDF