crm_* commands output should be (null) escaped in OCF scripts
Bug #1415021 reported by
Bogdan Dobrelya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Bogdan Dobrelya |
Bug Description
With Corosync 2 and Pacemaker 1.1.12, crm_node, crm_attribute and other commands may return (null) strings sometimes. Exact circumstances are unknown.
Example:
crm_node --list
2 (null)
1 node-1.
3 (null)
But OCF scripts are expecting instead:
crm_node --list
1 node-1.
A workaround is to escape (null) strings with sed -e '/(null)/d'. A complete solution is unknown as well as a root cause.
Changed in fuel: | |
milestone: | none → 6.1 |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/150395
Review: https:/