'Skip nodes that have already been attempted.'

def host_passes(self, host_state, spec_obj):

    retry = spec_obj.retry
    if (not retry):
        LOG.debug('Re-scheduling    is    disabled')
        return True
    host = [host_state.host, host_state.nodename]
    hosts = [[cn.host, cn.hypervisor_hostname] for cn in retry.hosts]
    passes = (host not in hosts)
    if (not passes):
        LOG.info(_LI('Host    %(host)s    fails.        Previously    tried    hosts:    %(hosts)s'), {'host': host, 'hosts': hosts})
    return passes
