]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Fix get_cluster_count when data_dir is missing 64510/head
authorJames Oakley <jfunk@funktronics.ca>
Sun, 15 Jun 2025 15:04:35 +0000 (12:04 -0300)
committerAdam King <adking@redhat.com>
Tue, 15 Jul 2025 13:40:47 +0000 (09:40 -0400)
commit31f108d91012049d5a1a3e316873d648676000d2
tree5a79b66f63c1633d555d7396e34c3b80d2ecea99
parent782b166f7238a3e6292e6d57f94790a6853e277b
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>
(cherry picked from commit 8e39f8911c4a485975d6adb04b04893e43128e67)
src/cephadm/cephadm.py
src/cephadm/tests/test_cephadm.py