This is a clone of issue RHEL-76157 to use for version rhel-9.7
–
Original description:
What were you trying to do that didn't work?
The command "pcs resource delete" omits live cluster actions without warning when the flag "-f" is used.
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
always
Steps to reproduce
[vm-rhel72-1 ~] $ pcs resource create remote-node ocf:pacemaker:remote server="vm-rhel72-2"
[vm-rhel72-1 ~] $ pcs status | grep remote-node
RemoteOnline: [ remote-node ]
remote-node (ocf::pacemaker:remote): Started vm-rhel72-1
[vm-rhel72-1 ~] $ pcs cluster cib > cib.xml
[vm-rhel72-1 ~] $ pcs resource delete -f cib.xml remote-node
Deleting Resource - remote-node
[vm-rhel72-1 ~] $ pcs cluster cib-push cib.xml && pcs status | grep remote-node
CIB updated
RemoteOnline: [ remote-node ]
remote-node (ocf::pacemaker:remote): ORPHANED Started vm-rhel72-1
Expected results
- Warning that the disabling of the resource before the removing is skipped.
- Warning that the removing of the node is skipped.
Actual results
- No warnings.
- clones
-
RHEL-76157 'pcs resource delete' command omits live cluster actions without warning when the flag '-f' is specified [rhel-10]
-
- Planning
-