Fixes: http://tracker.ceph.com/issues/36659
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
c00f661882cdde2726763bd5173028b9faf7777d)
Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de>
}
set_state_description(r, desc);
- update_mirror_image_status(false, boost::none);
+ update_mirror_image_status(true, boost::none);
reschedule_update_status_task(-1);
shut_down(0);
}
case STATE_STOPPING:
if (stopping_replay) {
status.state = cls::rbd::MIRROR_IMAGE_STATUS_STATE_STOPPING_REPLAY;
- status.description = "stopping replay";
+ status.description = state_desc.empty() ? "stopping replay" : state_desc;
break;
}
// FALLTHROUGH