[ClusterLabs] Bug in crm shell regarding "resource refresh" completion

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Mar 20 04:28:20 EDT 2020


I just discovered this bug in crm shell crmsh-4.1.0+git.1578469492.493d5d62-2.19.1.noarch of SLES12 SP4:

When enetering "crm resource", I get the "crm(live/n2)resource#" prompt.
Then, tyring to complete the parameter for the refresh command, I get the list of cluster nodes.
Running such a command, I get:
Resource 'n2' not found
Error performing operation: No such device or address

This is because the refresh command expects a resource, not a node, like this:
crm(live/n2)resource# refresh prm_dnat_dns_v05_nm2
Cleaned up prm_dnat_dns_v05_nm2 on n2
Cleaned up prm_dnat_dns_v05_nm2 on n1
Waiting for 2 replies from the CRMd.. OK


More information about the Users mailing list