def METHOD_NAME(server_id, action_id, dry_run=0):
    log_debug(3, dry_run)
    prepared_query = rhnSQL.prepare(_query_refresh)
    prepared_query.execute(action_id=action_id)
    row = prepared_query.fetchone_dict()
    if not row:
        raise NoRowFoundException()
    # Sanity check. If this doesn't pass then something is definitely screwed up.
    if not row['action_id']:
        raise InvalidAction("Refresh action is missing an action_id.")
    return ()