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

[RFE] warn that setting stonith-enabled cluster property to false has negative impact

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.2
    • rhel-10.0
    • pcs
    • Moderate
    • FutureFeature
    • rhel-ha
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Enhancement
    • Hide
      .Warning added when disabling cluster fencing

      Previously, users could disable the cluster's fencing mechanism by setting the cluster property `stonith-enabled` to false without receiving any warning. This could inadvertently leave the cluster in an unsupported and unsafe state.

      With this enhancement, a safety check has been added to the cluster management utility.

      As a result, when you attempt to disable fencing using `stonith-enabled=false`, a warning message is displayed, informing you that the cluster's fencing mechanism will be lost.
      Show
      .Warning added when disabling cluster fencing Previously, users could disable the cluster's fencing mechanism by setting the cluster property `stonith-enabled` to false without receiving any warning. This could inadvertently leave the cluster in an unsupported and unsafe state. With this enhancement, a safety check has been added to the cluster management utility. As a result, when you attempt to disable fencing using `stonith-enabled=false`, a warning message is displayed, informing you that the cluster's fencing mechanism will be lost.
    • In Progress
    • Required
    • Required
    • Not Required
    • None

      Goal

      As a user, I want to be warned when my actions can lead to a cluster with no fencing. Some cases were covered by RHEL-66607. This Jira is about covering the case when stonith-enabled cluster property is being set to false.

      Acceptance criteria

      • When setting stonith-enabled cluster property to false, pcs CLI does not proceed and ends up with an error
      • The error can be overriden, in which case pcs sets the property
      • When setting stonith-enabled cluster property to false, pcs web UI does not proceed and ends up with an error
      • The error can be overriden, in which case pcs sets the property

      Note - fencing-enabled

      • Pacemaker recently renamed stonith-enabled cluster property to fencing-enabled, while keeping stonith-enabled functional (even though deprecated). Behavior described in acceptance criteria should cover both the new property and the legacy one.

      This ticket also includes removing warning of `pcs status`:
      `No stonith devices and stonith-enabled is not false`

              mpospisi@redhat.com Michal Pospisil
              tojeline@redhat.com Tomas Jelinek
              Ivan Devát Ivan Devát
              Cluster QE Cluster QE
              Michal Stubna Michal Stubna
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: