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

Escape whitespace in node attribute output in a way that is parseable by OpenStack

    • pacemaker-2.1.8-1.el9
    • Major
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 19
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux, Red Hat OpenStack Platform
    • All

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

      With the latest upstream Pacemaker (expected to land in RHEL 9.5), the openstack-info resource agent can no longer parse node attribute output because the escaping of whitespace changed.

      Please provide the package NVR for which bug is seen: upstream commit  c6d9cea

      How reproducible: easy

      Steps to reproduce

      1. Configure and start a Pacemaker cluster.
      2. Set a node attribute with a multi-line value.
      3. Query the node attribute (in both the default text output format and with --output-as=xml).

      Expected results

      Newlines in an attribute value are escaped as backlash-n in text output, and as an entity reference in XML output.

      Actual results

      Newlines are displayed as spaces in both text and xml output. (In RHEL 9.4 and earlier, newlines were escaped as backlash-n in both text and xml output.)

            cluster-qe Cluster QE
            kgaillot@redhat.com Kenneth Gaillot
            Kenneth Gaillot Kenneth Gaillot
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: