HomeClusterLabs Projects

Fix: pengine: properly cancel recurring monitors

Description

Fix: pengine: properly cancel recurring monitors

Previously, RecurringOp() and RecurringOp_Stopped() would create a cancel op,
and set the action interval meta-attribute to the configured interval
specification. However, it is interpreted as milliseconds.

This refactors a new pe_cancel_op() function to reduce code duplication across
those functions and CancelXmlOp(), and fix the issue.

Details

Provenance
kgaillotAuthored on Mar 7 2018, 4:40 PM
Parents
rP2780a27c8f7c: Log: pengine: improve recurring operation messages
Branches
Unknown
Tags
Unknown

Event Timeline