]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: Fix splitting with too many parts
authorJanne Heß <janne@hess.ooo>
Mon, 28 Apr 2025 09:04:25 +0000 (11:04 +0200)
committerJanne Heß <janne@hess.ooo>
Mon, 28 Apr 2025 09:34:05 +0000 (11:34 +0200)
commit315fb96243549afba316c60a8d74c24c9417c18e
treeb2933e05bbae2015e3eb4de581b491142d90cbfa
parentd37f60264ab3456ad5a3731ac6028c41b00c5575
ceph-volume: Fix splitting with too many parts

The data can be anything and also contain a `=`, causing the line to
fail with `Too many values to unpack`. In my case, it failed with
`ID_FS_LABEL=pvc_name=rook-ceph-lvm-data-44f2gc`.

Regression was introduced here: https://github.com/ceph/ceph/pull/60006

Fixes: https://tracker.ceph.com/issues/71101
Signed-off-by: Janne Heß <janne@hess.ooo>
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/util/disk.py