Skip to content

Commit e0f2755

Browse files
committed
Collect logs: count avc denials from Undercloud
Seems that undercloud is excluded from reported number of selinux avc denials, due to it also being tester. (Which was removed from the reported sets, due to it being non-product node in past/packstack jobs, and theoretically still can be non-product in special cases). Change-Id: If2fd4b9fd999e530c5688bb6c6d2db835f9a9699
1 parent 38bb529 commit e0f2755

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/collect-logs/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
selinux_problems_list: []
4040
segfault_problems: 0
4141
oom_killer_problems: 0
42-
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['controller']|default([]))) ) }}"
43-
42+
# aggregate from all hosts, excluding any nonproduct ones
43+
# non product is localhost and tester nodes (unless they are also UC or controller too)
44+
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['undercloud']|default([]) + groups['controller']|default([]))) ) }}"
4445
- debug:
4546
msg: "counting issues from hosts: {{ counted_hosts }}"
4647

0 commit comments

Comments
 (0)