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

fence_sbd: get devices from SBD_DEVICE env variable if devices parameter isnt set

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.6
    • fence-agents
    • fence-agents-4.10.0-88.el9
    • No
    • Low
    • rhel-ha
    • 13
    • 18
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      .The `fence_sbd` agent can automatically detect the SBD device

      Before this update, when configuring a `fence_sbd` resource, you were required to explicitly specify the SBD device path by using the `devices` parameter.

      With this update, the `fence_sbd` agent can now retrieve the device configuration from the system.

      As a result, if you do not set the `devices` parameter when creating the `fence_sbd` resource, the agent automatically uses the device specified in the `SBD_DEVICE` variable within the `/etc/sysconfig/sbd` file.
      Show
      .The `fence_sbd` agent can automatically detect the SBD device Before this update, when configuring a `fence_sbd` resource, you were required to explicitly specify the SBD device path by using the `devices` parameter. With this update, the `fence_sbd` agent can now retrieve the device configuration from the system. As a result, if you do not set the `devices` parameter when creating the `fence_sbd` resource, the agent automatically uses the device specified in the `SBD_DEVICE` variable within the `/etc/sysconfig/sbd` file.
    • Done
    • Done
    • Done
    • Not Required
    • None

      What were you trying to do that didn't work?

      Create fence_sbd device without having to manually enter the devices (already stored in /etc/sysconfig/sbd).

      What is the impact of this issue to you?

      More room for user error.

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Run "pcs stonith create sbdfence fence_sbd"

      Expected results

      Creates SBD fence device with the devices specified in /etc/sysconfig/sbd.

      Actual results

      Fails when devices-parameter is not set.

              rhn-engineering-oalbrigt Oyvind Albrigtsen
              rhn-engineering-oalbrigt Oyvind Albrigtsen
              Oyvind Albrigtsen Oyvind Albrigtsen
              Martin Juricek Martin Juricek
              Michal Stubna Michal Stubna
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: