Skip to content

Commit 071374f

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Collect status of all services"
2 parents 83a8175 + 42be242 commit 071374f

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.zuul.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@
398398
'{{ stage_dir }}/rpm-qa.txt': logs
399399
'{{ stage_dir }}/core': logs
400400
'{{ stage_dir }}/listen53.txt': logs
401+
'{{ stage_dir }}/services.txt': logs
401402
'{{ stage_dir }}/deprecations.log': logs
402403
'{{ stage_dir }}/audit.log': logs
403404
/etc/ceph: logs

roles/capture-system-logs/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Stage a number of different logs / reports:
99
- coredumps
1010
- dns resolver
1111
- listen53
12+
- services
1213
- unbound.log
1314
- deprecation messages
1415

roles/capture-system-logs/tasks/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
rpm -qa | sort > {{ stage_dir }}/rpm-qa.txt
2020
fi
2121
22+
# Services status
23+
sudo systemctl status --all > services.txt 2>/dev/null
24+
2225
# NOTE(kchamart) The 'audit.log' can be useful in cases when QEMU
2326
# failed to start due to denials from SELinux — useful for CentOS
2427
# and Fedora machines. For Ubuntu (which runs AppArmor), DevStack

0 commit comments

Comments
 (0)