'Return fresh server object.
Substitutes Nova\'s NotFound for Heat\'s EntityNotFound,
to be returned to user as HTTP error.'

@tenacity.retry(stop=tenacity.stop_after_attempt(max((cfg.CONF.client_retry_limit + 1), 0)), retry=tenacity.retry_if_exception(client_plugin.retry_if_connection_err), reraise=True)
def get_server(self, server):

    try:
        return self.client().servers.get(server)
    except exceptions.NotFound:
        raise exception.EntityNotFound(entity='Server', name=server)
