Project

General

Profile

Bug #44738

drivegroups/cephadm: db_devices don't get applied correctly when using "paths"

Added by Joshua Schmid 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

service_type: osd
service_id: test_dg
data_devices:
  paths:
    - /dev/vdb
    - /dev/vdc
db_devices:
  paths:
    - /dev/vdk
placement:
  host_pattern: cephadm-dev

will result in

[DBG] Found drive selection <ceph.deployment.drive_selection.selector.DriveSelection object at 0x7f424af835f8>
[DBG] translated to cmd lvm batch --no-auto /dev/vdb /dev/vdc --yes --no-systemd
[INF] Applying osd.test_dg on host cephadm-dev...

While the command should look like this:

lvm batch --no-auto /dev/vdb /dev/vdc --db-devices /dev/vdk --yes --no-systemd

History

#1 Updated by Joshua Schmid 3 months ago

  • Category set to cephadm
  • Target version set to v15.0.0
  • Source set to Development

#2 Updated by Joshua Schmid 3 months ago

It seems that db_devices are ignored whenever "paths" is used in the "data_devices" section.

Ignore that.

Also available in: Atom PDF