HomeClusterLabs Projects

Low: pacemakerd: handle shutdown requests better

Description

Low: pacemakerd: handle shutdown requests better

Previously, "pacemakerd --shutdown" would loop forever sending CRM_OP_QUIT
IPC requests to the existing pacemakerd instance, until IPC went away
(which will never happen if the requests continually fail).

Now, it checks for (and bails on) errors, and uses a 30-minute timeout
waiting for IPC to go away after a successful request.

Details

Provenance
kgaillotAuthored on Oct 12 2020, 4:56 PM
Parents
rP66a982203a27: Low: daemons,libcrmcommon: send status code with client acks
Branches
Unknown
Tags
Unknown

Event Timeline