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

Adapt pcs to recent changes in pacemaker cluster properties metadata structure

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • rhel-9.5
    • rhel-9.5
    • pcs
    • Blocker
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 23
    • 3
    • False
    • Hide

      None

      Show
      None
    • No
    • Release Note Not Required
    • The purpose of this ticket is to restore previous behavior after the changes done in pacemaker. There should be no visible impact on pcs once that's done.

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

      Reading cluster properties definition from pacemaker doesn't work. The definition format was changes recently and it doesn't fit constraints pcs puts on it. Parsing the properties metadata needs to be updated to be able to process the new metadata format.

      This affects not only working with cluster properties, but also working with stonith resources. When working with stonith resources, pacemaker-fenced metadata is being processed. Configuring utilization and acls is also affected, as pcs is trying to check whether utilization and acls is enabled, respectively.

      Please provide the package NVR for which bug is seen:

      pcs-0.11.7-1.el9

      How reproducible:

      always, easily

      Steps to reproduce

      1. Configure or list cluster properties, create or update stonith resources, configure resource utilization or ACLs.

      Expected results

      It works. Cluster properties are listed with correct 'advanced' flag and list of allowed values.

      Actual results

      Error: Agent 'pacemaker-{name}' is not installed or does not provide valid metadata: Invalid attribute advanced for element parameter, line 12

      Additional info

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

              Created:
              Updated: