pcs resource create fails with "Error: 'RSC' is not a group"
Issue
- A resource is deleted while a node is in standby mode or offline. Then
pcs resource create
fails to create a new resource as a member of a new group with the same name as the deleted resource.
[root@fastvm-rhel-8-0-23 pcs]# pcs cluster status
...
Node List:
* Node node1: standby
* Online: [ node2 ]
[root@fastvm-rhel-8-0-23 pcs]# pcs resource create dummy ocf:heartbeat:Dummy
[root@fastvm-rhel-8-0-23 pcs]# pcs resource delete dummy
Attempting to stop: dummy... Stopped
[root@fastvm-rhel-8-0-23 pcs]# pcs resource create my_rsc ocf:heartbeat:Dummy --group dummy
Error: 'dummy' is not a group
Environment
- Red Hat Enterprise Linux 7 (with the High Availability Add-on)
- Red Hat Enterprise Linux 8 (with the High Availability Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.