Page MenuHomeClusterLabs Projects

Escape whitespace in node attribute output in a way that is parseable by OpenStack
Closed (Released)Public

Assigned To
Authored By
kgaillot
Mar 28 2024, 10:48 AM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

Prior to commit c6d9cea, newlines were escaped as backlash-n in both text and xml output of node attribute values by crm_attribute and attrd_updater. After that commit, they were converted to spaces. However, the openstack-info agent had some bugs that relied on the previous behavior.

The ideal behavior would be to keep the newlines in text output, and convert them to entity references in XML output. However for backward compatibility with openstack-info, the text output must continue to use backslash-n for now.

Event Timeline

kgaillot changed the task status from Open to WIP.Mar 28 2024, 10:48 AM
kgaillot triaged this task as High priority.
kgaillot created this task.
kgaillot created this object with edit policy "Restricted Project (Project)".
kgaillot added projects: Restricted Project, Restricted Project.Mar 28 2024, 10:51 AM
kgaillot moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
kgaillot changed the task status from Merged to Released.Aug 8 2024, 7:13 PM