Page MenuHomeClusterLabs Projects

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

Assigned To
Authored By
kgaillot
Thu, Mar 28, 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.Thu, Mar 28, 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.Thu, Mar 28, 10:51 AM
kgaillot moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.