]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/drivegroups: avoid dropping "rotational: 0" from DeviceSelection 39171/head
authorLukas Stockner <lstockner@genesiscloud.com>
Mon, 25 Jan 2021 23:58:19 +0000 (00:58 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 15:15:11 +0000 (16:15 +0100)
commit1c38a1e62c01ef4c180f625805b61bce0f7d9ea1
tree2b7ac2aed5e5168cca3b3eb68bda1e1fa1f7faf1
parent482eda5eea4262ce6a42509d97bad80a5b5fb28e
python-common/drivegroups: avoid dropping "rotational: 0" from DeviceSelection

False is a legitimate value for the rotational setting and should be included in the JSON output, only None should be ignored.

Fixes: http://tracker.ceph.com/issues/49014
Fixes: cd6a488ab2ca036dd4fb36751b938f605e97e1c8
Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
(cherry picked from commit c32f6f5448e51d3196f7a2644ea97ecd22a04f92)
src/python-common/ceph/deployment/drive_group.py