'Note if nodes are not labeled as expected. Returns: error list'

def check_node_labeling(self, nodes_by_name, fluentd_nodes, node_selector):

    intended_nodes = self.get_var('openshift_logging_fluentd_hosts', default=['--all'])
    if ((not intended_nodes) or ('--all' in intended_nodes)):
        intended_nodes = nodes_by_name.keys()
    nodes_missing_labels = (set(intended_nodes) - set(fluentd_nodes.keys()))
    if nodes_missing_labels:
        return [OpenShiftCheckException('NodesUnlabeled', 'The    following    nodes    are    supposed    to    be    labeled    with    {label}    but    are    not:\n        {nodes}\nFluentd    will    not    aggregate    logs    from    these    nodes.'.format(label=node_selector, nodes=',    '.join(nodes_missing_labels)))]
    return []
