HomeClusterLabs Projects

Low: fencer: always add device ID to level removal notification

Description

Low: fencer: always add device ID to level removal notification

When a topology level removal request comes into the fencer,
handle_level_delete_request() processes it and sends a notification with the
result.

The notification also includes a level description based on the request, but
the description was not created for every possible error case. It was only set
if fenced_unregister_level() was called, not for unprivileged requests, and
wasn't even set by that function on early errors.

Now, handle_level_delete_request() creates the description for the unprivileged
case.

Details

Provenance
kgaillotAuthored on Mar 8 2022, 6:05 PM
Parents
rP103b0a9227ce: Low: fencer: always add device ID to level addition notification
Branches
Unknown
Tags
Unknown