]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/iscsi: check if dashboard is enabled
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 7 Jul 2021 14:11:41 +0000 (10:11 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 10 Aug 2021 14:32:09 +0000 (16:32 +0200)
commita26a8f5be21fd7dae1050f1df38e93e2fda4f8c5
tree33a5cd223434c59f3aa1d1828dd199eb4ce80c9d
parentbd51273dc1740c7014ae775e236cbf36da74052f
mgr/cephadm/iscsi: check if dashboard is enabled

When the mgr dashboard module isn't enabled then the iSCSI service deletion
is stuck and the cluster state goes ERR.
The `ceph dashboard` commands aren't available when the mgr dashboard module
isnt' enabled.

Closes: https://tracker.ceph.com/issues/51546
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 1b83aea8b0f5156f3e8bf0c3e33853fb4557f888)
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/tests/test_cephadm.py