Comment 1 for bug 1654003

Revision history for this message
Harry Rybacki (hrybacki-h) wrote :

Initial assessment shows that this started happening around 17-Dec-2016[1].

Reviewing output from the collect-logs role we can see the problem is relates to the path where bash templates exist:

failed: [localhost] (item=overcloud-validate) => {"changed": true, "cmd": "awk -f \"/home/<snip>/usr/local/share/ansible/roles/collect-logs/scripts/doc_extrapolation.awk\" \"/home/<snip>/collected_files/undercloud/home/rhos-ci/overcloud-validate.sh\" > \"/home/<snip>/usr/local/share/ansible/roles/collect-logs/docs/source/overcloud-validate.rst\"", "delta": "0:00:00.003720", "end": "2017-01-04 13:09:12.095890", "failed": true, "item": "overcloud-validate", "rc": 2, "start": "2017-01-04 13:09:12.092170", "stderr": "awk: fatal: cannot open file `/home/rhos-ci/<snip>/tripleo-quickstart/collected_files/undercloud/home/rhos-ci/overcloud-validate.sh' for reading (No such file or directory)", "stdout": "", "stdout_lines": [], "warnings": []}

Crosschecking the date quickly lead to the root review that is causing this[2]. We removed the hardcoded `stack` user in a attempt to make the role more flexible but missed this regression. Assigned myself to work on solution.

[1] - https://ci.centos.org/artifacts/rdo/jenkins-tripleo-quickstart-periodic-newton-delorean-full-deploy-minimal-104/docs/build/
[2] - https://review.openstack.org/#/c/404800/