Project

General

Profile

Actions

Bug #47401

closed

improve drive group validation

Added by Sebastian Wagner over 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm/osd
Target version:
-
% Done:

0%

Source:
Tags:
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
Actions #1

Updated by Joshua Schmid over 3 years ago

  • Assignee set to Joshua Schmid
Actions #2

Updated by Sebastian Wagner about 3 years ago

  • Status changed from New to Can't reproduce

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

Actions #3

Updated by Sebastian Wagner over 2 years 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
Actions #4

Updated by Sebastian Wagner over 2 years ago

  • Tags deleted (ux low-hanging-fruit)
Actions #5

Updated by Sebastian Wagner over 2 years ago

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

Updated by Sebastian Wagner about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF