Skip to content

Commit 9505cd5

Browse files
committed
[DNM] Debugging
1 parent ba7bb2a commit 9505cd5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tasks/runtime.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,35 @@
105105
changed_when: false # so molecule doesn't fail
106106
become: no
107107

108+
- name: Fix permissions on /etc for Munge service
109+
command: chmod g-w /etc
110+
become: true
111+
108112
- name: Ensure Munge service is running
109113
service:
110114
name: munge
111115
state: "{{ 'restarted' if _openhpc_munge_key_copy.changed else 'started' }}"
112116
when: openhpc_slurm_service_started | bool
117+
ignore_errors: true
118+
119+
- name: Run systemctl status munge.service
120+
command: systemctl status munge.service
121+
register: munge_systemctl
122+
123+
- name: Display output of systemctl status munge.service
124+
debug:
125+
var: munge_systemctl.stdout
126+
127+
- name: Run journalctl -xeu munge.service
128+
command: journalctl -xeu munge.service
129+
register: munge_journalctl
130+
131+
- name: Display output of journalctl -xeu munge.service
132+
debug:
133+
var: munge_journalctl.stdout
134+
135+
- name: Stop for debug
136+
fail:
113137

114138
- name: Check slurmdbd state
115139
command: systemctl is-active slurmdbd # noqa: command-instead-of-module

0 commit comments

Comments
 (0)