Project

General

Profile

Actions

Bug #58626

closed
GA GA

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

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

Added by Guillaume Abrioux almost 4 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Due date:
% 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 open — 2 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 Abrioux

Actions
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 Abrioux

Actions

GA Updated by Guillaume Abrioux almost 4 years ago Actions #1

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

GA Updated by Guillaume Abrioux over 3 years ago Actions #2

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 3 years ago Actions #3

  • 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

UB Updated by Upkeep Bot over 3 years ago Actions #4

  • 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

GA Updated by Guillaume Abrioux over 3 years ago Actions #6

  • Backport changed from quincy,pacific to reef,quincy,pacific

AK Updated by Adam King over 3 years ago Actions #7

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • 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: PDF Atom