[ClusterLabs] SLES12 SP4: Same error logged in two different formats

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Aug 26 02:16:30 EDT 2019


While inspecting the logs to improve my own RA, I noticed that one error is logged with two different formats: With literal "\n" nd with a space:
lrmd[7278]:   notice: prm_isr_ds3_monitor_0:108007:stderr [ mkdir: cannot create directory '/run/isredir': File exists ]
crmd[7281]:   notice: h11-prm_isr_ds3_monitor_0:964 [ mkdir: cannot create directory '/run/isredir': File exists\n ]

(The RA suffers from a race condition when multiple monitors are launched in parallel, and each one tries to create the missing directory; only the first one succeeds)

The loig message in question is created automatically from a failed mkdir in the shell script.

My guess is that the trailing "\n" should be removed from the message.

As the pacemaker on the machine is a bit outdated (pacemaker-1.1.19+20180928.0d2680780-1.8.x86_64), the problem might have been fixed already.


More information about the Users mailing list