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

pgsqlms: improvements and fixes

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.1
    • resource-agents
    • None
    • No
    • Low
    • rhel-ha
    • 13
    • 26
    • 8
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Create resource with `pcs resource create`, which prints error:

      Warning: Validating resource options using the resource agent itself is enabled by default and produces warnings. In a future version, this might be changed to errors. Specify --agent-validation to switch to the future behavior.
      Warning: Validation result from agent:
        ocf-exit-reason:You must set meta parameter notify=true for your "master" resource

       

      Check that the agent will be working correctly when non-promotable variables are removed in future Pacemaker versions.

       

      Also added fixes/improvements to avoid failing if database or postgresql is missing during probe-action, and to support future promotable-only versions of Pacemaker.

      What is the impact of this issue to you?

      The agent prints error even when notify is set to true.

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

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. pcs resource create --future pgsqld ocf:heartbeat:pgsqlms bindir=/usr/bin pgdata=/var/lib/pgsql/data promotable meta notify=true promoted-max=1

      Expected results

      Doesnt print error.

      Actual results

      Prints error.

              rhn-engineering-oalbrigt Oyvind Albrigtsen
              rhn-engineering-oalbrigt Oyvind Albrigtsen
              Oyvind Albrigtsen Oyvind Albrigtsen
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: