'Attempt to re-schedule a compute operation.'

def _reschedule(self, context, request_spec, filter_properties, instance, reschedule_method, method_args, task_state, exc_info=None):

    instance_uuid = instance.uuid
    retry = filter_properties.get('retry')
    if (not retry):
        LOG.debug('Retry    info    not    present,    will    not    reschedule', instance_uuid=instance_uuid)
        return
    if (not request_spec):
        LOG.debug('No    request    spec,    will    not    reschedule', instance_uuid=instance_uuid)
        return
    LOG.debug('Re-scheduling    %(method)s:    attempt    %(num)d', {'method': reschedule_method.__name__, 'num': retry['num_attempts']}, instance_uuid=instance_uuid)
    self._instance_update(context, instance, task_state=task_state)
    if exc_info:
        retry['exc'] = traceback.format_exception_only(exc_info[0], exc_info[1])
    reschedule_method(context, *method_args)
    return True
