]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/iscsi: use `mon_command` in `post_remove` instead of `check_mon_command` 44830/head
authorMelissa Li <melissali@redhat.com>
Tue, 11 Jan 2022 23:03:23 +0000 (18:03 -0500)
committerAdam King <adking@redhat.com>
Fri, 28 Jan 2022 21:10:03 +0000 (16:10 -0500)
commit494a1d56cfc7f7608e39a5d04c218e727d20782b
tree9b8c222a921e6fe5c8c4b9f1e17efdf4ee396ebc
parent9e9316478f690f97f4b84b62cb8253f68f19c8db
mgr/cephadm/iscsi: use `mon_command` in `post_remove` instead of `check_mon_command`

Use `mon_command` instead of `check_mon_command` in `post_remove` to avoid errors such as if iscsi service is removed before the iscsi gateway list is updated, cluster will enter error state and iscsi removal gets stuck.

Fixes: https://tracker.ceph.com/issues/53706
Signed-off-by: Melissa Li <melissali@redhat.com>
src/pybind/mgr/cephadm/services/iscsi.py