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
    • None
    • Important
    • rhel-sst-high-availability
    • ssg_filesystems_storage_and_HA
    • 13
    • 26
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux, Red Hat OpenStack Services on OpenShift (formerly Red Hat OpenStack Platform)
    • None
    • All
    • None

      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.)

              rh-ee-jrehova Jana Rehova
              kgaillot@redhat.com Kenneth Gaillot
              Kenneth Gaillot Kenneth Gaillot
              Jana Rehova Jana Rehova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: