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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.7
    • rhel-9.0.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

      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.

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

                Created:
                Updated: