]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: don't say migration in progress if migration current > migration last 49919/head
authorAdam King <adking@redhat.com>
Thu, 22 Sep 2022 18:17:23 +0000 (14:17 -0400)
committerAdam King <adking@redhat.com>
Mon, 30 Jan 2023 22:24:35 +0000 (17:24 -0500)
commitd706d9344faf6627ff12aaba570ee42d187a03e7
tree11dadc4f99f886af815f14a414445aa787fd596a
parent529acda03fc93e2e9c3f054b190d9c3965bdf724
mgr/cephadm: don't say migration in progress if migration current > migration last

We risk ending up in an endless busy loop accomplishing
nothing otherwise.

Fixes: https://tracker.ceph.com/issues/57651
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 63068800ecd446316ab903cf02da2a243f361b58)
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/cephadm/tests/test_migration.py