]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Fix get_cluster_count when data_dir is missing 63952/head
authorJames Oakley <jfunk@funktronics.ca>
Sun, 15 Jun 2025 15:04:35 +0000 (12:04 -0300)
committerJames Oakley <jfunk@funktronics.ca>
Mon, 16 Jun 2025 17:41:09 +0000 (14:41 -0300)
commit8e39f8911c4a485975d6adb04b04893e43128e67
tree20f43047b9be8c68c1687a4042690b56481bf3e9
parent1151a9a49d0287dba8683a86331aa46f02b61113
cephadm: Fix get_cluster_count when data_dir is missing

It is possible for cephadm, if it fails to create a cluster, to direct
the user to delete the cluster even though the data_dir has not yet been
created. Running that command would fail during the cluster count check.

Signed-off-by: James Oakley <jfunk@funktronics.ca>
src/cephadm/cephadm.py
src/cephadm/tests/test_cephadm.py