Skip to content

Commit 6c8df7b

Browse files
committed
[DNM] Debugging
1 parent ba7bb2a commit 6c8df7b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tasks/runtime.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,34 @@
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+
108111
- name: Ensure Munge service is running
109112
service:
110113
name: munge
111114
state: "{{ 'restarted' if _openhpc_munge_key_copy.changed else 'started' }}"
112115
when: openhpc_slurm_service_started | bool
116+
ignore_errors: true
117+
118+
- name: Run systemctl status munge.service
119+
command: systemctl status munge.service
120+
register: munge_systemctl
121+
122+
- name: Display output of systemctl status munge.service
123+
debug:
124+
var: munge_systemctl.stdout
125+
126+
- name: Run journalctl -xeu munge.service
127+
command: journalctl -xeu munge.service
128+
register: munge_journalctl
129+
130+
- name: Display output of journalctl -xeu munge.service
131+
debug:
132+
var: munge_journalctl.stdout
133+
134+
- name: Stop for debug
135+
fail:
113136

114137
- name: Check slurmdbd state
115138
command: systemctl is-active slurmdbd # noqa: command-instead-of-module

0 commit comments

Comments
 (0)