HomeClusterLabs Projects

Low: tools: Dry-run crm_resource --fail if CIB_file is set

Description

Low: tools: Dry-run crm_resource --fail if CIB_file is set

We're already doing this for --cleanup and --refresh.

If CIB_file is set, our CIB connection will be to the file instead of to
the live CIB. It's nonsensical or dangerous to try to connect to the
controller and fail a resource that we found in a CIB file. So I
consider the existing behavior a bug.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Fri, Mar 7, 6:05 AM
Parents
rP315369233277: Refactor: tools: Defunctionize build_node_info_list()
Branches
Unknown
Tags
Unknown