'Actions that happen before the rescheduling attempt occur here.'

def _pre_reschedule(self, volume):

    try:
        update = {'scheduled_at': timeutils.utcnow(), 'host': None}
        LOG.debug('Updating    volume    %(volume_id)s    with    %(update)s.', {'update': update, 'volume_id': volume.id})
        volume.update(update)
        volume.save()
    except exception.CinderException:
        LOG.exception('Volume    %s:    update    volume    state    failed.', volume.id)
