tripleo-ansible ceph roles badly inherrit ansible environment variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
John Fulton |
Bug Description
Executions of ceph-related nested ansible in tripleo-ansible can result in unwanted newlines which break command parsing.
For example at point "2020-02-17 05:27:24" in a patche's log [1] the command made by [2] looks like it's getting additional new lines added which breaks the interpolation of the command. At least it looks like an extra newline problem to me because I see additional date entries in the log where I should only see one:
2020-02-17 05:27:24 | cmd: (blah blah blah)
2020-02-17 05:27:24 | ANSIBLE_
2020-02-17 05:27:24 | ANSIBLE_
I think (from lines 24/25 of [1]) that the following variables contain new lines:
- "{{ calling_
- "{{ ceph_ansible_
Most likely the calling_
Either we require these vars to not contain new lines or we modify lines 24/25 to go from this:
- "{{ calling_
to something like this:
- "{{ calling_
tags: | added: alert |
Changed in tripleo: | |
importance: | Medium → Critical |
Fix proposed to branch: master /review. opendev. org/708252
Review: https:/