Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-76157

'pcs resource delete' command omits live cluster actions without warning when the flag '-f' is specified [rhel-10]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.1
    • rhel-10.0
    • pcs
    • None
    • No
    • Moderate
    • rhel-sst-high-availability
    • 17
    • 23
    • 0
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Bug Fix
    • Hide
      Cause:
      Consequence:
      Fix:
      Result:
      Show
      Cause: Consequence: Fix: Result:
    • Proposed
    • None

      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.

              tojeline@redhat.com Tomas Jelinek
              tojeline@redhat.com Tomas Jelinek
              Tomas Jelinek Tomas Jelinek
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: