Project

General

Profile

Bug #47401

improve drive group validation

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

Status:
New
Priority:
Normal
Assignee:
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:

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 2 months ago

  • Assignee set to Joshua Schmid

Also available in: Atom PDF