HomeClusterLabs Projects

Fix: scheduler: properly compute digest of non-sensitive resource parameters

Description

Fix: scheduler: properly compute digest of non-sensitive resource parameters

The controller records op-secure-digest as a hash of all resource parameters
(specifically, those listed in the resource agent's meta-data) except those
marked as private.

Previously, the scheduler compared that against a digest of *all* parameters
(including meta-attributes, etc.) after filtering private parameters and
running pcmk__filter_op_for_digest(). The latter usually made the hash
identical to the controller's, but not always. Now, it only digests resource
instance attributes.

Details

Provenance
kgaillotAuthored on Sep 16 2020, 7:41 PM
Parents
rP6d0b9b102383: Refactor: controller: simplify default handling for private agent parameters
Branches
Unknown
Tags
Unknown