From time to time users run into an issue that they want to rename a resource (group, clone) and there is no pcs command for it.
This command would need to modify all references to the renamed resources as well.
Also we should consider stopping the resource before renaming and starting it afterwards. From pacemaker point of view a simple rename in CIB means the original resource was deleted and another one was created. That creates orphaned resources.
Maybe it makes sense for some other ids (eg. acl).
Another upstream requests for this feature:
(In reply to Tomas Jelinek from comment #0)
> Also we should consider stopping the resource before renaming and starting
> it afterwards. From pacemaker point of view a simple rename in CIB means the
> original resource was deleted and another one was created. That creates
> orphaned resources.
Better idea: allow renaming only stopped resources. Stopping a resource can take a long time (even hours for databases) and there is a risk of timeout or other failures. Renaming running resources could be allowed with --force.
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.