Project

General

Profile

Bug #47401

improve drive group validation

Added by Sebastian Wagner about 1 year ago. Updated about 2 months ago.

Status:
Fix Under Review
Priority:
Normal
Category:
cephadm/osd
Target version:
-
% Done:

0%

Source:
Tags:
ux low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

service_type: osd
service_id: sesdev_osd_deployment_master
placement:
    hosts:
        - 'master'
data_devices:
    limit: 4
db_devices:
    limit: 1
master:~ # ceph orch apply -i /root/service_spec_core.yml --dry-run
Error EINVAL: Failed to validate Drive Group: DeviceSelection cannot be empty

which one????

service_type: mon
placement:
    hosts:
        - 'master'
        - 'node1'
        - 'node2'
---
service_type: mgr
placement:
    hosts:
        - 'master'
        - 'node1'
        - 'node2'
---
service_type: osd
service_id: sesdev_osd_deployment
placement:
    hosts:
        - 'node1'
        - 'node2'
        - 'node3'
        - 'node4'
        - 'master'
data_devices:
    all: true
ceph orch apply osd -i /root/service_spec_core.yml --dry-run
Error EINVAL: Failed to validate Drive Group: Didn't find Drivegroup specs

History

#1 Updated by Joshua Schmid about 1 year ago

  • Assignee set to Joshua Schmid

#2 Updated by Sebastian Wagner 8 months ago

  • Status changed from New to Can't reproduce

workaround: Use ceph orch apply -i instead of ceph orch apply osd -i

#3 Updated by Sebastian Wagner about 2 months ago

  • Status changed from Can't reproduce to Fix Under Review
  • Assignee changed from Joshua Schmid to Sebastian Wagner
  • Pull request ID set to 42906

Also available in: Atom PDF