Description of problem:
While upgrading from 13 to 14 when my node upgrade failed , I got the error message to check the logs from the "ERROR openstack [-] Update failed with: Ansible failed, check log at /var/lib/mistral/a4e50beb-002d-4eab-b34f-2bc9b692c8fe/ansible.log.: RuntimeError: Update failed with: Ansible failed, check log at /var/lib/mistral/a4e50beb-002d-4eab-b34f-2bc9b692c8fe/ansible.log" while there is no ansible.log file present in this directory.
Version-Release number of selected component (if applicable):13->14
How reproducible:
100%
Steps to Reproduce:
1.do the node_update_failed
2.check the error log location mentioned in error message
Actual results:
There should be ansible.log file for troubleshooting the error
Expected results:
No ansible.log file present in the path mentioned in error message
Additional info:
The fix suppose to be easy like updatein below location yaml file"/usr/share/tripleo-common/workbooks/package_update.yaml":
[Line 166-170]
node_update_failed:
on-success: send_message
publish:
status: FAILED
message: Ansible failed, check log at <% $.get('work_dir') %>/<% execution().id %>/ansible.log.
which needs to be corrected:
node_update_failed:
on-success: send_message
publish:
status: FAILED
message: Ansible failed, check log at "/var/log/containers/mistral/package_update.log" or something similar to that.
Impact: Help our customer to point to right direction for checking the logs and definitely help us in getting few calls!
Thanks
Description of problem: While upgrading from 13 to 14 when my node upgrade failed , I got the error message to check the logs from the "ERROR openstack [-] Update failed with: Ansible failed, check log at /var/lib/mistral/a4e50beb-002d-4eab-b34f-2bc9b692c8fe/ansible.log.: RuntimeError: Update failed with: Ansible failed, check log at /var/lib/mistral/a4e50beb-002d-4eab-b34f-2bc9b692c8fe/ansible.log" while there is no ansible.log file present in this directory. Version-Release number of selected component (if applicable):13->14 How reproducible: 100% Steps to Reproduce: 1.do the node_update_failed 2.check the error log location mentioned in error message Actual results: There should be ansible.log file for troubleshooting the error Expected results: No ansible.log file present in the path mentioned in error message Additional info: The fix suppose to be easy like updatein below location yaml file"/usr/share/tripleo-common/workbooks/package_update.yaml": [Line 166-170] node_update_failed: on-success: send_message publish: status: FAILED message: Ansible failed, check log at <% $.get('work_dir') %>/<% execution().id %>/ansible.log. which needs to be corrected: node_update_failed: on-success: send_message publish: status: FAILED message: Ansible failed, check log at "/var/log/containers/mistral/package_update.log" or something similar to that. Impact: Help our customer to point to right direction for checking the logs and definitely help us in getting few calls! Thanks