[ClusterLabs] Redundant entries in log

Jean-Baptiste Skutnik jskutnik at ddn.com
Wed Nov 29 05:05:51 EST 2023


Hello all,

I am managing a cluster using pacemaker for high availability. I am parsing the logs for relevant information on the cluster health and the logs are full of the following:

```
Nov 29 09:17:41 esvm2 pacemaker-controld[2893]:  notice: State transition S_IDLE -> S_POLICY_ENGINE
Nov 29 09:17:41 esvm2 pacemaker-schedulerd[2892]:  notice: Calculated transition 8629, saving inputs in /var/lib/pacemaker/pengine/pe-input-250.bz2
Nov 29 09:17:41 esvm2 pacemaker-controld[2893]:  notice: Transition 8629 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-250.bz2): Complete
Nov 29 09:17:41 esvm2 pacemaker-controld[2893]:  notice: State transition S_TRANSITION_ENGINE -> S_IDLE
Nov 29 09:18:41 esvm2 pacemaker-controld[2893]:  notice: State transition S_IDLE -> S_POLICY_ENGINE
Nov 29 09:18:41 esvm2 pacemaker-schedulerd[2892]:  notice: Calculated transition 8630, saving inputs in /var/lib/pacemaker/pengine/pe-input-250.bz2
Nov 29 09:18:41 esvm2 pacemaker-controld[2893]:  notice: Transition 8630 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-250.bz2): Complete
Nov 29 09:18:41 esvm2 pacemaker-controld[2893]:  notice: State transition S_TRANSITION_ENGINE -> S_IDLE
Nov 29 09:19:41 esvm2 pacemaker-controld[2893]:  notice: State transition S_IDLE -> S_POLICY_ENGINE
Nov 29 09:19:41 esvm2 pacemaker-schedulerd[2892]:  notice: Calculated transition 8631, saving inputs in /var/lib/pacemaker/pengine/pe-input-250.bz2
Nov 29 09:19:41 esvm2 pacemaker-controld[2893]:  notice: Transition 8631 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-250.bz2): Complete
Nov 29 09:19:41 esvm2 pacemaker-controld[2893]:  notice: State transition
...
```

The transition IDs seem to differ however the file containing the transition data stays the same, implying that the transition does not affect the cluster. (/var/lib/pacemaker/pengine/pe-input-250.bz2)

I noticed the option to restrict the logging to higher levels however some valuable information is logged under the `notice` level and I would like to keep it in the logs.

Please let me know if I am doing something wrong or if there is a way to turn off these messages.

Thanks,

Jean-Baptiste Skutnik


More information about the Users mailing list