]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/ceph/deployment/drive_group: fix 'orch ls --format yaml' 44140/head
authorSage Weil <sage@newdream.net>
Tue, 30 Nov 2021 04:25:43 +0000 (23:25 -0500)
committerSage Weil <sage@newdream.net>
Tue, 30 Nov 2021 04:25:43 +0000 (23:25 -0500)
commit7e51fe6227a92b92640d37216bdd99824c84769a
tree7da41610d496713bb88e0ed95af2fb02323a9611
parent7dee504a411b7ac82d5d249f72d58720b01944ee
python-common/ceph/deployment/drive_group: fix 'orch ls --format yaml'

In f76c02a658ed1de54a380381932bb58b6ab91d41 we may leave out the placement
key when it is empty.  If we take that path, we need to tolerate specs
that are missing that key.

Fixes: f76c02a658ed1de54a380381932bb58b6ab91d41
Signed-off-by: Sage Weil <sage@newdream.net>
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/tests/test_drive_group.py